/* =============================================================
   CUTIS HOSPITAL — APPOINTMENT BOOKING MODULE
   style.css | Premium Healthcare UI
   ============================================================= */

/* ─────────────────────────────────────────────
   CSS CUSTOM PROPERTIES (Design Tokens)
───────────────────────────────────────────── */
:root {
  --primary: #005b96;
  --primary-hover: #004a7a;
  --primary-light: #ebf4ff;
  --primary-glow: rgba(0, 91, 150, 0.15);

  --secondary: #7ac143;
  --secondary-hover: #68a837;
  --secondary-light: #f0f9e8;

  --success: #7ac143;
  --danger: #ef4444;
  --warning: #f59e0b;

  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-section: #ffffff;

  --text-heading: #1f2937;
  --text-body: #4b5563;
  --text-light: #6b7280;
  --text-muted: #9ca3af;

  --border: #e5e7eb;
  --border-input: #d1d5db;
  --border-focus: #005b96;

  --slot-available: #7ac143;
  --slot-unavailable: #e5e7eb;
  --slot-selected: #005b96;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-pill: 100px;

  --shadow: 0 10px 30px rgba(0, 91, 150, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 91, 150, 0.14);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  --font: "Poppins", system-ui, -apple-system, sans-serif;
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

/* ─────────────────────────────────────────────
   GLOBAL LOADER
───────────────────────────────────────────── */
.global-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.global-loader.d-none {
  display: none !important;
}

.loader-ring {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.loader-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 54px;
  height: 54px;
  margin: 5px;
  border: 5px solid var(--primary);
  border-radius: 50%;
  animation: loader-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--primary) transparent transparent transparent;
}
.loader-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.loader-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.loader-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

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

.loader-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

/* ─────────────────────────────────────────────
   TOAST
───────────────────────────────────────────── */
#appToast {
  min-width: 300px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  font-weight: 500;
}
#appToast.toast-success {
  background: var(--success);
  color: #fff;
}
#appToast.toast-error {
  background: var(--danger);
  color: #fff;
}
#appToast.toast-info {
  background: var(--primary);
  color: #fff;
}

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0, 91, 150, 0.06);
}

.site-header .navbar {
  padding: 0.875rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  font-size: 1.75rem;
  color: var(--primary);
  filter: drop-shadow(0 2px 8px var(--primary-glow));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-contact {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition-fast);
}
.header-contact:hover {
  color: var(--primary);
}

.btn-header-primary {
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn-header-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* ─────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #003d66 0%, #005b96 45%, #0077be 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}
.shape-1 {
  width: 600px;
  height: 600px;
  background: #fff;
  top: -200px;
  right: -100px;
  animation: float-shape 8s ease-in-out infinite;
}
.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: -100px;
  left: 100px;
  animation: float-shape 10s ease-in-out infinite reverse;
}
.shape-3 {
  width: 200px;
  height: 200px;
  background: #fff;
  top: 50%;
  left: 30%;
  animation: float-shape 6s ease-in-out infinite 2s;
}

