/* ═══════════════════════════════════════════════════════════════
   AWADHMED PREMIUM BRIGHT THEME — FINAL OVERRIDE
   Source style: uploaded AwadhMed bright PDF theme.
   Purpose: keep MediLux dark unchanged, but make bright mode blue + gold.
   Loaded LAST after older teal/red bright files so it wins safely.
═══════════════════════════════════════════════════════════════ */

html[data-theme="bright"],
html.theme-bright,
html[data-theme="bright"] body,
body.theme-bright {
  color-scheme: light;

  /* Brand gold */
  --gold:#c9a84c !important;
  --gold-light:#e8c96a !important;
  --gold-dark:#9a7530 !important;
  --gold-glow:rgba(201,168,76,.22) !important;

  /* Premium blue */
  --primary:#1a56c4 !important;
  --primary-l:#e8f0fe !important;
  --primary-dark:#1445a8 !important;
  --ice:#1a56c4 !important;
  --rose:#e05c7a !important;
  --mint:#16a34a !important;

  /* Surfaces */
  --void:#f4f6fb !important;
  --deep:#edf0f8 !important;
  --surface:#ffffff !important;
  --bg-base:#f4f6fb !important;
  --bg-layer:#edf0f8 !important;
  --bg-card:#ffffff !important;
  --bg-glass:rgba(255,255,255,.92) !important;
  --input-bg:#ffffff !important;
  --header-bg:rgba(255,255,255,.94) !important;

  /* Text */
  --text:#1a1a2e !important;
  --text-primary:#1a1a2e !important;
  --text-secondary:#4a5568 !important;
  --muted:#9aa5b4 !important;
  --text-muted:#b0bbc8 !important;

  /* Borders + shadows */
  --dim:#d1d9e8 !important;
  --border-glass:#e8edf5 !important;
  --glass:rgba(255,255,255,.92) !important;
  --glass-border:#e8edf5 !important;
  --shadow-gold:0 4px 24px rgba(201,168,76,.22) !important;
  --shadow-card:0 2px 12px rgba(26,86,196,.08) !important;
  --shadow-lg:0 8px 40px rgba(26,86,196,.13) !important;

  /* Normalize older MediLux aliases to the same premium palette */
  --mx-bg-0:#f4f6fb !important;
  --mx-bg-1:#edf0f8 !important;
  --mx-bg-2:#ffffff !important;
  --mx-panel:#ffffff !important;
  --mx-panel-strong:#ffffff !important;
  --mx-panel-soft:rgba(255,255,255,.92) !important;
  --mx-line:#e8edf5 !important;
  --mx-line-strong:#d1d9e8 !important;
  --mx-cyan:#1a56c4 !important;
  --mx-cyan-2:#1445a8 !important;
  --mx-teal:#1a56c4 !important;
  --mx-emerald:#166534 !important;
  --mx-lime:#dcfce7 !important;
  --mx-white:#1a1a2e !important;
  --mx-text:#1a1a2e !important;
  --mx-text-soft:#4a5568 !important;
  --mx-muted:#9aa5b4 !important;
  --mx-muted-2:#b0bbc8 !important;
  --mx-gold:#c9a84c !important;
  --mx-rose:#e05c7a !important;
  --mx-blue:#1a56c4 !important;
  --mx-shadow:0 8px 40px rgba(26,86,196,.13) !important;
  --mx-glow:0 4px 24px rgba(201,168,76,.22) !important;
}

html[data-theme="bright"] body,
body.theme-bright {
  font-family:'Inter','Montserrat','Poppins',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(201,168,76,.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(26,86,196,.05) 0%, transparent 60%),
    #f4f6fb !important;
  color:#1a1a2e !important;
}

html[data-theme="bright"] body::before,
body.theme-bright::before {
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(201,168,76,.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(26,86,196,.05) 0%, transparent 60%) !important;
  opacity:1 !important;
}

