/* 全局样式重置和变量 */
:root {
  --primary-color: #2873F0;      /* 主色调：蓝色 */
  --secondary-color: #4CAF50;    /* 次要色调：绿色 */
  --accent-color: #FFD700;       /* 亮点色调：金色 */
  --text-color: #333333;         /* 主文本颜色 */
  --light-text: #777777;         /* 次要文本颜色 */
  --bg-color: #F5F7FA;           /* 背景色 */
  --card-bg: #FFFFFF;            /* 卡片背景色 */
  --border-radius: 12px;         /* 圆角半径 */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);  /* 阴影 */
  --transition: all 0.3s ease-in-out;     /* 过渡动画 */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--bg-color);
}

/* 容器样式 */
.container {
  width: 100%;
  max-width: 600px;
  padding: 20px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* 标题样式 */
.header {
  background: linear-gradient(135deg, var(--primary-color), #1a56c5);
  color: white;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.logo {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.subtitle {
  font-size: 14px;
  opacity: 0.9;
  letter-spacing: 0.3px;
}

/* 信息区块样式 */
.info-section {
  background-color: var(--card-bg);
  margin: 15px 0;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.info-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.info-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--primary-color);
}

/* 价格容器 */
.price-container {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
  gap: 16px;
}

.price-item {
  text-align: center;
  padding: 16px;
  border-radius: var(--border-radius);
  flex: 1;
  border: 1px solid #f0f0f0;
  transition: var(--transition);
}

.price-item:hover {
  transform: translateY(-2px);
}

.price-item.highlight {
  background-color: rgba(76, 175, 80, 0.05);
  border: 1px solid rgba(76, 175, 80, 0.2);
  position: relative;
}

.price {
  font-size: 26px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.duration {
  font-size: 14px;
  color: var(--light-text);
}

.save-tag {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #FF5252;
  color: white;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 机器信息样式 */
.machine-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.machine-info p {
  margin-bottom: 8px;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.machine-info p:before {
  content: "•";
  color: var(--primary-color);
  font-size: 18px;
  position: absolute;
  left: 0;
  top: -1px;
}

/* 操作区域样式 */
.action-section {
  padding: 15px 0;
  margin-bottom: 30px;
}

.primary-btn {
  background: linear-gradient(to right, var(--primary-color), #1a56c5);
  color: white;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(40, 115, 240, 0.2);
}

.primary-btn:hover {
  background: linear-gradient(to right, #1a56c5, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(40, 115, 240, 0.3);
}

.primary-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(40, 115, 240, 0.3);
}

.secondary-btn {
  background-color: #f0f0f0;
  color: var(--text-color);
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.secondary-btn:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
}

.secondary-btn:active {
  transform: translateY(0);
}

/* 预约区域样式 */
.booking-section {
  background-color: var(--card-bg);
  margin: 15px 0;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.booking-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.booking-type-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.booking-type {
  flex: 1;
  border: 1px solid #f0f0f0;
  border-radius: var(--border-radius);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.booking-type:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.booking-type.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
  background-color: rgba(40, 115, 240, 0.03);
}

.booking-type.active:before {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: bold;
  background-color: rgba(40, 115, 240, 0.1);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.type-name {
  font-weight: 500;
  margin-bottom: 8px;
}

.type-price {
  font-size: 16px;
  color: var(--secondary-color);
  font-weight: 600;
}

.type-save {
  margin-top: 8px;
  background-color: rgba(255, 82, 82, 0.1);
  color: #FF5252;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  display: inline-block;
  font-weight: 500;
}

/* 日期选择区域 */
.date-selection {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.date-item {
  flex: 1;
  border: 1px solid #f0f0f0;
  border-radius: var(--border-radius);
  padding: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.date-item:hover {
  border-color: var(--primary-color);
  background-color: rgba(40, 115, 240, 0.03);
}

.date-label {
  font-size: 13px;
  color: var(--light-text);
  margin-bottom: 5px;
}

.date-value {
  font-size: 15px;
  font-weight: 500;
}

.date-value.placeholder {
  color: #bbbbbb;
}

/* 用户信息表单 */
.user-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-size: 13px;
  color: var(--light-text);
}

.input-field {
  border: 1px solid #f0f0f0;
  border-radius: var(--border-radius);
  padding: 12px;
  font-size: 15px;
  transition: var(--transition);
  width: 100%;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(40, 115, 240, 0.1);
}

.input-field::placeholder {
  color: #bbbbbb;
}

/* 价格总结 */
.price-summary {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 20px;
  margin: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}

.summary-label {
  font-size: 16px;
  font-weight: 500;
}

.summary-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color);
}

/* 日期选择器 */
.date-picker-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-picker-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

.date-picker-content {
  position: relative;
  background-color: var(--card-bg);
  width: 90%;
  max-width: 420px;
  border-radius: var(--border-radius);
  overflow: hidden;
  padding: 20px;
  z-index: 101;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.date-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.date-picker-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}

.date-picker-close {
  font-size: 24px;
  cursor: pointer;
  color: var(--light-text);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.date-picker-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-color);
}

.date-picker-month {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

/* 月份导航 */
.month-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.month-nav-btn {
  background: #f5f7fa;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--primary-color);
  font-size: 12px;
}

.month-nav-btn:hover {
  background: var(--primary-color);
  color: white;
}

.current-month-display {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  background-color: rgba(40, 115, 240, 0.08);
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-picker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.weekday {
  text-align: center;
  font-size: 13px;
  color: var(--light-text);
  padding: 8px 0;
}

.date-picker-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.calendar-day {
  position: relative;
  text-align: center;
  padding: 6px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

/* 日历日期元素样式 */
.day-number {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
}

.day-weekday {
  font-size: 12px;
  color: var(--light-text);
  margin-bottom: 5px;
}

.day-status {
  font-size: 10px;
  color: var(--secondary-color);
  background-color: rgba(76, 175, 80, 0.1);
  padding: 2px 6px;
  border-radius: 10px;
  line-height: 1.2;
}

.day-full-date {
  display: none;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.2s ease;
  pointer-events: none;
}

/* 日期状态样式 */
.calendar-day:hover .day-full-date {
  opacity: 1;
  bottom: -18px;
}

.calendar-day.available:hover {
  background-color: rgba(40, 115, 240, 0.1);
}

.calendar-day.selected,
.calendar-day.selected-start,
.calendar-day.selected-end {
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(40, 115, 240, 0.2);
}

.calendar-day.selected .day-weekday,
.calendar-day.selected .day-status,
.calendar-day.selected-start .day-weekday,
.calendar-day.selected-start .day-status,
.calendar-day.selected-end .day-weekday,
.calendar-day.selected-end .day-status {
  color: white;
}

.calendar-day.selected .day-status,
.calendar-day.selected-start .day-status,
.calendar-day.selected-end .day-status {
  background-color: rgba(255, 255, 255, 0.2);
}

.calendar-day.unavailable {
  color: #dddddd;
  cursor: not-allowed;
}

.calendar-day.unavailable .day-status {
  background-color: rgba(0, 0, 0, 0.05);
  color: #bbbbbb;
  text-decoration: line-through;
}

.calendar-day.unavailable .day-weekday {
  color: #dddddd;
}

.calendar-day.empty {
  cursor: default;
}

/* 日期高亮 - 今天 */
.calendar-day.today {
  border: 2px solid var(--secondary-color);
  position: relative;
}

.calendar-day.today:after {
  content: "今天";
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--secondary-color);
  color: white;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 8px;
  line-height: 1;
}

/* 日历空状态和错误状态 */
.calendar-empty-message,
.calendar-error-message {
  grid-column: span 7;
  padding: 30px 15px;
  text-align: center;
  color: var(--light-text);
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: var(--border-radius);
  font-size: 14px;
}

.calendar-error-message {
  color: #FF5252;
  background-color: rgba(255, 82, 82, 0.05);
}

/* 加载状态和错误提示 */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin: 15px 0;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(40, 115, 240, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  border-left-color: var(--primary-color);
  animation: spinner-animation 1.2s linear infinite;
  margin-bottom: 20px;
  position: relative;
}

.loading-spinner:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

@keyframes spinner-animation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  color: var(--text-color);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
}

.loading-subtext {
  color: var(--light-text);
  font-size: 14px;
}

.error-message {
  background-color: rgba(255, 82, 82, 0.1);
  color: #FF5252;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  margin: 15px 0;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.error-message:before {
  content: "!";
  background-color: #FF5252;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-weight: bold;
}

/* 确认页面样式 */
.booking-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--light-text);
}

.detail-value {
  font-weight: 500;
}

.notice-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice-content p {
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}

.notice-content p:before {
  content: "•";
  color: var(--primary-color);
  font-size: 18px;
  position: absolute;
  left: 0;
  top: -1px;
}

/* 管理员页面样式 */
.booking-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.booking-item {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.booking-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background-color: rgba(40, 115, 240, 0.03);
  border-bottom: 1px solid #f5f5f5;
}

.booking-type {
  font-weight: 600;
  color: var(--primary-color);
}

.booking-price {
  font-weight: 600;
  color: var(--secondary-color);
}

.booking-dates {
  padding: 12px 15px;
  border-bottom: 1px solid #f5f5f5;
}

.date-range {
  color: var(--text-color);
  font-weight: 500;
}

.booking-user {
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.user-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-name {
  font-weight: 500;
}

.user-wechat {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--light-text);
}

.copy-btn {
  background-color: transparent;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.booking-time {
  font-size: 12px;
  color: var(--light-text);
}

.booking-actions {
  padding: 12px 15px;
  border-top: 1px solid #f5f5f5;
  text-align: right;
}

.cancel-booking-btn {
  background-color: transparent;
  border: 1px solid #FF5252;
  color: #FF5252;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.cancel-booking-btn:hover {
  background-color: #FF5252;
  color: white;
}

/* 密码验证弹窗 */
.password-modal, .cancel-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(3px);
}

.password-content, .cancel-content {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 20px;
  width: 90%;
  max-width: 360px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-out;
}

.password-title, .cancel-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.password-input-container {
  margin-bottom: 20px;
}

.password-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #f0f0f0;
  border-radius: var(--border-radius);
  font-size: 15px;
  transition: var(--transition);
}

.password-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(40, 115, 240, 0.1);
}

.password-actions, .cancel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cancel-btn {
  background-color: transparent;
  border: 1px solid #f0f0f0;
  color: var(--light-text);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.cancel-btn:hover {
  background-color: #f5f5f5;
}

.confirm-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.confirm-btn:hover {
  background-color: #1a56c5;
}

.cancel-message {
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--text-color);
}

/* 空状态 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.empty-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  opacity: 0.6;
}

.empty-text {
  color: var(--light-text);
  font-size: 16px;
}

/* 响应式调整 */
@media (max-width: 480px) {
  .container {
    padding: 15px;
  }
  
  .header {
    padding: 20px 15px;
  }
  
  .title {
    font-size: 22px;
  }
  
  .price-container {
    flex-direction: column;
  }
  
  .booking-type-container {
    flex-direction: column;
  }
  
  .date-selection {
    flex-direction: column;
  }
  
  .date-picker-content {
    width: 95%;
    max-width: 360px;
    padding: 15px;
  }
  
  .calendar-day {
    height: 55px;
  }
  
  .day-number {
    font-size: 16px;
  }
  
  .date-picker-weekdays {
    gap: 6px;
  }
  
  .date-picker-calendar {
    gap: 6px;
  }
}

/* 使用流程步骤样式 */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 5px 0;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(40, 115, 240, 0.2);
}

.step-content {
  flex: 1;
}

.step-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-color);
}

.step-desc {
  color: var(--light-text);
  font-size: 13px;
}

/* 返回按钮 */
.nav-back {
  position: absolute;
  left: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.nav-back:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* 预约进度指示器 */
.booking-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  padding: 0 10px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  color: var(--light-text);
  font-weight: 600;
  margin-bottom: 8px;
  transition: var(--transition);
}

.progress-step.active .step-number {
  border-color: var(--primary-color);
  background-color: #e6f0ff;
  color: var(--primary-color);
}

.progress-step.completed .step-number {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: white;
}

.step-label {
  font-size: 12px;
  color: var(--light-text);
  text-align: center;
  transition: var(--transition);
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
  color: var(--primary-color);
  font-weight: 500;
}

.progress-line {
  flex: 1;
  height: 2px;
  background-color: #e0e0e0;
  position: relative;
  z-index: 0;
  transition: var(--transition);
}

.progress-line.completed {
  background-color: var(--primary-color);
}

/* 预约类型修改 */
.booking-type {
  display: flex;
  align-items: center;
  gap: 15px;
}

.type-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(40, 115, 240, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18px;
  transition: var(--transition);
}

.booking-type:hover .type-icon {
  transform: scale(1.05);
}

.booking-type.active .type-icon {
  background-color: var(--primary-color);
  color: white;
}

.type-info {
  flex: 1;
}

/* 输入框容器和图标 */
.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-text);
  font-size: 16px;
}