@keyframes float-shape {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.min-vh-hero {
  min-height: 600px;
  padding: 80px 0 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease both;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #7ac143, #a8e063);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.7s ease 0.4s both;
}
.btn-hero-primary:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

/* ── Hero Visual ── */
.hero-visual {
  position: relative;
  width: 480px;
  height: 480px;
  animation: fadeIn 1s ease 0.3s both;
}

.hero-illustration {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.circle-outer {
  width: 420px;
  height: 420px;
  animation: spin-slow 20s linear infinite;
}
.circle-mid {
  width: 300px;
  height: 300px;
  animation: spin-slow 15s linear infinite reverse;
}
.circle-inner {
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.illustration-icon {
  font-size: 3.5rem;
  color: #fff;
}

.speciality-orbit {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.orbit-1 {
  top: 60px;
  left: 20px;
  animation: orbit-float 4s ease-in-out infinite;
}
.orbit-2 {
  top: 190px;
  right: 10px;
  animation: orbit-float 4s ease-in-out infinite 1.5s;
}
.orbit-3 {
  bottom: 80px;
  left: 40px;
  animation: orbit-float 4s ease-in-out infinite 3s;
}

@keyframes orbit-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-card-float {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-heading);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  z-index: 10;
}
.card-float-1 {
  top: 40px;
  right: 20px;
  animation: float-card 3s ease-in-out infinite;
}
.card-float-2 {
  bottom: 80px;
  right: 0px;
  animation: float-card 3s ease-in-out infinite 1.5s;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-wave {
  line-height: 0;
  margin-bottom: -2px;
}
.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ─────────────────────────────────────────────
   BOOKING SECTION
───────────────────────────────────────────── */
.booking-section {
  background: var(--bg);
  padding: 64px 0 80px;
}

/* ── Step Progress Header ── */
.step-progress-header {
  text-align: center;
  margin-bottom: 48px;
}

.step-progress-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.step-progress-title p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ── Wizard Steps ── */
.wizard-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin-bottom: 20px;
}
.wizard-steps::-webkit-scrollbar {
  display: none;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.step-icon-wrap {
  display: flex;
  align-items: center;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: #fff;
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-connector {
  width: 50px;
  height: 2px;
  background: var(--border);
  margin: 0;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .step-connector {
    width: 28px;
  }
  .step-icon {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }
}

.step-label {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  transition: var(--transition);
  white-space: nowrap;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Active step */
.wizard-step.active .step-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
  transform: scale(1.1);
}
.wizard-step.active .step-label {
  color: var(--primary);
  font-weight: 600;
}

/* Completed step */
.wizard-step.completed .step-icon {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}
.wizard-step.completed .step-connector {
  background: var(--secondary);
}
.wizard-step.completed .step-label {
  color: var(--secondary);
  font-weight: 600;
}

/* ── Overall Progress Bar ── */
.overall-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.overall-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.overall-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-pill);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.overall-progress-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

/* ─────────────────────────────────────────────
   STEP PANELS
───────────────────────────────────────────── */
.step-panels-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.step-panel {
  display: none;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(229, 231, 235, 0.6);
  padding: 2rem;
  animation: fadeInUp 0.4s ease both;
}

.step-panel.active {
  display: block;
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── Step Panel Header ── */
.step-panel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.step-panel-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}

.step-panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.step-panel-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* ── Back Button ── */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  transition: var(--transition-fast);
}
.btn-back:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* ── Step Nav Footer ── */
.step-nav-footer {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.btn-step-continue {
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.01em;
}
.btn-step-continue:hover:not(:disabled) {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}
.btn-step-continue:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ─────────────────────────────────────────────
   SKELETON LOADING
───────────────────────────────────────────── */
.skeleton-line,
.skeleton-card,
.skeleton-icon,
.sk-avatar,
.skeleton-slot {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-xs);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-line.long {
  height: 14px;
  width: 80%;
  margin-bottom: 8px;
}
.skeleton-line.medium {
  height: 14px;
  width: 60%;
  margin-bottom: 8px;
}
.skeleton-line.short {
  height: 12px;
  width: 40%;
}

/* Spec skeletons */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.skeleton-card {
  background: var(--bg) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  animation: none;
}
.skeleton-card > * {
  margin-bottom: 10px;
}

.skeleton-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  ) !important;
  background-size: 200% 100% !important;
  animation: shimmer 1.5s infinite !important;
}

/* Doctor skeletons */
.doctor-skeleton-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.doctor-skeleton-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}
.sk-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sk-info {
  flex: 1;
}

/* Slot skeletons */
.slots-skeleton {
  padding: 0.5rem 0;
}
.slots-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.skeleton-slot {
  height: 52px;
  border-radius: var(--radius-sm);
}

/* ─────────────────────────────────────────────
   STEP 1: SPECIALISATION CARDS
───────────────────────────────────────────── */
.specialisation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}

.spec-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.spec-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light), transparent);
  opacity: 0;
  transition: var(--transition);
}

.spec-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.spec-card:hover::before {
  opacity: 1;
}

.spec-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
  transform: translateY(-4px);
}

.spec-card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.875rem;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.spec-card:hover .spec-card-icon,
.spec-card.selected .spec-card-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.spec-card-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.spec-card-code {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────
   STEP 2: DOCTOR CARDS
───────────────────────────────────────────── */
.doctor-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.doctor-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
  flex-wrap: wrap;
}

