﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MediBook â€” Premium Design System
   "Healthcare, Elevated."
   Dark luxury medical Â· Electric teal Â· Glassmorphism
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Design Tokens â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
  --primary: #0AFFE9;
  --primary-dark: #00C4B4;
  --primary-glow: rgba(10,255,233,0.15);
  --bg-void: #060B14;
  --bg-deep: #0D1424;
  --bg-surface: #131D30;
  --bg-glass: rgba(255,255,255,0.04);
  --border-subtle: rgba(255,255,255,0.07);
  --border-accent: rgba(10,255,233,0.3);
  --text-primary: #F0F4FF;
  --text-secondary: #7A8BA8;
  --text-muted: #3D4F68;
  --danger: #FF4D6D;
  --warning: #FFB830;
  --success: #00E676;
  --gradient-hero: linear-gradient(135deg, #060B14 0%, #0D1F3C 50%, #060B14 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.05) inset;
  --shadow-glow: 0 0 40px rgba(10,255,233,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --bs-body-bg: var(--bg-void);
  --bs-body-color: var(--text-primary);
}

/* â”€â”€ Reset & Base â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Animated grid background — disabled in favor of particle bg */
/* body::before { ... } */

a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

::selection { background: var(--primary); color: var(--bg-void); }

/* â”€â”€ Scrollbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* â”€â”€ Typography â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.text-teal { color: var(--primary) !important; }
.text-muted-custom { color: var(--text-secondary) !important; }
.font-mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* â”€â”€ Page Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px;
  position: relative;
  z-index: 1;
}

.page-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 32px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* â”€â”€ Premium Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.card-premium {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.card-premium:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: translateY(-2px);
}

/* Override old .card-dark to use premium styling */
.card-dark {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card-dark:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-primary,
.btn-medibook-primary {
  background: var(--primary) !important;
  color: var(--bg-void) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 12px 28px;
  border-radius: 50px;
  border: none !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary:hover,
.btn-medibook-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(10,255,233,0.35);
  color: var(--bg-void) !important;
  opacity: 1 !important;
}

.btn-ghost,
.btn-outline-medibook {
  background: transparent !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-ghost:hover,
.btn-outline-medibook:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: var(--primary-glow) !important;
}

.btn-nav-primary {
  background: var(--primary) !important;
  border: none !important;
  color: var(--bg-void) !important;
  padding: 8px 20px !important;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-nav-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,255,233,0.35);
  color: var(--bg-void) !important;
}

/* Small button variant */
.btn-sm {
  padding: 6px 16px !important;
  font-size: 0.8rem !important;
}

/* â”€â”€ Form Controls â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.form-control, .form-select,
input[type="text"], input[type="email"], input[type="password"],
input[type="date"], input[type="time"], input[type="number"],
input[type="tel"], input[type="url"], input[type="search"],
textarea, select {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.form-control:focus, .form-select:focus,
input:focus, textarea:focus, select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px var(--primary-glow) !important;
  background: var(--bg-surface) !important;
}

.form-control::placeholder, input::placeholder, textarea::placeholder {
  color: var(--text-muted) !important;
}

.form-label, label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: block;
}

/* Form Helper Text & Instructions (e.g. password requirements) */
.form-text,
.help-block,
.help-text,
.form-control-feedback {
  color: var(--text-secondary) !important;
  font-size: 0.825rem !important;
  margin-top: 8px;
  line-height: 1.5;
  display: block;
}

/* Ensure bullet points/lists inside Django's default help texts are perfectly visible */
.form-text ul,
.help-block ul {
  padding-left: 20px;
  margin-top: 6px;
  margin-bottom: 0;
  color: var(--text-secondary) !important;
}

.form-text li,
.help-block li {
  margin-bottom: 4px;
  color: var(--text-secondary) !important;
}

/* Django Form Field Error Messages */
.invalid-feedback,
.invalid-feedback *,
.text-danger,
.errorlist,
.errorlist li {
  color: var(--danger) !important;
  font-size: 0.825rem !important;
  font-weight: 500;
  margin-top: 4px;
}
.errorlist {
  padding-left: 20px;
  margin-bottom: 8px;
}


/* Input group overrides */
.input-group-text {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-muted) !important;
}

