
.booking-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

.step-indicator {
  display: flex;
  align-items: center;
  margin-bottom: 26px;
}

.step-indicator .step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-indicator .step-circle.active { background: var(--color-primary); color: #fff; }
.step-indicator .step-circle.done { background: var(--color-primary-light); color: #fff; }

.step-indicator .step-line {
  flex: 1;
  height: 2px;
  background: var(--color-border);
  margin: 0 6px;
}

.step-indicator .step-line.done { background: var(--color-primary-light); }

.step-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  margin-top: -16px;
  padding: 0 2px;
}

.step-labels span { flex: 1; text-align: center; }
.step-labels span:first-child { text-align: left; }
.step-labels span:last-child { text-align: right; }

.booking-step { display: none; }
.booking-step.active { display: block; }

.booking-step h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.booking-step .step-subtitle {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.doctor-select-search {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-size: 13.5px;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}

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

.doctor-select-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doctor-select-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.doctor-select-card:hover { border-color: var(--color-primary-light); box-shadow: var(--shadow-soft); }

.doctor-select-card.selected {
  border-color: var(--color-primary);
  background: rgba(14,124,123,0.05);
}

.doctor-select-card .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}

.doctor-select-card .avatar img { width: 100%; height: 100%; object-fit: cover; }

.doctor-select-card .info { flex: 1; min-width: 0; }
.doctor-select-card h4 { font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.doctor-select-card .spec { font-size: 11.5px; color: var(--color-primary); font-weight: 600; }
.doctor-select-card .fee { font-size: 11.5px; color: var(--color-text-muted); margin-top: 2px; }

.doctor-select-card .check-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-select-card.selected .check-circle { background: var(--color-primary); border-color: var(--color-primary); }
.doctor-select-card.selected .check-circle svg { width: 12px; height: 12px; color: #fff; }

.selected-doctor-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14,124,123,0.06);
  border: 1px solid rgba(14,124,123,0.2);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 20px;
}

.selected-doctor-banner .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
}

.selected-doctor-banner .avatar img { width: 100%; height: 100%; object-fit: cover; }
.selected-doctor-banner .info { flex: 1; font-size: 12.5px; }
.selected-doctor-banner .info strong { display: block; font-size: 13.5px; }
.selected-doctor-banner .change-link { font-size: 11.5px; color: var(--color-primary); font-weight: 600; flex-shrink: 0; }

.calendar-box {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.calendar-header h4 { font-family: 'Poppins', sans-serif; font-size: 14.5px; }

.calendar-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.calendar-nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.calendar-nav-btn svg { width: 16px; height: 16px; }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.calendar-day.empty { cursor: default; }
.calendar-day.available { background: rgba(14,124,123,0.06); color: var(--color-text); }
.calendar-day.available:hover { border-color: var(--color-primary-light); }
.calendar-day.unavailable { color: var(--color-border); cursor: not-allowed; }
.calendar-day.selected { background: var(--color-primary); color: #fff; }
.calendar-day.today { font-weight: 700; text-decoration: underline; }

.slot-section h4 { font-family: 'Poppins', sans-serif; font-size: 14.5px; margin-bottom: 12px; }

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

@media (min-width: 480px) {
  .slot-grid { grid-template-columns: repeat(4, 1fr); }
}

.slot-btn {
  padding: 10px 6px;
  border-radius: 9px;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
}

.slot-btn:hover:not(:disabled) { border-color: var(--color-primary-light); }
.slot-btn.selected { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.slot-btn.booked { background: var(--color-bg); color: var(--color-border); cursor: not-allowed; text-decoration: line-through; }
.slot-btn:disabled { opacity: 0.6; }

.field-group { margin-bottom: 16px; }
.field-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }

.field-group input, .field-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--color-border);
  border-radius: 9px;
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  background: var(--color-bg);
}

.field-group input:focus, .field-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-surface);
}

.field-group textarea { resize: vertical; min-height: 70px; }

.field-error { font-size: 12px; color: var(--color-error); margin-top: 5px; display: none; }
.field-error.visible { display: block; }
.input-error { border-color: var(--color-error) !important; }

.booking-summary-box {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.booking-summary-box .summary-row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; }
.booking-summary-box .summary-row span:first-child { color: var(--color-text-muted); }
.booking-summary-box .summary-row span:last-child { font-weight: 600; }

.booking-nav-row { display: flex; gap: 10px; margin-top: 24px; }

.btn-step-back {
  padding: 13px 22px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.btn-step-next {
  flex: 1;
  padding: 13px 22px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-step-next:hover { background: var(--color-primary-light); }
.btn-step-next:disabled { opacity: 0.5; cursor: not-allowed; }

.confirmation-box { text-align: center; padding: 20px 0; }

.confirmation-box .check-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(14,124,123,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.confirmation-box .check-icon svg { width: 36px; height: 36px; color: var(--color-primary); }
.confirmation-box h2 { font-family: 'Poppins', sans-serif; font-size: 19px; margin-bottom: 8px; }
.confirmation-box p { font-size: 13.5px; color: var(--color-text-muted); margin-bottom: 24px; }

.confirmation-details {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 18px;
  text-align: left;
  margin-bottom: 20px;
}

.confirmation-actions { display: flex; flex-direction: column; gap: 10px; }

.confirmation-actions a, .confirmation-actions button {
  padding: 13px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.confirmation-actions .btn-whatsapp { background: #25D366; color: #fff; }
.confirmation-actions .btn-secondary-action { background: var(--color-bg); border: 1.5px solid var(--color-border); color: var(--color-text); }

.slot-taken-banner {
  background: rgba(229,87,95,0.08);
  border: 1px solid rgba(229,87,95,0.25);
  color: #B8333B;
  font-size: 12.5px;
  padding: 12px 14px;
  border-radius: 9px;
  margin-bottom: 16px;
  display: none;
  align-items: flex-start;
  gap: 8px;
}

.slot-taken-banner.visible { display: flex; }