.doctor-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.doctor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), #c7e4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  flex-shrink: 0;
  border: 3px solid var(--border);
  font-weight: 700;
  overflow: hidden;
  position: relative;
}

.doctor-avatar-initials {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.doctor-info {
  flex: 1;
  min-width: 180px;
}

.doctor-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.doctor-designation {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.doctor-badge {
  display: inline-flex;
  align-items: center;
  background: var(--secondary-light);
  color: var(--secondary-hover);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.btn-book-doctor {
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-book-doctor:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--primary-glow);
}

/* ─────────────────────────────────────────────
   STEP 3: DOCTOR PROFILE
───────────────────────────────────────────── */
.doctor-profile-card {
  background: linear-gradient(135deg, var(--primary-light) 0%, #f0f7ff 100%);
  border: 1px solid rgba(0, 91, 150, 0.12);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), #0077be);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 8px 32px var(--primary-glow);
  border: 4px solid #fff;
}

.profile-details {
  flex: 1;
}

.profile-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.profile-consultant-type {
  display: inline-flex;
  align-items: center;
  background: var(--secondary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.profile-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.875rem;
  margin-top: 1rem;
}

.profile-meta-item {
  background: #fff;
  border-radius: var(--radius-xs);
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 91, 150, 0.08);
}

.profile-meta-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.profile-meta-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
}

/* ─────────────────────────────────────────────
   STEP 4: CALENDAR
───────────────────────────────────────────── */
.calendar-wrapper {
  max-width: 520px;
  margin: 0 auto;
}

.calendar-legend {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.legend-dot.available {
  background: var(--secondary);
}
.legend-dot.unavailable {
  background: var(--border);
  border: 1px solid #ccc;
}
.legend-dot.selected {
  background: var(--primary);
}
.legend-dot.slot-available {
  background: var(--secondary);
}
.legend-dot.slot-unavailable {
  background: #e5e7eb;
  border: 1px solid #ccc;
}
.legend-dot.slot-selected {
  background: var(--primary);
}

.custom-calendar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cal-month-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
}

.cal-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.cal-nav-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.calendar-weekdays span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 0;
}

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

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-body);
  position: relative;
  border: 2px solid transparent;
}

.cal-day:empty,
.cal-day.empty {
  cursor: default;
}

.cal-day.today {
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}

.cal-day.available {
  background: var(--secondary-light);
  color: var(--secondary-hover);
  font-weight: 700;
}
.cal-day.available:hover {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.1);
}

.cal-day.unavailable {
  background: #f9fafb;
  color: var(--text-muted);
  cursor: not-allowed;
}

.cal-day.past {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.5;
}

.cal-day.selected {
  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 700;
  transform: scale(1.1);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.selected-date-display {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.calendar-loader {
  padding: 1rem 0;
}

/* ─────────────────────────────────────────────
   STEP 5: TIME SLOTS
───────────────────────────────────────────── */
.slots-wrapper {
}

.slots-legend {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.slot-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
  position: relative;
  overflow: hidden;
}

.slot-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: var(--transition);
}

.slot-card.available::before {
  transform: scaleX(1);
}

.slot-card.available {
  border-color: var(--secondary);
  background: var(--secondary-light);
}
.slot-card.available:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 193, 67, 0.25);
}

.slot-card.unavailable {
  background: var(--bg);
  border-color: var(--border);
  cursor: not-allowed;
  opacity: 0.55;
}