/* Checkbox & Radio overrides */
.form-check-input {
  background-color: var(--bg-surface) !important;
  border-color: var(--border-subtle) !important;
}
.form-check-input:checked {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}
.form-check-label { text-transform: none; letter-spacing: normal; }

/* Crispy forms button override */
.btn-success, input[type="submit"].btn {
  background: var(--primary) !important;
  color: var(--bg-void) !important;
  border: none !important;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}
.btn-success:hover, input[type="submit"].btn:hover {
  box-shadow: 0 8px 25px rgba(10,255,233,0.35);
  transform: translateY(-1px);
}

/* â”€â”€ Status Badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.badge-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.badge-pending {
  color: var(--warning) !important;
  background: rgba(255,184,48,0.1) !important;
  border: 1px solid rgba(255,184,48,0.2);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500;
}
.badge-pending::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--warning); box-shadow: 0 0 6px var(--warning);
}

.badge-confirmed {
  color: var(--primary) !important;
  background: var(--primary-glow) !important;
  border: 1px solid var(--border-accent);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500;
}
.badge-confirmed::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 6px var(--primary);
}

.badge-cancelled {
  color: var(--danger) !important;
  background: rgba(255,77,109,0.1) !important;
  border: 1px solid rgba(255,77,109,0.2);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500;
}
.badge-cancelled::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--danger); box-shadow: 0 0 6px var(--danger);
}

.badge-completed {
  color: var(--success) !important;
  background: rgba(0,230,118,0.1) !important;
  border: 1px solid rgba(0,230,118,0.2);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500;
}
.badge-completed::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 6px var(--success);
}

.badge-no_show {
  color: var(--text-muted) !important;
  background: rgba(61,79,104,0.2) !important;
  border: 1px solid var(--border-subtle);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500;
}
.badge-no_show::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted); box-shadow: 0 0 6px var(--text-muted);
}

.badge-rejected {
  color: #E74C3C !important;
  background: rgba(231,76,60,0.15) !important;
  border: 1px solid rgba(231,76,60,0.3);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500;
}
.badge-rejected::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #E74C3C; box-shadow: 0 0 6px rgba(231,76,60,0.5);
}

/* â”€â”€ Stat Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stat-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
  text-align: left;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::after { opacity: 1; }
.stat-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }

.stat-card-link {
  text-decoration: none;
  display: block;
  color: inherit;
}
.stat-card-link:hover .stat-card {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.stat-card-link:hover .stat-card::after {
  opacity: 1;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 8px;
}

.stat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-glow);
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* â”€â”€ Table Styles â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.table-premium,
.table-dark-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  --bs-table-bg: transparent;
}

.table-premium thead th,
.table-dark-custom th {
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  border-color: var(--border-subtle);
}

.table-premium tbody tr,
.table-dark-custom tbody tr {
  transition: background 0.2s ease;
  border-bottom: 1px solid var(--border-subtle);
}

.table-premium tbody tr:hover,
.table-dark-custom tr:hover td {
  background: var(--bg-glass);
}

.table-premium tbody td,
.table-dark-custom td {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-primary);
  vertical-align: middle;
  border-color: var(--border-subtle);
}

/* â”€â”€ Navbar Premium â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.navbar-premium,
.navbar-medibook {
  background: rgba(6,11,20,0.45) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 40px;
  min-height: 68px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand,
.navbar-brand-logo {
  font-family: var(--font-heading) !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  background: none !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

.navbar-brand-icon {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-void);
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-link-premium,
.navbar-medibook .nav-link {
  color: var(--text-secondary) !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-link-premium:hover,
.navbar-medibook .nav-link:hover {
  color: var(--text-primary) !important;
  background: var(--bg-glass);
}

.navbar-medibook .nav-link.active {
  color: var(--primary) !important;
}

/* Notification bell */
.notif-bell {
  position: relative;
  color: var(--text-secondary);
  font-size: 1.15rem;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}
.notif-bell:hover { color: var(--primary); }

.notif-badge {
  position: absolute;
  top: -6px; right: -8px;
  min-width: 18px; height: 18px;
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg-void);
  box-shadow: 0 0 12px var(--primary);
  animation: pulse 2s infinite;
}

.notification-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 6px; right: 6px;
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* â”€â”€ Dropdown Overrides â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dropdown-menu {
  background: var(--bg-deep) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-card) !important;
  padding: 8px !important;
}

