/**
 * SaathiMed Patient Web Application — Sovereign User Theme
 * Unified Mobile-First & Desktop Responsive Clinical Healthcare Styling
 */

:root {
  --bg-main: #030712;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-input: rgba(15, 23, 42, 0.95);
  
  --border-glass: rgba(255, 255, 255, 0.09);
  --border-focus: #0d9488;
  --border-glow: rgba(45, 212, 191, 0.25);
  
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-glow: #2dd4bf;
  --primary-subtle: rgba(13, 148, 136, 0.15);
  
  --secondary: #0284c7;
  --secondary-glow: #38bdf8;
  --secondary-subtle: rgba(2, 132, 199, 0.15);

  --accent-purple: #7c3aed;
  --accent-purple-glow: #a855f7;
  
  --emerald: #10b981;
  --emerald-subtle: rgba(16, 185, 129, 0.15);
  --amber: #f59e0b;
  --amber-subtle: rgba(245, 158, 11, 0.15);
  --rose: #ef4444;
  --rose-subtle: rgba(239, 68, 68, 0.15);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 20px rgba(45, 212, 191, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(13, 148, 136, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(2, 132, 199, 0.08) 0%, transparent 45%);
  background-attachment: fixed;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; outline: none; }
input, select, textarea { font-family: inherit; outline: none; }

.font-mono { font-family: var(--font-mono); }
.text-teal { color: var(--primary-glow); }
.text-cyan { color: var(--secondary-glow); }
.text-green { color: var(--emerald); }
.text-amber { color: var(--amber); }
.text-rose { color: var(--rose); }
.text-muted { color: var(--text-muted); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.badge-teal { background: var(--primary-subtle); color: var(--primary-glow); border: 1px solid rgba(45, 212, 191, 0.3); }
.badge-blue { background: var(--secondary-subtle); color: var(--secondary-glow); border: 1px solid rgba(56, 189, 248, 0.3); }
.badge-green { background: var(--emerald-subtle); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-amber { background: var(--amber-subtle); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-rose { background: var(--rose-subtle); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

/* Buttons */
.btn-user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn-user-primary {
  background: linear-gradient(135deg, var(--primary), #0284c7);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}
.btn-user-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.45);
}
.btn-user-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}
.btn-user-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn-user-emerald {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
}
.btn-user-danger {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}
.btn-user-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   App Shell Layout
   ========================================================================== */
.user-app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

/* Top App Header */
.user-top-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
}
.brand-title-wrap {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.3px;
}
.brand-title span {
  color: var(--primary-glow);
}
.brand-sub {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-abha-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(13, 148, 136, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-glow);
}
.header-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  cursor: pointer;
}
.user-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0d9488, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
}
.user-name-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

/* Desktop Navigation Ribbon */
.desktop-nav-ribbon {
  display: none;
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid var(--border-glass);
  padding: 0 20px;
}
.desktop-nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  overflow-x: auto;
}
.desktop-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
}
.desktop-nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}
.desktop-nav-link.active {
  color: var(--primary-glow);
  border-bottom-color: var(--primary-glow);
  font-weight: 700;
}

/* Main Content Area */
.user-main-stage {
  flex: 1;
  padding: 20px 16px 90px 16px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

/* Mobile Bottom Navigation Bar */
.user-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(3, 7, 18, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 10px;
  transition: all 0.15s ease;
  cursor: pointer;
}
.bottom-nav-item i {
  font-size: 18px;
}
.bottom-nav-item.active {
  color: var(--primary-glow);
}
.bottom-nav-item.active i {
  transform: translateY(-2px);
}
/* Elevated Center QR Scan Button */
.bottom-nav-center-scan {
  position: relative;
  top: -16px;
  background: linear-gradient(135deg, var(--primary), #0284c7);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.5);
  border: 3px solid var(--bg-main);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.bottom-nav-center-scan:hover {
  transform: scale(1.08);
}
.bottom-nav-center-scan i {
  font-size: 22px;
}

/* ==========================================================================
   Cards & Layout Components
   ========================================================================== */
.user-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.user-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.user-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.user-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Active Hospital Check-in Token Banner */
.active-token-hero-card {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.18), rgba(2, 132, 199, 0.22));
  border: 1.5px solid rgba(45, 212, 191, 0.4);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.2);
}
.active-token-hero-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.token-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.token-hero-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.token-large-num {
  font-size: 44px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--primary-glow);
  line-height: 1;
}
.token-pulse-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-full);
  color: #34d399;
  font-size: 11px;
  font-weight: 800;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseLive 1.5s infinite;
}
@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Quick Action Grid */
.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .quick-action-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.quick-action-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.quick-action-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}
.action-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.action-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}
.action-card-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Modal System */
.user-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.user-modal-box {
  background: #0b1329;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.user-modal-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.6);
}
.user-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.user-modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: rgba(15, 23, 42, 0.6);
}

