/* Booking page styles: modern, colorful, accessible, rewarding */
:root {
  --booking-primary: #6B9AC4;
  --booking-secondary: #8FBC8F;
  --booking-accent: #E8B4A0;
  --booking-bg: #F7FAFC;
  --booking-white: #fff;
  --booking-dark: #2b3a55;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

.booking-hero {
  padding: 60px 20px 70px;
  background: linear-gradient(135deg, #e3f2fd 0%, #f1f8f4 50%, #fef5f1 100%);
  position: relative;
  overflow: hidden;
}
.booking-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(107,154,196,0.08), transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(143,188,143,0.08), transparent 50%);
  pointer-events: none;
}
.booking-hero-content { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 2px solid #dfe9f3;
  border-radius: 30px;
  padding: 8px 18px;
  margin-bottom: 20px;
  color: var(--booking-primary);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  animation: fadeInDown 0.6s ease;
}
.hero-badge svg { color: var(--booking-primary); }
.booking-hero h2 { 
  font-size: 2.8rem; 
  color: var(--booking-dark); 
  margin-bottom: 0.8rem; 
  font-weight: 800;
  animation: fadeInUp 0.6s ease 0.1s backwards;
}
.booking-hero p { 
  font-size: 1.2rem; 
  color: #5b6d86; 
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}
.hero-features {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s backwards;
}
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid #e7edf5;
  border-radius: 25px;
  padding: 10px 16px;
  color: #42546e;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.feature-pill:hover {
  border-color: var(--booking-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-pill svg { color: var(--booking-secondary); }

.booking-main { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; margin-top: 40px; padding-bottom: 60px; }
.booking-steps { background: var(--booking-white); border: 1px solid #e7edf5; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.steps-progress { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 8px; 
  list-style: none; 
  padding: 20px; 
  margin: 0; 
  border-bottom: 1px solid #eef2f7; 
}
.step-item { 
  background: #f8fbfd; 
  color: #8191a8; 
  text-align: center; 
  padding: 14px 10px; 
  border-radius: 12px; 
  font-weight: 700; 
  font-size: 0.9rem; 
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.step-item.active { 
  background: linear-gradient(135deg, var(--booking-primary), var(--booking-secondary)); 
  color: white; 
  box-shadow: 0 4px 15px rgba(107, 154, 196, 0.35);
  transform: scale(1.05);
  animation: pulse 0.5s ease;
}
.step-item.completed {
  background: #e8f5e9;
  color: var(--booking-secondary);
  border-color: var(--booking-secondary);
}
.step-item.completed::after {
  content: ' ✓';
  font-weight: 900;
}

.booking-form { padding: 32px; }
.step-panel { display: none; }
.step-panel.active { display: block; animation: slideInRight 0.4s ease; }
.step-title { 
  font-size: 1.8rem; 
  color: var(--booking-dark); 
  margin-bottom: 8px; 
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-title::before {
  content: '';
  width: 6px;
  height: 32px;
  background: linear-gradient(180deg, var(--booking-primary), var(--booking-secondary));
  border-radius: 4px;
}
.step-subtitle { color: #5b6d86; margin-bottom: 24px; font-size: 1.05rem; }

.service-select-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-option { display: block; }
.service-option input { display: none; }
.service-option .card { 
  display: flex; 
  align-items: center;
  gap: 16px; 
  border: 2px solid #e7edf5; 
  border-radius: 14px; 
  padding: 20px 18px; 
  background: #fbfdff; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 90px;
}
.service-option .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(107,154,196,0.05), rgba(143,188,143,0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-option .card:hover {
  border-color: var(--booking-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-option .card:hover::before { opacity: 1; }
.service-option .icon { 
  flex-shrink: 0; 
  width: 56px; 
  height: 56px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: linear-gradient(135deg, rgba(107,154,196,0.12), rgba(143,188,143,0.12));
  border-radius: 14px;
  transition: all 0.3s ease;
}
.service-option .icon svg { color: var(--booking-primary); transition: transform 0.3s ease; width: 28px; height: 28px; }
.service-option .card:hover .icon { transform: scale(1.08); }
.service-option .card:hover .icon svg { transform: rotate(5deg); }
.service-option .text { flex: 1; display: flex; flex-direction: column; gap: 5px; position: relative; }
.service-option .name { font-weight: 800; color: var(--booking-dark); font-size: 1.05rem; line-height: 1.3; }
.service-option .desc { font-size: 0.9rem; color: #6b7c95; line-height: 1.4; }
.service-option input:checked + .card { 
  border-color: var(--booking-primary); 
  border-width: 3px;
  box-shadow: 0 8px 24px rgba(107,154,196,0.3); 
  background: linear-gradient(135deg, rgba(107,154,196,0.05), rgba(143,188,143,0.05));
  transform: translateY(-2px);
}
.service-option input:checked + .card::after {
  content: '✓';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--booking-primary), var(--booking-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 18px;
  animation: checkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 3px 12px rgba(107,154,196,0.5);
}
.service-option input:checked + .card .icon {
  background: linear-gradient(135deg, var(--booking-primary), var(--booking-secondary));
  transform: scale(1.05);
}
.service-option input:checked + .card .icon svg { color: white; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.choice-option { display: block; }
.choice-option input { display: none; }
.choice-option .card { 
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e7edf5; 
  border-radius: 12px; 
  padding: 20px 18px; 
  background: #fbfdff; 
  text-align: center; 
  font-weight: 700; 
  color: var(--booking-dark); 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  cursor: pointer;
  min-height: 70px;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
}
.choice-option .card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(107,154,196,0.15), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}
.choice-option .card:hover {
  border-color: var(--booking-secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.choice-option .card:hover::before { width: 200%; height: 200%; }
.choice-option input:checked + .card { 
  border-color: var(--booking-secondary);
  border-width: 3px;
  box-shadow: 0 8px 24px rgba(143,188,143,0.35); 
  background: linear-gradient(135deg, rgba(143,188,143,0.08), rgba(107,154,196,0.08));
  color: var(--booking-dark);
  font-weight: 800;
  animation: cardSelect 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.choice-option input:checked + .card::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: var(--booking-secondary);
  border-radius: 50%;
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  animation: checkPop 0.3s ease;
}
.choice-option.small .card { font-weight: 600; padding: 16px 14px; font-size: 0.95rem; min-height: 58px; }

.days-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 14px; }
.day-option input { display: none; }
.day-card { display: block; text-align: center; padding: 14px 8px; border: 2px solid #e7edf5; border-radius: 10px; color: #5b6d86; font-weight: 700; background: #fbfdff; cursor: pointer; transition: all 0.3s ease; font-size: 0.95rem; }
.day-card:hover { border-color: var(--booking-primary); background: white; transform: translateY(-2px); }
.day-option input:checked + .day-card { border-color: var(--booking-primary); border-width: 3px; background: linear-gradient(135deg, rgba(107,154,196,0.1), rgba(143,188,143,0.1)); color: var(--booking-dark); box-shadow: 0 4px 12px rgba(107,154,196,0.2); }

.inline-field { display: inline-flex; align-items: center; gap: 10px; margin-right: 10px; }
.inline-field input { width: 90px; padding: 10px; border: 1px solid #d7dfeb; border-radius: 8px; }

.date-picker input, .exact-time input { padding: 12px; border: 1px solid #d7dfeb; border-radius: 10px; font-size: 1rem; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid label { display: grid; gap: 7px; }
.form-grid label span { font-weight: 600; color: var(--booking-dark); font-size: 0.95rem; }
.form-grid input, .form-grid textarea { padding: 13px 14px; border: 2px solid #e7edf5; border-radius: 10px; font-size: 1rem; transition: all 0.3s ease; }
.form-grid input:focus, .form-grid textarea:focus { outline: none; border-color: var(--booking-primary); box-shadow: 0 0 0 3px rgba(107,154,196,0.1); }
.form-grid label.full { grid-column: 1 / -1; }
.section-divider { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 20px 0 12px; }
.section-divider::before, .section-divider::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, #e7edf5, transparent); }
.section-divider span { font-weight: 800; color: var(--booking-dark); font-size: 1.05rem; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.check-option { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 2px solid #e7edf5; border-radius: 10px; background: #fbfdff; transition: all 0.2s ease; cursor: pointer; }
.check-option:hover { border-color: var(--booking-primary); background: white; }
.check-option input { width: 20px; height: 20px; cursor: pointer; accent-color: var(--booking-primary); }
.check-option input:checked { accent-color: var(--booking-secondary); }
.check-option span { font-size: 0.95rem; color: var(--booking-dark); }

.triple-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #eef2f7; }
.step-actions .prev-btn { min-width: 100px; }
.step-actions .next-btn, .step-actions button[type="submit"] { min-width: 140px; }

.booking-aside { display: grid; gap: 20px; align-content: start; position: sticky; top: 20px; }

.progress-tracker {
  background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
  border: 2px solid #e7edf5;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-md);
}
.tracker-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.tracker-header svg { color: var(--booking-primary); }
.tracker-header h4 { margin: 0; color: var(--booking-dark); font-size: 1.1rem; font-weight: 800; }
.progress-bar {
  height: 12px;
  background: #e9f2f9;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.08);
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--booking-primary), var(--booking-secondary));
  border-radius: 20px;
  width: 12.5%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 1.5s infinite;
}
.progress-text {
  margin: 0;
  color: #5b6d86;
  font-weight: 600;
  font-size: 0.95rem;
}
.completion-reward {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 20px;
  background: linear-gradient(135deg, #e8f5e9, #f1f8f4);
  border-radius: 12px;
  animation: celebrationPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.completion-reward svg {
  color: var(--booking-secondary);
  animation: checkSpin 0.8s ease;
}
.completion-reward span {
  font-weight: 800;
  color: var(--booking-secondary);
  font-size: 1.1rem;
}

.helper-card { 
  background: white; 
  border: 1px solid #e7edf5; 
  border-radius: var(--radius); 
  padding: 18px; 
  box-shadow: var(--shadow-sm); 
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.helper-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.helper-icon { 
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(107,154,196,0.1), rgba(143,188,143,0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}
.helper-card:hover .helper-icon {
  transform: scale(1.08) rotate(3deg);
  background: linear-gradient(135deg, var(--booking-primary), var(--booking-secondary));
}
.helper-card:hover .helper-icon svg { color: white; }
.helper-icon svg { color: var(--booking-primary); transition: color 0.3s ease; }
.helper-card h4 { margin: 0 0 8px; color: var(--booking-dark); font-size: 1.15rem; font-weight: 800; }
.helper-card p { margin: 0; color: #5b6d86; font-size: 0.95rem; line-height: 1.5; }

.contact-card .contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--booking-primary), var(--booking-secondary));
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(107,154,196,0.3);
}
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107,154,196,0.4);
}
.contact-btn svg { width: 18px; height: 18px; }

.tips-card .tips-list {
  list-style-type: none;
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #5b6d86;
  font-size: 0.9rem;
  line-height: 1.4;
  list-style-type: none;
}
.tips-list li::before {
  display: none;
}
.tips-list svg {
  color: var(--booking-secondary);
  flex-shrink: 0;
  margin-top: 1px;
}

.review-box { border: 2px solid #eef2f7; border-radius: 12px; padding: 16px; background: #fbfdff; }
.review-box h4 { margin: 0 0 8px; color: var(--booking-dark); }
.review-text { color: #5b6d86; }

.btn { cursor: pointer; border: none; border-radius: 10px; padding: 14px 24px; font-weight: 800; font-size: 1rem; transition: all 0.3s ease; }
.btn-primary { 
  background: linear-gradient(135deg, var(--booking-primary), var(--booking-secondary)); 
  color: white; 
  box-shadow: 0 4px 12px rgba(107,154,196,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107,154,196,0.4);
}
.btn-secondary { background: #e9f2ff; color: #2b3a55; }
.btn-secondary:hover {
  background: #d6e9ff;
  transform: translateY(-1px);
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Animations */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1.05); } 50% { transform: scale(1.08); } }
@keyframes checkPop { 0% { transform: scale(0); opacity: 0; } 50% { transform: scale(1.2); } 100% { transform: scale(1); opacity: 1; } }
@keyframes cardSelect { 0% { transform: scale(1) translateY(-3px); } 50% { transform: scale(1.02) translateY(-5px); } 100% { transform: scale(1) translateY(-3px); } }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes celebrationPop { 0% { transform: scale(0.8); opacity: 0; } 50% { transform: scale(1.05); } 100% { transform: scale(1); opacity: 1; } }
@keyframes checkSpin { 0% { transform: rotate(0deg) scale(0.8); } 50% { transform: rotate(180deg) scale(1.1); } 100% { transform: rotate(360deg) scale(1); } }

/* Responsive */
@media (max-width: 900px) {
  .booking-main { grid-template-columns: 1fr; }
  .booking-aside { position: static; order: -1; }
  .steps-progress { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .step-item { padding: 12px 8px; font-size: 0.85rem; }
  .booking-hero h2 { font-size: 2.2rem; }
  .hero-features { gap: 8px; }
  .feature-pill { font-size: 0.88rem; padding: 8px 14px; }
  .service-select-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps-progress { grid-template-columns: repeat(2, 1fr); font-size: 0.8rem; }
  .step-item { padding: 10px 6px; }
  .triple-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .booking-hero h2 { font-size: 1.9rem; }
  .booking-hero p { font-size: 1.05rem; }
  .hero-features { flex-direction: column; align-items: center; }
  .service-select-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .days-grid { grid-template-columns: repeat(4, 1fr); }
  .checkbox-grid { grid-template-columns: 1fr; }
  .step-title { font-size: 1.5rem; }
  .booking-form { padding: 24px 20px; }
}