.dropdown-item {
  color: var(--text-secondary) !important;
  border-radius: var(--radius-sm);
  padding: 8px 12px !important;
  font-size: 0.875rem;
  transition: all 0.15s ease;
}

.dropdown-item:hover, .dropdown-item:focus {
  background: var(--bg-glass) !important;
  color: var(--text-primary) !important;
}

.dropdown-item.text-light { color: var(--text-secondary) !important; }
.dropdown-item.text-light:hover { color: var(--text-primary) !important; }

.dropdown-item.text-danger {
  color: var(--danger) !important;
}

.dropdown-divider { border-color: var(--border-subtle) !important; }

/* â”€â”€ Page Header Override â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.page-header {
  background: linear-gradient(135deg, rgba(10,255,233,0.04) 0%, rgba(10,255,233,0.01) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  font-size: 1.75rem;
}

/* â”€â”€ Alerts â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.alert {
  border-radius: var(--radius-md);
  border: 1px solid;
  font-weight: 500;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.alert-success { background: rgba(0,230,118,0.08); color: var(--success); border-color: rgba(0,230,118,0.2); }
.alert-danger  { background: rgba(255,77,109,0.08); color: var(--danger); border-color: rgba(255,77,109,0.2); }
.alert-warning { background: rgba(255,184,48,0.08); color: var(--warning); border-color: rgba(255,184,48,0.2); }
.alert-info    { background: rgba(10,255,233,0.08); color: var(--primary); border-color: var(--border-accent); }

.btn-close-white { filter: invert(1); }

/* â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer-premium,
.footer-medibook {
  background: rgba(6,11,20,0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0;
  margin-top: 4rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
}

.footer-premium a,
.footer-medibook a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-premium a:hover,
.footer-medibook a:hover { color: var(--primary); }

/* â”€â”€ Pagination â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pagination { gap: 4px; }

.page-item .page-link {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-secondary) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 14px;
  transition: all 0.2s ease;
}

.page-item .page-link:hover {
  border-color: var(--border-accent) !important;
  color: var(--primary) !important;
  background: var(--primary-glow) !important;
}

.page-item.active .page-link {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--bg-void) !important;
}

/* â”€â”€ Animations â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(10,255,233,0.1); }
  50% { box-shadow: 0 0 40px rgba(10,255,233,0.2); }
}

.animate-in, .fade-in-up { animation: fadeInUp 0.5s cubic-bezier(0.4,0,0.2,1) forwards; }
.animate-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-in-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-in-delay-4 { animation-delay: 0.3s; opacity: 0; }

/* â”€â”€ Hero Section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-void);
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  animation: fadeInVideo 1s ease 0.2s forwards;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: heroVideoEntrance 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes heroVideoEntrance {
  from { transform: scale(1.06); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

@keyframes fadeInVideo {
  to { opacity: 1; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 11, 20, 0.82) 0%,
    rgba(6, 11, 20, 0.55) 50%,
    rgba(6, 11, 20, 0.75) 100%
  );
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    rgba(6, 11, 20, 0.6) 100%
  );
  z-index: 2;
}

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

.hero-section::before {
  display: none !important;
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(
      135deg,
      rgba(6, 11, 20, 0.90) 0%,
      rgba(6, 11, 20, 0.75) 100%
    );
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 0 2.5rem;
  line-height: 1.7;
}

.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 0;
  font-variant-numeric: tabular-nums;
}

.stats-bar-item {
  text-align: center;
}

.stats-bar-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stats-bar-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stats-bar-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* â”€â”€ Specialty Scroll â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.specialty-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.specialty-scroll::-webkit-scrollbar { display: none; }

.specialty-card {
  min-width: 200px;
  flex-shrink: 0;
  padding: 28px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.specialty-card:hover {
  background: var(--primary-glow);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.specialty-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--primary-glow);
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.step-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--primary-glow);
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.3rem;
  color: var(--primary);
}

.step-number {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* â”€â”€ Doctor Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.doctor-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--border-accent);
  box-shadow: 0 0 20px rgba(10,255,233,0.1);
  object-fit: cover;
  flex-shrink: 0;
}

.doctor-photo-lg {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: 0 0 30px rgba(10,255,233,0.15);
  object-fit: cover;
}

.doctor-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg-void);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  flex-shrink: 0;
}

.doctor-initials-sm {
  width: 64px; height: 64px;
  border-radius: 50%;
  font-size: 1.2rem;
}

.doctor-initials-lg {
  width: 120px; height: 120px;
  border-radius: 50%;
  font-size: 2.5rem;
  margin: 0 auto 1rem;
}

/* â”€â”€ Rating Stars â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rating-stars { color: var(--warning); font-size: 0.85rem; }

/* â”€â”€ Experience Chip â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* â”€â”€ Date Tab / Slot Picker â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.date-tab {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-md) !important;
  padding: 10px 16px !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
  font-family: var(--font-body);
}

.date-tab:hover,
.date-tab.active {
  border-color: var(--border-accent) !important;
  background: var(--primary-glow) !important;
  color: var(--primary) !important;
}

.slot-btn {
  background: rgba(10,255,233,0.08);
  border: 1px solid var(--border-accent);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  padding: 10px;
  transition: all 0.2s ease;
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.slot-btn:hover {
  background: var(--primary);
  color: var(--bg-void);
  box-shadow: 0 4px 20px rgba(10,255,233,0.3);
}

/* â”€â”€ Timeline List â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.timeline-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s ease;
}

.timeline-item:hover {
  background: var(--bg-glass);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: var(--radius-sm);
}

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

.timeline-bar {
  width: 3px;
  height: 100%;
  min-height: 48px;
  background: var(--primary);
  border-radius: 3px;
  flex-shrink: 0;
}

/* â”€â”€ Notification Items â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.notif-item {
  border-left: 3px solid var(--text-muted);
  transition: all 0.2s ease;
}

.notif-item.unread {
  border-left-color: var(--primary);
  background: var(--bg-glass);
}

/* â”€â”€ Section Headers â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section-header {
  margin-bottom: 56px;
  position: relative;
}

.section-header::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  margin: 0 auto 20px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* â”€â”€ Auth Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.auth-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  max-width: 440px;
  padding: 48px;
  margin: 0 auto;
}

.auth-logo {
  width: 56px; height: 56px;
  background: var(--primary);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-void);
  font-size: 1.5rem;
  margin: 0 auto 24px;
  box-shadow: 0 0 30px rgba(10,255,233,0.2);
}

/* â”€â”€ Progress Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.progress-track {
  background: rgba(255,255,255,0.06);
  border-radius: 50px;
  height: 6px;
  overflow: hidden;
}

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

/* â”€â”€ Quick Action Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.action-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s ease;
}

.action-card:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-glow);
}

.action-card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* â”€â”€ CSS-Only Bar Chart â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bar-chart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bar-chart-label {
  width: 120px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: right;
  flex-shrink: 0;
}

.bar-chart-track {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 50px;
  height: 8px;
  overflow: hidden;
}

.bar-chart-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-chart-value {
  width: 40px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 991px) {
  .page-container { padding: 24px 20px; }
  .navbar-premium, .navbar-medibook { padding: 0 16px; }
  .stats-bar { flex-wrap: wrap; gap: 16px; }
  .stats-bar-divider { display: none; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .auth-card { padding: 32px 24px; margin: 0 16px; }
  .stat-value { font-size: 1.6rem; }
  .stat-card { padding: 16px; }
  .page-header { padding: 1.5rem 0; }
  .page-header h1 { font-size: 1.3rem; }
  /* body::before { background-size: 40px 40px; } */
}

/* â”€â”€ Utility Classes â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.z-1 { position: relative; z-index: 1; }
.gap-xs { gap: 4px; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.text-teal { color: var(--primary) !important; }

/* Object-fit helper */
.object-fit-cover { object-fit: cover; }

/* Override Bootstrap text utilities for dark theme */
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-white { color: var(--text-primary) !important; }

/* Remove Bootstrap's default blue focus ring everywhere */
*:focus { outline: none; }

/* Toggler icon override */
.navbar-toggler { border: 1px solid var(--border-subtle) !important; }
.navbar-toggler:focus { box-shadow: none !important; }

/* Spinner override */
.spinner-border { color: var(--primary) !important; }

/* Fix Bootstrap card text within dark theme */
.text-light { color: var(--text-secondary) !important; }