/* Form inputs */
.form-group {
  margin-bottom: 14px;
}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.user-input, .user-select, .user-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  color: #ffffff;
  font-size: 13.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.user-input:focus, .user-select:focus, .user-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

/* Toast Notifications */
.user-toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: 90%;
  max-width: 440px;
}
.user-toast {
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes toastSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Desktop Enhancements */
@media (min-width: 1024px) {
  .desktop-nav-ribbon {
    display: block;
  }
  .user-bottom-nav {
    display: none;
  }
  .user-main-stage {
    padding-bottom: 40px;
  }
}

/* ==========================================================================
   Additional View Styles (Doctors, Appointments, Records, Pharmacy, Lab, Teleconsult, SOS, ABHA)
   ========================================================================== */

/* Page Headers & Common */
.user-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}
.page-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.page-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.page-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Specialty Filter Pills */
.specialty-pills-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.specialty-pills-bar::-webkit-scrollbar { display: none; }
.specialty-pill {
  padding: 7px 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.specialty-pill.active, .specialty-pill:hover {
  background: var(--primary-subtle);
  border-color: var(--primary);
  color: var(--primary-glow);
}

/* Doctors Grid */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}
.doctor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.doctor-card:hover {
  border-color: rgba(45, 212, 191, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.doctor-card-header {
  display: flex;
  gap: 14px;
}
.doctor-avatar-wrap {
  position: relative;
}
.doctor-avatar-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d9488, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}
.verified-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0b1329;
}
.doctor-primary-info { flex: 1; }
.doctor-name { font-size: 16px; font-weight: 800; color: #fff; }
.doctor-specialty { font-size: 13px; font-weight: 700; color: var(--primary-glow); margin-top: 1px; }
.doctor-qual { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.doctor-hospital { font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.rating-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.doctor-schedule-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.9);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  margin: 12px 0;
  font-size: 12px;
}
.doctor-slots-preview { margin-bottom: 14px; }
.slots-label { font-size: 11px; color: var(--text-muted); display: block; margin-bottom: 6px; }
.slot-chips-row { display: flex; gap: 6px; flex-wrap: wrap; }
.slot-chip {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  font-size: 11.5px;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
}
.slot-chip:hover {
  background: var(--primary-subtle);
  border-color: var(--primary);
  color: var(--primary-glow);
}
.doctor-actions-row { display: flex; gap: 8px; margin-top: auto; }

/* Appointments View */
.appointments-list { display: flex; flex-direction: column; gap: 14px; }
.appointment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.appointment-card.confirmed { border-left: 4px solid var(--emerald); }
.appointment-card.past { opacity: 0.65; }
.appointment-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.appointment-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.type-clinic { background: var(--primary-subtle); color: var(--primary-glow); }
.type-video { background: var(--secondary-subtle); color: var(--secondary-glow); }
.token-stamp {
  background: rgba(16, 185, 129, 0.15);
  border: 1px dashed var(--emerald);
  padding: 4px 12px;
  border-radius: 8px;
  text-align: center;
}
.token-lbl { font-size: 9px; color: var(--text-muted); display: block; }
.token-val { font-size: 18px; font-weight: 800; color: #34d399; font-family: var(--font-mono); }
.doctor-brief-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.doc-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.2);
  color: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.appointment-doc-name { font-size: 16px; font-weight: 800; color: #fff; }
.appointment-doc-spec { font-size: 12px; color: var(--text-muted); }
.appointment-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  background: rgba(15, 23, 42, 0.6);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}
.meta-item { display: flex; flex-direction: column; }
.meta-lbl { font-size: 11px; color: var(--text-muted); }
.meta-val { font-size: 13px; font-weight: 700; color: #fff; margin-top: 2px; }
.appointment-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-glass);
}
.appointment-actions-wrap { display: flex; gap: 8px; }