html[data-theme="bright"] ::-webkit-scrollbar-track { background:#f4f6fb !important; }
html[data-theme="bright"] ::-webkit-scrollbar-thumb { background:#1a56c4 !important; border-radius:3px !important; }

/* Header / Navigation */
html[data-theme="bright"] header,
html[data-theme="bright"] .topbar,
html[data-theme="bright"] .navbar,
html[data-theme="bright"] .site-header,
html[data-theme="bright"] .app-header {
  background:rgba(255,255,255,.94) !important;
  border-bottom:1px solid #e8edf5 !important;
  box-shadow:0 1px 8px rgba(26,86,196,.06) !important;
  backdrop-filter:blur(24px) saturate(1.5) !important;
}

html[data-theme="bright"] .brand-text,
html[data-theme="bright"] .logo-text,
html[data-theme="bright"] .site-title { color:#1a1a2e !important; }
html[data-theme="bright"] .brand-sub,
html[data-theme="bright"] .tagline { color:#c9a84c !important; }
html[data-theme="bright"] .brand-icon,
html[data-theme="bright"] .logo-mark {
  background:linear-gradient(135deg,#9a7530,#e8c96a) !important;
  border-color:#c9a84c !important;
  color:#fff !important;
}

html[data-theme="bright"] .section-tab,
html[data-theme="bright"] .nav-tab,
html[data-theme="bright"] .header-nav-btn,
html[data-theme="bright"] .header-right-btn,
html[data-theme="bright"] .aw-theme-toggle,
html[data-theme="bright"] .aw-floating-theme-toggle {
  color:#4a5568 !important;
  border-color:#e8edf5 !important;
  background:#ffffff !important;
}
html[data-theme="bright"] .section-tab:hover,
html[data-theme="bright"] .nav-tab:hover,
html[data-theme="bright"] .header-nav-btn:hover,
html[data-theme="bright"] .header-right-btn:hover,
html[data-theme="bright"] .aw-theme-toggle:hover,
html[data-theme="bright"] .aw-floating-theme-toggle:hover {
  color:#1a56c4 !important;
  border-color:#1a56c4 !important;
  background:#e8f0fe !important;
  box-shadow:0 8px 24px rgba(26,86,196,.12) !important;
}
html[data-theme="bright"] .section-tab.active-blue,
html[data-theme="bright"] .section-tab.active,
html[data-theme="bright"] .nav-tab.active {
  color:#1a56c4 !important;
  border-bottom-color:#1a56c4 !important;
  background:rgba(26,86,196,.06) !important;
}
html[data-theme="bright"] .section-tab.active-gold { color:#9a7530 !important; border-bottom-color:#c9a84c !important; background:rgba(201,168,76,.08) !important; }
html[data-theme="bright"] .section-tab.active-rose { color:#c0536a !important; border-bottom-color:#f5a0a0 !important; background:rgba(192,83,106,.06) !important; }

/* Hero */
html[data-theme="bright"] .hero,
html[data-theme="bright"] .hero-section,
html[data-theme="bright"] #heroSection { background:transparent !important; }
html[data-theme="bright"] .hero-eyebrow,
html[data-theme="bright"] .medilux-eyebrow,
html[data-theme="bright"] .section-eyebrow,
html[data-theme="bright"] .featured-eyebrow {
  color:#1a56c4 !important;
  background:rgba(26,86,196,.06) !important;
  border-color:rgba(26,86,196,.15) !important;
}
html[data-theme="bright"] .hero-eyebrow::before,
html[data-theme="bright"] .eyebrow-dot,
html[data-theme="bright"] .medilux-pulse { background:#1a56c4 !important; }
html[data-theme="bright"] .hero h1,
html[data-theme="bright"] .hero-title,
html[data-theme="bright"] .hero-line,
html[data-theme="bright"] .featured-title,
html[data-theme="bright"] h1,
html[data-theme="bright"] h2,
html[data-theme="bright"] h3 { color:#1a1a2e !important; }
html[data-theme="bright"] .hero h1 em,
html[data-theme="bright"] .hero-title em,
html[data-theme="bright"] .hero-line-2 em,
html[data-theme="bright"] .featured-title em { color:#1a56c4 !important; }
html[data-theme="bright"] .hero-desc,
html[data-theme="bright"] .featured-subtitle,
html[data-theme="bright"] p { color:#4a5568; }
html[data-theme="bright"] .hero-trust-item,
html[data-theme="bright"] .hsc-label { color:#4a5568 !important; }
html[data-theme="bright"] .hero-trust-item i,
html[data-theme="bright"] .hsc-num { color:#1a56c4 !important; }
html[data-theme="bright"] .ring { border-color:rgba(26,86,196,.12) !important; }
html[data-theme="bright"] .hero-center-badge,
html[data-theme="bright"] .medilux-cta,
html[data-theme="bright"] .book-btn,
html[data-theme="bright"] .clinic-search-btn,
html[data-theme="bright"] .hosp-filter-btn.active {
  background:linear-gradient(135deg,#1445a8,#1a56c4) !important;
  border-color:transparent !important;
  color:#fff !important;
}
html[data-theme="bright"] .medilux-cta:hover,
html[data-theme="bright"] .book-btn:hover { box-shadow:0 8px 24px rgba(26,86,196,.35) !important; }
html[data-theme="bright"] .medilux-cta-secondary {
  background:#ffffff !important;
  color:#1a56c4 !important;
  border-color:rgba(26,86,196,.20) !important;
}
html[data-theme="bright"] .medilux-cta-secondary:hover {
  background:#e8f0fe !important;
  box-shadow:0 8px 24px rgba(26,86,196,.12) !important;
}
html[data-theme="bright"] .hero-stat-card,
html[data-theme="bright"] .medilux-kpi,
html[data-theme="bright"] .medilux-trust-strip > div,
html[data-theme="bright"] .medilux-orb-card {
  background:#ffffff !important;
  border-color:#e8edf5 !important;
  box-shadow:0 4px 16px rgba(26,86,196,.10) !important;
}
html[data-theme="bright"] .medilux-kpi b,
html[data-theme="bright"] .medilux-orb-metric b,
html[data-theme="bright"] .medilux-orb-title { color:#1a56c4 !important; }

/* Panels, cards, sections */
html[data-theme="bright"] .glass,
html[data-theme="bright"] .glass-strong,
html[data-theme="bright"] .search-panel,
html[data-theme="bright"] .section-switcher,
html[data-theme="bright"] .featured-section,
html[data-theme="bright"] .medicine-panel,
html[data-theme="bright"] .search-results-panel,
html[data-theme="bright"] .doctor-card,
html[data-theme="bright"] .hospital-card,
html[data-theme="bright"] .clinic-card,
html[data-theme="bright"] .service-card,
html[data-theme="bright"] .vision-card,
html[data-theme="bright"] .panel,
html[data-theme="bright"] .card,
html[data-theme="bright"] .admin-card,
html[data-theme="bright"] .admin-table-wrap,
html[data-theme="bright"] .udb-panel,
html[data-theme="bright"] .cart-panel,
html[data-theme="bright"] .checkout-box,
html[data-theme="bright"] .modal-box,
html[data-theme="bright"] .med-modal-box,
html[data-theme="bright"] .doc-locker-panel,
html[data-theme="bright"] .ai-chat-panel {
  background:#ffffff !important;
  border-color:#e8edf5 !important;
  box-shadow:0 2px 12px rgba(26,86,196,.08) !important;
}
html[data-theme="bright"] .search-panel::before,
html[data-theme="bright"] .card-top-line,
html[data-theme="bright"] .ai-chat-panel-med::before {
  background:linear-gradient(90deg,transparent,#1a56c4,#c9a84c,transparent) !important;
}
html[data-theme="bright"] .gold-divider::before,
html[data-theme="bright"] .gold-divider::after {
  background:linear-gradient(90deg,transparent,#1a56c4,transparent) !important;
}
html[data-theme="bright"] .gold-divider-icon { color:#c9a84c !important; }

html[data-theme="bright"] .doctor-card:hover,
html[data-theme="bright"] .hospital-card:hover,
html[data-theme="bright"] .clinic-card:hover,
html[data-theme="bright"] .service-card:hover,
html[data-theme="bright"] .vision-card:hover {
  border-color:#1a56c4 !important;
  box-shadow:0 8px 40px rgba(26,86,196,.13) !important;
}

/* Medicine module */
html[data-theme="bright"] .med-title,
html[data-theme="bright"] .med-card-name,
html[data-theme="bright"] .med-detail-name,
html[data-theme="bright"] .srp-title,
html[data-theme="bright"] .cart-item-name,
html[data-theme="bright"] .cart-row.total,
html[data-theme="bright"] .doc-summary .summary-name,
html[data-theme="bright"] .doctor-name,
html[data-theme="bright"] .hospital-card-name,
html[data-theme="bright"] .clinic-card-name { color:#1a1a2e !important; }
html[data-theme="bright"] .med-subtitle,
html[data-theme="bright"] .med-card-generic,
html[data-theme="bright"] .med-detail-generic,
html[data-theme="bright"] .med-price-label,
html[data-theme="bright"] .med-mrp,
html[data-theme="bright"] .srp-sub,
html[data-theme="bright"] .fee-label,
html[data-theme="bright"] .meta-label { color:#9aa5b4 !important; }
html[data-theme="bright"] .med-card {
  background:#ffffff !important;
  border:1.5px solid #e8edf5 !important;
  box-shadow:0 2px 8px rgba(26,86,196,.05) !important;
}
html[data-theme="bright"] .med-card:hover {
  border-color:#c9a84c !important;
  box-shadow:0 4px 24px rgba(201,168,76,.22) !important;
}
html[data-theme="bright"] .med-card-top-line { background:linear-gradient(90deg,transparent,#c9a84c,#e8c96a,transparent) !important; }
html[data-theme="bright"] .med-card-icon {
  background:linear-gradient(135deg,#fff8e8,#ffe8c8) !important;
  border-color:rgba(201,168,76,.25) !important;
  color:#9a7530 !important;
}
html[data-theme="bright"] .med-price,
html[data-theme="bright"] .med-detail-price,
html[data-theme="bright"] .cart-item-price,
html[data-theme="bright"] .cart-row.total span:last-child,
html[data-theme="bright"] .srp-price-val.ours { color:#166534 !important; }
html[data-theme="bright"] .med-discount,
html[data-theme="bright"] .med-detail-discount,
html[data-theme="bright"] .in-stock { background:#dcfce7 !important; color:#166534 !important; border-color:#bbf7d0 !important; }
html[data-theme="bright"] .out-stock { background:#fee2e2 !important; color:#991b1b !important; border-color:#fca5a5 !important; }
html[data-theme="bright"] .med-tag-rx { background:#fef3c7 !important; border-color:#fde68a !important; color:#92400e !important; }
html[data-theme="bright"] .med-tag-otc { background:#dbeafe !important; border-color:#bfdbfe !important; color:#1e40af !important; }
html[data-theme="bright"] .med-tag-cat,
html[data-theme="bright"] .tag-spec { background:#e8f0fe !important; border-color:rgba(26,86,196,.2) !important; color:#1a56c4 !important; }
html[data-theme="bright"] .tag-private { background:rgba(201,168,76,.1) !important; border-color:rgba(201,168,76,.25) !important; color:#9a7530 !important; }
html[data-theme="bright"] .tag-govt { background:#dcfce7 !important; border-color:#bbf7d0 !important; color:#166534 !important; }
html[data-theme="bright"] .med-cat-pill {
  background:#ffffff !important;
  border-color:#d1d9e8 !important;
  color:#4a5568 !important;
}
html[data-theme="bright"] .med-cat-pill:hover { border-color:#c9a84c !important; color:#9a7530 !important; background:rgba(201,168,76,.05) !important; }
html[data-theme="bright"] .med-cat-pill.active,
html[data-theme="bright"] .tab-btn.active {
  background:#c9a84c !important;
  border-color:#c9a84c !important;
  color:#ffffff !important;
  box-shadow:0 2px 10px rgba(201,168,76,.30) !important;
}
html[data-theme="bright"] .med-btn-buy,
html[data-theme="bright"] .med-action-buy,
html[data-theme="bright"] .cart-checkout-btn,
html[data-theme="bright"] .cart-fab,
html[data-theme="bright"] .cart-head,
html[data-theme="bright"] .udb-top {
  background:linear-gradient(135deg,#9a7530,#e8c96a) !important;
  color:#fff !important;
}
html[data-theme="bright"] .med-btn-buy:hover,
html[data-theme="bright"] .med-action-buy:hover,
html[data-theme="bright"] .cart-checkout-btn:hover { box-shadow:0 8px 24px rgba(201,168,76,.35) !important; }
html[data-theme="bright"] .med-btn-cart,
html[data-theme="bright"] .med-action-cart {
  background:#e8f0fe !important;
  border-color:rgba(26,86,196,.25) !important;
  color:#1a56c4 !important;
}
html[data-theme="bright"] .med-btn-cart:hover,
html[data-theme="bright"] .med-action-cart:hover { background:#1a56c4 !important; color:#fff !important; }

/* Inputs */
html[data-theme="bright"] textarea,
html[data-theme="bright"] input[type="text"],
html[data-theme="bright"] input[type="email"],
html[data-theme="bright"] input[type="password"],
html[data-theme="bright"] input[type="number"],
html[data-theme="bright"] input[type="tel"],
html[data-theme="bright"] input[type="date"],
html[data-theme="bright"] input[type="search"],
html[data-theme="bright"] select,
html[data-theme="bright"] .filter-select,
html[data-theme="bright"] .filter-input,
html[data-theme="bright"] #searchInput,
html[data-theme="bright"] #medSearchInput,
html[data-theme="bright"] #clinicSearchInput,
html[data-theme="bright"] .lf-input,
html[data-theme="bright"] .ai-chat-input {
  background:#f4f6fb !important;
  color:#1a1a2e !important;
  border-color:#e8edf5 !important;
}
html[data-theme="bright"] textarea:focus,
html[data-theme="bright"] input:focus,
html[data-theme="bright"] select:focus,
html[data-theme="bright"] .filter-select:focus,
html[data-theme="bright"] .filter-input:focus,
html[data-theme="bright"] #searchInput:focus,
html[data-theme="bright"] #medSearchInput:focus,
html[data-theme="bright"] .lf-input:focus {
  border-color:#1a56c4 !important;
  box-shadow:0 0 0 3px rgba(26,86,196,.10) !important;
  outline:none !important;
}
html[data-theme="bright"] ::placeholder { color:#9aa5b4 !important; }
html[data-theme="bright"] select option { background:#ffffff !important; color:#1a1a2e !important; }
html[data-theme="bright"] .search-label { color:#1a56c4 !important; }
html[data-theme="bright"] .med-search-btn {
  background:#1a56c4 !important;
  color:#fff !important;
}
html[data-theme="bright"] .med-search-btn:hover { background:#1445a8 !important; }

/* Cart, checkout, dashboard, modals */
html[data-theme="bright"] .cart-item,
html[data-theme="bright"] .udb-action,
html[data-theme="bright"] .udb-appt-card,
html[data-theme="bright"] .doc-summary,
html[data-theme="bright"] .dlp-stat,
html[data-theme="bright"] .dlp-upload-area,
html[data-theme="bright"] .dlp-list,
html[data-theme="bright"] .med-info-card,
html[data-theme="bright"] .med-detail-banner,
html[data-theme="bright"] .srp-item,
html[data-theme="bright"] .ai-chat-messages,
html[data-theme="bright"] .card-footer {
  background:#f4f6fb !important;
  border-color:#e8edf5 !important;
}
html[data-theme="bright"] .modal-overlay,
html[data-theme="bright"] .booking-modal-overlay,
html[data-theme="bright"] .login-backdrop,
html[data-theme="bright"] .admin-overlay { background:rgba(244,246,251,.90) !important; }
html[data-theme="bright"] .ai-msg-bot .ai-bubble-bot,
html[data-theme="bright"] .ai-bubble-bot { background:#ffffff !important; border-color:#e8edf5 !important; color:#1a1a2e !important; }
html[data-theme="bright"] #toast { background:#1a56c4 !important; color:#fff !important; }

/* Admin / panel pages */
html[data-theme="bright"] .admin-sidebar,
html[data-theme="bright"] .sidebar,
html[data-theme="bright"] aside { background:#edf0f8 !important; border-color:#e8edf5 !important; }
html[data-theme="bright"] .admin-main,
html[data-theme="bright"] .admin-content-area,
html[data-theme="bright"] main { background:#f4f6fb; }
html[data-theme="bright"] .admin-nav-item,
html[data-theme="bright"] .side-link { color:#4a5568 !important; }
html[data-theme="bright"] .admin-nav-item:hover,
html[data-theme="bright"] .admin-nav-item.active,
html[data-theme="bright"] .side-link:hover,
html[data-theme="bright"] .side-link.active {
  background:rgba(26,86,196,.06) !important;
  color:#1a56c4 !important;
}
html[data-theme="bright"] .admin-logo,
html[data-theme="bright"] .fee-amount,
html[data-theme="bright"] .doctor-qual,
html[data-theme="bright"] .hospital-card-sector span,
html[data-theme="bright"] .hc-stat-num { color:#c9a84c !important; }

/* Footer */
html[data-theme="bright"] footer,
html[data-theme="bright"] .site-footer {
  background:#edf0f8 !important;
  border-top:1px solid #e8edf5 !important;
}

/* Service cards: keep accent variety but align teal/purple/green to blue-gold family */
html[data-theme="bright"] .services-hero { background:#ffffff !important; border-color:#e8edf5 !important; box-shadow:0 8px 40px rgba(26,86,196,.10) !important; }
html[data-theme="bright"] .services-eyebrow { color:#1a56c4 !important; border-color:rgba(26,86,196,.15) !important; background:rgba(26,86,196,.06) !important; }
html[data-theme="bright"] .services-title em { color:#1a56c4 !important; }
html[data-theme="bright"] .svc-accent-blue,
html[data-theme="bright"] .svc-accent-teal,
html[data-theme="bright"] .svc-accent-purple { background:linear-gradient(90deg,#1445a8,#1a56c4,#60a5fa) !important; }
html[data-theme="bright"] .svc-accent-gold { background:linear-gradient(90deg,#9a7530,#c9a84c,#e8c96a) !important; }
html[data-theme="bright"] .svc-accent-green { background:linear-gradient(90deg,#166534,#16a34a,#86efac) !important; }
html[data-theme="bright"] .svc-accent-rose { background:linear-gradient(90deg,#c0536a,#e05c7a,#f5a0a0) !important; }
html[data-theme="bright"] .svc-icon-blue,
html[data-theme="bright"] .svc-icon-teal,
html[data-theme="bright"] .svc-icon-purple { background:#e8f0fe !important; color:#1a56c4 !important; }
html[data-theme="bright"] .svc-icon-gold { background:rgba(201,168,76,.12) !important; color:#9a7530 !important; }
html[data-theme="bright"] .svc-btn-blue,
html[data-theme="bright"] .svc-btn-teal,
html[data-theme="bright"] .svc-btn-purple { background:linear-gradient(135deg,#1445a8,#1a56c4) !important; color:#fff !important; }
html[data-theme="bright"] .svc-btn-gold { background:linear-gradient(135deg,#9a7530,#e8c96a) !important; color:#fff !important; }
html[data-theme="bright"] .svc-title { color:#1a1a2e !important; }
html[data-theme="bright"] .svc-desc,
html[data-theme="bright"] .svc-feature { color:#4a5568 !important; }
html[data-theme="bright"] .svc-feature i { color:#c9a84c !important; }
html[data-theme="bright"] .svc-stat { background:#ffffff !important; border-color:#e8edf5 !important; box-shadow:0 2px 12px rgba(26,86,196,.08) !important; }
html[data-theme="bright"] .svc-stat-num { color:#1a56c4 !important; }
html[data-theme="bright"] .svc-stat-label { color:#4a5568 !important; }