.input-field {
  padding-left: 40px;
}

/* 禁用状态 */
.date-item.disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background-color: rgba(0, 0, 0, 0.02);
}

button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  background: linear-gradient(to right, #a0a0a0, #c0c0c0);
  box-shadow: none;
}

button[disabled]:hover {
  transform: none;
  box-shadow: none;
}

/* 日期选择器图例 */
.date-picker-footer {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.date-legend {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 5px 0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-color.available {
  background-color: rgba(40, 115, 240, 0.1);
  border: 1px solid #e6f0ff;
}

.legend-color.unavailable {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
}

.legend-color.selected {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.legend-text {
  font-size: 12px;
  color: var(--light-text);
}

/* 成功动画区域 */
.success-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 15px rgba(76, 175, 80, 0.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

.success-message {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
}

/* 预约详情高亮项 */
.detail-item.highlight {
  background-color: rgba(40, 115, 240, 0.03);
  border-radius: 8px;
  padding: 10px;
  margin: 5px 0;
}

.price-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-color);
}

/* 二维码区域 */
.qr-section {
  text-align: center;
  margin: 30px 0;
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.qr-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.qr-image {
  margin: 15px auto;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
}

.qr-description {
  font-size: 13px;
  color: var(--light-text);
}

/* 管理员工具栏 */
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  gap: 10px;
}

.search-container {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-text);
}

.search-input {
  width: 100%;
  padding: 10px 10px 10px 35px;
  border-radius: var(--border-radius);
  border: 1px solid #f0f0f0;
  font-size: 14px;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(40, 115, 240, 0.1);
}

.filter-container {
  width: 120px;
}

.filter-select {
  width: 100%;
  padding: 10px;
  border-radius: var(--border-radius);
  border: 1px solid #f0f0f0;
  font-size: 14px;
  background-color: white;
  transition: var(--transition);
  cursor: pointer;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.booking-count {
  font-size: 14px;
  color: var(--light-text);
  margin-bottom: 10px;
}

/* 预约状态徽章 */
.status-badge {
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--secondary-color);
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 500;
}

/* 管理员登录界面 */
.admin-login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  text-align: center;
}