.slot-card.selected {
  border-color: var(--primary) !important;
  background: var(--primary) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.slot-time {
  font-size: 0.82rem;
  font-weight: 700;
  color: inherit;
  display: block;
  margin-bottom: 4px;
}

.slot-to-time {
  font-size: 0.7rem;
  color: inherit;
  opacity: 0.7;
  display: block;
}

.slot-status-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.slot-card.available .slot-status-badge {
  background: var(--secondary);
  color: #fff;
}
.slot-card.available:hover .slot-status-badge,
.slot-card.selected .slot-status-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.slot-card.unavailable .slot-status-badge {
  background: var(--border);
  color: var(--text-muted);
}

.no-slots-message {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-light);
}
.no-slots-message i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}
.no-slots-message p {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ─────────────────────────────────────────────
   STEP 6: PATIENT FORM
───────────────────────────────────────────── */
.uhid-lookup-card {
  background: linear-gradient(135deg, #ebf4ff, #f0f9e8);
  border: 1px dashed rgba(0, 91, 150, 0.25);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.uhid-lookup-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.uhid-icon {
  font-size: 1.75rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.uhid-content h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 2px;
}
.uhid-content p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

.uhid-input-wrap {
  flex: 1;
  min-width: 220px;
}

.uhid-input {
  font-size: 0.85rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-input);
  font-family: var(--font);
}

.btn-uhid-lookup {
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xs);
  margin-top: 0.5rem;
  transition: var(--transition);
}
.btn-uhid-lookup:hover {
  background: var(--primary-hover);
  color: #fff;
}

.patient-form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.form-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* Custom form controls */
.custom-input,
.custom-select {
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--text-body);
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-xs);
  padding: 0.6rem 0.875rem;
  transition: var(--transition-fast);
  background: #fff;
}

.custom-input:focus,
.custom-select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-glow);
  outline: none;
}

.custom-input::placeholder {
  color: var(--text-muted);
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 0.4rem;
  display: block;
}

.required-label::after {
  content: " *";
  color: var(--danger);
}

/* Gender selector */
.gender-selector {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gender-option {
  cursor: pointer;
  margin: 0;
}

.gender-option input[type="radio"] {
  display: none;
}

.gender-option span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition-fast);
  cursor: pointer;
  background: #fff;
}

.gender-option input:checked + span {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Phone input */
.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: #fff;
  transition: var(--transition-fast);
}
.phone-input-wrap:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.phone-prefix {
  background: var(--bg);
  border-right: 1.5px solid var(--border-input);
  padding: 0 0.875rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
  white-space: nowrap;
  height: 42px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.phone-input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1;
  min-width: 0;
}

/* ─────────────────────────────────────────────
   STEP 7: OTP VERIFICATION
───────────────────────────────────────────── */
.otp-verification-card {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}

.otp-illustration {
  margin-bottom: 2rem;
}

.otp-icon-wrap {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light), #c7e4ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 3px solid rgba(0, 91, 150, 0.15);
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 91, 150, 0.2);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(0, 91, 150, 0);
  }
}

.otp-main-icon {
  font-size: 2.25rem;
  color: var(--primary);
}

.otp-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.otp-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

.otp-inputs-wrap {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.otp-digit {
  width: 64px;
  height: 64px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font);
  color: var(--text-heading);
  border: 2px solid var(--border-input);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: var(--transition-fast);
  outline: none;
}

.otp-digit:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
  transform: scale(1.05);
}

.otp-digit.filled {
  border-color: var(--primary);
  background: var(--primary-light);
}

.otp-timer-wrap {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.otp-countdown {
  font-weight: 700;
  color: var(--primary);
}

.otp-resend-text {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.btn-otp-resend {
  background: transparent;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.25rem;
  transition: var(--transition);
}
.btn-otp-resend:hover {
  background: var(--primary);
  color: #fff;
}

.btn-verify-otp {
  width: 100%;
  padding: 0.875rem;
  justify-content: center;
  font-size: 0.95rem;
}

/* ─────────────────────────────────────────────
   STEP 8: SUCCESS
───────────────────────────────────────────── */
.success-confirmation {
  text-align: center;
  padding: 1rem 0;
}

.success-animation-wrap {
  margin-bottom: 2.5rem;
}

.success-ring {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.5rem;
}

.success-svg {
  width: 100%;
  height: 100%;
}

.success-circle-bg {
  fill: none;
  stroke: var(--secondary-light);
  stroke-width: 4;
}

.success-circle-anim {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 4;
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
  stroke-linecap: round;
  animation: draw-circle 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

@keyframes draw-circle {
  to {
    stroke-dashoffset: 0;
  }
}

.success-checkmark {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw-check 0.5s ease 0.9s forwards;
}

@keyframes draw-check {
  to {
    stroke-dashoffset: 0;
  }
}

.success-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  animation: fadeInUp 0.5s ease 1.2s both;
}

.success-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  animation: fadeInUp 0.5s ease 1.35s both;
}

/* Glassmorphism Summary Card */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
}

