/* 卡位下单容器 */
.position-container {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 40px;
  max-width: 800px;
  margin: 50px auto 0;
  box-shadow: var(--shadow);
}

/* 进度条轨道 */
.position-track {
  position: relative;
  height: 12px;
  background-color: #f0f0f0;
  border-radius: 6px;
  margin-bottom: 70px;
  cursor: pointer;
}

/* 动态进度（橙色填充） */
.position-progress {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #ff8533);
  border-radius: 6px;
  width: 55%; /* 默认进度55% */
  transition: width 0.3s ease;
}

/* 卡位标记（A-E区） */
.position-marker {
  position: absolute;
  top: -18px;
  transform: translateX(-50%);
  padding: 6px 15px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  border: 2px solid transparent;
}

/* 卡位标记 hover 效果 */
.position-marker:hover {
  background-color: var(--primary-color);
  border-color: var(--text-light);
}

/* 选中状态的卡位标记 */
.position-marker.active {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: #fff;
  transform: translateX(-50%) scale(1.1);
}

/* 位置信息展示 */
.position-info {
  text-align: center;
  padding: 25px;
  border: 2px dashed #eee;
  border-radius: 10px;
  margin-bottom: 30px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.position-info p {
  font-size: 18px;
  color: var(--secondary-color);
  font-weight: 500;
}

.position-info strong {
  color: var(--primary-color);
}

/* 确认按钮禁用状态 */
#confirmPosition:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* 一键回顶部小火箭 */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 55px;
  height: 55px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(255, 103, 0, 0.3);
}

/* 小火箭显示状态 */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* 小火箭 hover 动画 */
.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
  animation: bounce 0.6s infinite alternate;
}

/* 弹跳动画 */
@keyframes bounce {
  from { transform: translateY(-5px); }
  to { transform: translateY(5px); }
}