.admin-login-icon {
  font-size: 60px;
  color: var(--primary-color);
  background-color: rgba(40, 115, 240, 0.1);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.admin-login-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 10px;
}

.admin-login-desc {
  color: var(--light-text);
  margin-bottom: 20px;
}

/* 删除按钮 */
.delete-btn {
  background-color: #FF5252;
}

.delete-btn:hover {
  background-color: #FF1744;
}

/* 错误信息容器样式 */
.calendar-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background-color: #ffebee;
  border: 2px solid #e57373;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 3px 8px rgba(229, 57, 53, 0.15);
  animation: errorPulse 2s ease-in-out 1;
}

@keyframes errorPulse {
  0% { box-shadow: 0 3px 8px rgba(229, 57, 53, 0.15); }
  50% { box-shadow: 0 3px 12px rgba(229, 57, 53, 0.3); }
  100% { box-shadow: 0 3px 8px rgba(229, 57, 53, 0.15); }
}

.calendar-error-icon {
  font-size: 2.5em;
  color: #d32f2f;
  margin-bottom: 15px;
  animation: iconShake 0.6s ease-in-out 1;
}

@keyframes iconShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.calendar-error-message {
  color: #d32f2f;
  font-size: 15px;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.6;
  max-width: 90%;
  font-weight: 500;
}