.appointment-summary-card {
  max-width: 520px;
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  text-align: left;
  animation: fadeInUp 0.5s ease 1.5s both;
}

.summary-header {
  background: linear-gradient(135deg, var(--primary), #0077be);
  color: #fff;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
}

.summary-body {
  padding: 0.5rem 0;
}

.summary-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid #f9fafb;
}
.summary-row:last-child {
  border-bottom: none;
}

.summary-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--primary);
  flex-shrink: 0;
}

.summary-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 110px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.summary-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
  flex: 1;
}

.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 0.25rem 1.5rem;
}

/* Success Action Buttons */
.success-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.5s ease 1.65s both;
}

.btn-success-print {
  background: var(--bg);
  color: var(--text-body);
  border: 2px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
  font-family: var(--font);
}
.btn-success-print:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-success-download {
  background: var(--secondary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
  font-family: var(--font);
}
.btn-success-download:hover {
  background: var(--secondary-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-book-another {
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
  font-family: var(--font);
}
.btn-book-another:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────
   FEATURES SECTION
───────────────────────────────────────────── */
.features-section {
  background: var(--bg-section);
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: var(--primary);
  color: #fff;
}

.feature-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  background: var(--text-heading);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer .brand-icon {
  color: #fff;
}
.site-footer .brand-name {
  color: #fff;
}
.site-footer .brand-tag {
  color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0.5rem 0 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition-fast);
  font-weight: 500;
}
.footer-links a:hover {
  color: #fff;
}

.footer-copy p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ─── Entry Choice Screen ─────────────────── */
.entry-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 576px) {
  .entry-choice-grid {
    grid-template-columns: 1fr;
  }
}
.entry-choice-card {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  cursor: pointer;
  text-align: center;
  background: var(--bg);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.entry-choice-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.entry-choice-icon {
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
}
.entry-choice-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
}
.entry-choice-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.entry-choice-arrow {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 0.25rem;
}

/* ─────────────────────────────────────────────
   PRINT STYLES
───────────────────────────────────────────── */
@media print {
  .site-header,
  .hero-section,
  .step-progress-header,
  .wizard-steps,
  .overall-progress-wrap,
  .success-actions,
  .features-section,
  .site-footer,
  .btn-back {
    display: none !important;
  }

  .booking-section {
    padding: 0;
  }
  .step-panel {
    box-shadow: none;
    border: none;
    padding: 0;
  }
  .appointment-summary-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  .success-animation-wrap {
    margin-bottom: 1.5rem;
  }
  body {
    background: #fff;
  }
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */

/* Tablet */
@media (max-width: 991px) {
  .min-vh-hero {
    min-height: unset;
    padding: 60px 0 60px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-stats {
    gap: 1rem;
  }
  .stat-number {
    font-size: 1.3rem;
  }
  .booking-section {
    padding: 48px 0 60px;
  }
  .step-panel {
    padding: 1.5rem;
  }
  .doctor-profile-card {
    gap: 1rem;
  }
  .profile-name {
    font-size: 1.3rem;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-subtitle {
    font-size: 0.92rem;
  }
  .hero-stats {
    gap: 0.75rem;
  }
  .stat-number {
    font-size: 1.2rem;
  }
  .btn-hero-primary {
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem;
  }
  .step-panel {
    padding: 1.25rem 1rem;
  }
  .step-panel-header {
    gap: 0.75rem;
  }
  .step-panel-title {
    font-size: 1rem;
  }
  .wizard-steps {
    justify-content: flex-start;
  }
  .step-label {
    font-size: 0.6rem;
    max-width: 52px;
  }
  .specialisation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .otp-inputs-wrap {
    gap: 0.5rem;
  }
  .otp-digit {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }
  .success-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn-success-print,
  .btn-success-download,
  .btn-book-another {
    width: 100%;
    justify-content: center;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .uhid-lookup-inner {
    flex-direction: column;
  }
  .doctor-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-book-doctor {
    width: 100%;
    justify-content: center;
  }
  .summary-label {
    min-width: 80px;
  }
  .profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
}

/* Extra-wide: clamp widths */
@media (min-width: 1200px) {
  .step-panels-wrapper {
    max-width: 920px;
  }
}