/* Records (Health Vault) */
.abha-vault-banner {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.18), rgba(2, 132, 199, 0.18));
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}
.vault-shield-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.2);
  color: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.records-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
}
.record-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.record-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.record-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.rx-badge { background: rgba(124, 58, 237, 0.2); color: #c084fc; }
.lab-badge { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.upload-badge { background: rgba(2, 132, 199, 0.2); color: #38bdf8; }
.record-date { font-size: 11px; color: var(--text-muted); }
.record-title { font-size: 16px; font-weight: 800; color: #fff; }
.record-subtitle { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.record-hospital { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }
.rx-vitals-strip {
  background: rgba(15, 23, 42, 0.8);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
}
.med-chips-list { list-style: none; padding: 0; margin-top: 6px; }
.med-chips-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #e2e8f0;
  margin-bottom: 4px;
}
.jan-savings-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 12px;
  border-radius: 8px;
  color: #34d399;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.record-card-footer {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-glass);
}

/* Pharmacy View */
.jan-awareness-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(13, 148, 136, 0.18));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}
.banner-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.pharmacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.med-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.med-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.med-cat-tag {
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-muted);
}
.savings-tag {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}
.brand-text { font-size: 15px; color: #fff; margin-left: 6px; }
.generic-text { font-size: 14px; color: var(--primary-glow); margin-left: 6px; }
.price-compare-box {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(15, 23, 42, 0.9);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}
.price-col { text-align: center; }
.price-lbl { font-size: 10px; color: var(--text-muted); display: block; text-transform: uppercase; }
.price-val { font-size: 17px; font-weight: 800; font-family: var(--font-mono); }
.strike { text-decoration: line-through; color: #64748b; }
.highlight { color: #34d399; }
.compare-divider { font-size: 16px; color: var(--text-muted); }
.savings-alert-box {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.med-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-glass);
}
.stock-indicator { font-size: 11px; font-weight: 700; }
.stock-indicator.in-stock { color: #34d399; }
.cart-badge-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lab Packages View */
.nabl-trust-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.18), rgba(124, 58, 237, 0.18));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}
.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.25);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.package-card.featured {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 0 25px rgba(13, 148, 136, 0.2);
}
.ribbon-popular {
  position: absolute;
  top: 12px;
  right: -30px;
  background: #0d9488;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 30px;
  transform: rotate(45deg);
  letter-spacing: 0.5px;
}
.package-title { font-size: 16px; font-weight: 800; color: #fff; }
.package-tags-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pkg-tag {
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-muted);
}
.package-pricing-strip { display: flex; justify-content: space-between; align-items: flex-end; }
.package-price-bold { font-size: 24px; font-weight: 800; color: #34d399; font-family: var(--font-mono); }
.save-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.tests-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}
.specimen-badge {
  background: rgba(124, 58, 237, 0.15);
  color: #c084fc;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

/* Teleconsultation Room */
.teleconsult-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) {
  .teleconsult-grid { grid-template-columns: 2fr 1fr; }
}
.tele-video-container {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-glass);
}
.doctor-video-feed { width: 100%; height: 100%; position: relative; }
.doc-video-mock {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1e293b 0%, #030712 100%);
}
.doc-video-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.25);
  color: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border: 2px solid var(--primary);
}
.doc-name-tag {
  margin-top: 12px;
  color: #fff;
  font-size: 15px;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
}
.video-security-watermark {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-muted);
}
.self-video-pip {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 120px;
  height: 80px;
  background: #0f172a;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.self-pip-avatar { font-size: 24px; color: #64748b; }
.self-pip-label { font-size: 9px; color: var(--text-muted); margin-top: 4px; }
.tele-call-controls-bar {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}
.call-ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.call-ctrl-btn:hover { background: rgba(255, 255, 255, 0.2); }
.call-ctrl-btn.btn-ctrl-active { background: #ef4444; color: #fff; }
.btn-hangup { background: #ef4444 !important; }
.tele-chat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 380px;
}
.tele-chat-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-glass);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tele-chat-body {
  padding: 14px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-bubble {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12.5px;
}
.from-doctor {
  align-self: flex-start;
  background: rgba(13, 148, 136, 0.2);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: #f1f5f9;
}
.from-patient {
  align-self: flex-end;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #fff;
}
.chat-author { font-size: 10px; font-weight: 700; color: var(--primary-glow); margin-bottom: 2px; }
.chat-time { font-size: 9px; color: var(--text-dim); text-align: right; margin-top: 3px; }
.tele-chat-input-row {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-top: 1px solid var(--border-glass);
}

/* Emergency SOS View */
.emergency-alert-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(185, 28, 28, 0.35));
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.emergency-header-strip { display: flex; align-items: center; gap: 8px; color: #fca5a5; font-size: 14px; }
.sos-button-wrapper { display: inline-block; position: relative; }
.sos-big-btn {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border: 6px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  animation: pulseSos 2s infinite;
}
@keyframes pulseSos {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 30px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.sos-big-btn:hover { transform: scale(1.05); }
.sos-inner-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.sos-icon { font-size: 38px; margin-bottom: 4px; }
.sos-text { font-size: 20px; font-weight: 900; letter-spacing: 1px; }
.sos-sub { font-size: 9px; font-weight: 800; letter-spacing: 0.5px; opacity: 0.9; }
.sos-active { background: #10b981 !important; border-color: #34d399 !important; animation: none !important; }
.ambulance-telemetry-card {
  background: var(--bg-card);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.telemetry-header { display: flex; justify-content: space-between; align-items: center; }
.eta-pill {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}
.telemetry-step-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
}
.step-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-dim);
}
.step-point.done { color: #34d399; }
.step-point.active { color: #ef4444; font-weight: 700; }
.step-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 8px;
}
.step-line.done { background: #34d399; }
.medical-id-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.medical-id-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.med-id-item {
  background: rgba(15, 23, 42, 0.8);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}
.med-id-lbl { font-size: 10px; color: var(--text-muted); display: block; text-transform: uppercase; }
.med-id-val { font-size: 13.5px; font-weight: 600; color: #fff; margin-top: 2px; }
.helplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.helpline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.helpline-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
}
.helpline-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.helpline-info { flex: 1; }
.helpline-name { font-size: 13px; color: #fff; display: block; }
.helpline-num { font-size: 15px; font-weight: 800; }
.helpline-dial-icon { color: var(--text-dim); font-size: 16px; }

/* Profile View & ABHA Physical Card */
.abha-physical-card {
  background: linear-gradient(135deg, #0b1329 0%, #111e38 50%, #081024 100%);
  border: 2px solid rgba(45, 212, 191, 0.35);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}
.abha-card-top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.national-emblem-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.abha-card-govt { font-size: 11px; font-weight: 700; color: #f8fafc; }
.abha-card-ministry { font-size: 9.5px; color: var(--text-muted); }
.abha-logo-badge {
  font-size: 14px;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: 1px;
  border: 1px solid #38bdf8;
  padding: 2px 8px;
  border-radius: 4px;
}
.abha-card-main-body {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.abha-card-photo {
  width: 70px;
  height: 80px;
  background: #1e293b;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #64748b;
}
.abha-card-details { flex: 1; min-width: 200px; }
.abha-holder-name { font-size: 18px; font-weight: 800; color: #fff; }
.abha-number { font-size: 15px; color: var(--primary-glow); }
.abha-address { font-size: 13px; color: #38bdf8; }
.abha-lbl { font-size: 11px; color: var(--text-muted); margin-right: 6px; }
.abha-card-qr-box {
  width: 80px;
  text-align: center;
}
.abha-qr-placeholder { font-size: 64px; color: #fff; }
.abha-card-bottom-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: var(--text-dim);
}
.btn-abha-download {
  color: var(--primary-glow);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.profile-two-col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px) {
  .profile-two-col-grid { grid-template-columns: 1fr 1fr; }
}
.card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.card-box-header { margin-bottom: 14px; }
.card-box-title { font-size: 15px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 8px; }
.family-members-list { display: flex; flex-direction: column; gap: 10px; }
.family-member-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.7);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}
.family-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.family-details { flex: 1; }
.family-name { font-size: 13.5px; color: #fff; }

/* Modals extra styling */
.modal-dialog-card {
  background: #0b1329;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.7);
}
.modal-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.2);
  color: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.modal-title { font-size: 16px; font-weight: 800; color: #fff; }
.modal-sub { font-size: 12px; color: var(--text-muted); }
.modal-close-btn { font-size: 24px; color: var(--text-muted); cursor: pointer; }
.modal-body { padding: 20px; overflow-y: auto; flex: 1; }
.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: rgba(15, 23, 42, 0.7);
}
.consult-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.toggle-option {
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.toggle-option.selected {
  border-color: var(--primary);
  background: rgba(13, 148, 136, 0.15);
}
.date-picker-pills { display: flex; gap: 8px; }
.date-pill {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
}
.date-pill.active {
  background: var(--primary-subtle);
  border-color: var(--primary);
  color: var(--primary-glow);
  font-weight: 700;
}
.slot-grid-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.slot-select-btn {
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}
.slot-select-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.fee-summary-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px;
}
.cart-items-list { display: flex; flex-direction: column; gap: 8px; }
.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.8);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}
.cart-item-controls { display: flex; align-items: center; gap: 10px; }
.qty-control-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px 6px;
}
.qty-btn { width: 20px; height: 20px; color: #fff; font-size: 14px; font-weight: 800; }
.qty-num { font-size: 12px; font-weight: 800; min-width: 14px; text-align: center; }
.cart-del-btn { color: #ef4444; font-size: 13px; cursor: pointer; }
.table-clean { width: 100%; border-collapse: collapse; }
.table-clean th, .table-clean td { padding: 10px 12px; border-bottom: 1px solid var(--border-glass); text-align: left; }
.table-clean th { font-size: 11px; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.table-warning-row { background: rgba(239, 68, 68, 0.08); }