.calendar-error-header {
  font-size: 18px;
  font-weight: 600;
  color: #c62828;
  margin-bottom: 10px;
}

.calendar-error-details {
  color: #d32f2f;
  font-size: 14px;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.5;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid #e53935;
  width: 90%;
}

.calendar-error-help {
  color: #757575;
  font-size: 13px;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.5;
  font-style: italic;
}

.retry-btn {
  background-color: #e53935;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(229, 57, 53, 0.3);
}

.retry-btn:hover {
  background-color: #c62828;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(229, 57, 53, 0.4);
}

.retry-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(229, 57, 53, 0.3);
}

/* 未来的空状态消息样式增强 */
.calendar-empty-message {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  font-size: 14px;
  color: #757575;
  font-style: italic;
  text-align: center;
}

/* 全局错误容器样式 */
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  margin: 20px;
  background-color: #ffebee;
  border: 2px solid #e57373;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(229, 57, 53, 0.15);
  animation: errorPulse 2s ease-in-out 1;
}

.error-icon {
  font-size: 48px;
  color: #d32f2f;
  margin-bottom: 20px;
  animation: iconShake 0.6s ease-in-out 1;
}

.error-message {
  color: #d32f2f;
  font-size: 16px;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.6;
  max-width: 90%;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px 15px;
  border-radius: 6px;
  border-left: 3px solid #e53935;
}

/* 未来月份提示样式 */
.future-month-notice {
  background-color: #e8f4fd;
  border: 1px solid #b3e5fc;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 15px;
  color: #0277bd;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.future-month-notice i {
  font-size: 18px;
  color: #0288d1;
}

/* 未来月份日期样式 */
.calendar-day.future-month {
  background-color: #f3f9ff;
  border: 1px solid #e1f5fe;
}

.calendar-day.future-month.available .day-status {
  color: #039be5;
  font-weight: bold;
}

/* 测试工具样式 */
.test-run-btn {
  background: transparent;
  border: none;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  margin-left: 5px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.test-run-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #2873f0;
}

/* 测试结果模态框 */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
  color: #000;
  text-decoration: none;
}

.modal h2 {
  margin-top: 0;
  color: #2873f0;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.modal-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

/* 测试结果样式 */
.test-success,
.test-failure,
.test-warning,
.test-error {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.test-success {
  background-color: #e6f7e6;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.test-failure {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.test-warning {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}

.test-error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

#test-results i {
  margin-right: 8px;
} 