  :root{
    --navy-deep:#0A0A22;
    --navy-panel:#17173A;
    --navy-panel-2:#121235;
    --gold:#FF3399;
    --gold-soft:#FF5CAD;
    --violet:#FF3399;
    --violet-soft:#FFC2E5;
    --text-main:#FFFFFF;
    --text-muted:#A7ACC9;
    --line:rgba(255,51,153,.18);
    --radius:14px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--navy-deep);
    color:var(--text-main);
    font-family:'Poppins',sans-serif;
    font-weight:400;
    overflow-x:hidden;
  }
  h1,h2,h3,h4,.display-font{
    font-family:'Poppins',sans-serif;
    font-weight:700;
    letter-spacing:-0.01em;
  }
  .eyebrow{
    font-size:.72rem;
    letter-spacing:.22em;
    text-transform:uppercase;
    color:var(--gold);
    font-weight:600;
    display:inline-flex;
    align-items:center;
    gap:.5rem;
  }
  .eyebrow::before{
    content:"";
    width:22px;height:1px;
    background:var(--gold);
    display:inline-block;
  }
  .text-muted-custom{color:var(--text-muted);}
  a{text-decoration:none;}

  /* ===== Topbar ===== */
  .topbar{
    background:#05071A;
    font-size:.8rem;
    color:var(--text-muted);
    border-bottom:1px solid var(--line);
  }
  .topbar select{
    background:transparent;
    border:none;
    color:var(--text-muted);
    font-size:.8rem;
  }
  .topbar select:focus{outline:none;}

  /* ===== Navbar ===== */
  .navbar-gav{
    background:rgba(8,11,34,0.85);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
    padding:.9rem 0;
    position:sticky;top:0;z-index:1000;
  }
  .brand-mark{
    display:flex;align-items:center;gap:.6rem;
    font-weight:700;font-size:1.15rem;color:var(--text-main);
  }
  .brand-mark .glyph{
    width:38px;height:38px;border-radius:50%;
    background:radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold) 60%, #8f0d48 100%);
    display:flex;align-items:center;justify-content:center;
    color:#FFFFFF;font-size:1rem;font-weight:800;
  }
  .nav-link-gav{
    color:var(--text-muted)!important;
    font-size:.92rem;font-weight:500;
    margin:0 .65rem;
    transition:color .2s ease;
  }
  .nav-link-gav:hover{color:var(--gold)!important;}
  /* Status badges — used across dashboard/admin order, review, and payment views. */
  .status-pill{padding:.2rem .65rem;border-radius:999px;font-size:.7rem;font-weight:600;display:inline-block;}
  .status-paid{background:rgba(120,200,140,.15);color:#7fd99a;}
  .status-pending{background:rgba(255,51,153,.15);color:var(--gold);}
  .status-progress{background:rgba(110,99,199,.18);color:var(--violet-soft);}
  .status-failed{background:rgba(220,90,90,.15);color:#e88;}

  /* Simple data table (product specs, etc.) — same pattern as the dashboard/admin layouts. */
  table.table-gav{width:100%;border-collapse:collapse;}
  table.table-gav td{padding:.6rem .5rem;border-bottom:1px solid var(--line);color:var(--text-muted);font-size:.88rem;}
  table.table-gav td:first-child{color:var(--gold-soft);width:140px;}

  /* Featured products slider (homepage) */
  .product-slider{position:relative;}
  .product-slider-track{
    display:flex;gap:1.2rem;overflow-x:auto;scroll-behavior:smooth;padding-bottom:.5rem;
    scrollbar-width:none;
  }
  .product-slider-track::-webkit-scrollbar{display:none;}
  .product-slide{flex:0 0 220px;}
  .product-slide-thumb{
    height:140px;border-radius:10px;overflow:hidden;
    background:linear-gradient(135deg,var(--violet),var(--navy-panel-2));
    display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.5);font-size:2rem;
  }
  .product-slide-thumb img{width:100%;height:100%;object-fit:cover;}
  .slider-nav{
    position:absolute;top:45%;transform:translateY(-50%);
    width:38px;height:38px;border-radius:50%;border:1px solid var(--line);
    background:var(--navy-panel);color:var(--gold);display:flex;align-items:center;justify-content:center;
    cursor:pointer;
  }
  .slider-nav-prev{left:-14px;}
  .slider-nav-next{right:-14px;}
  @media (max-width:767px){.slider-nav{display:none;}}

  .gav-dropdown{
    background:var(--navy-panel);border:1px solid var(--line);border-radius:12px;
    padding:.5rem;margin-top:.5rem;box-shadow:0 20px 40px -10px rgba(0,0,0,.5);
  }
  .gav-dropdown .dropdown-item{
    color:var(--text-muted);border-radius:8px;padding:.5rem .8rem;font-size:.88rem;
  }
  .gav-dropdown .dropdown-item:hover,.gav-dropdown .dropdown-item:focus{
    background:var(--navy-deep);color:var(--gold);
  }
  .navbar-gav .dropdown-toggle::after{border-top-color:var(--text-muted);}

  .btn-ghost-gold{
    border:1px solid var(--line);
    color:var(--text-main);
    padding:.5rem 1.1rem;
    border-radius:999px;
    font-size:.88rem;font-weight:500;
    transition:.2s ease;
  }
  .btn-ghost-gold:hover{border-color:var(--gold);color:var(--gold);}
  .btn-outline-gold{
    border:1px solid var(--gold);
    color:var(--gold);
    background:transparent;
    transition:.2s ease;
  }
  .btn-outline-gold:hover{
    background:var(--gold);
    color:#120c06;
  }
  .btn-gold{
    background:linear-gradient(135deg,var(--gold),var(--gold-soft));
    color:#FFFFFF;
    padding:.55rem 1.3rem;
    border-radius:999px;
    font-weight:600;font-size:.88rem;
    box-shadow:0 8px 20px -6px rgba(255,51,153,.55);
    border:none;
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .btn-gold:hover{transform:translateY(-2px);box-shadow:0 12px 26px -6px rgba(255,51,153,.7);color:#FFFFFF;}
  .btn-outline-violet{
    border:1px solid var(--violet-soft);
    color:var(--violet-soft);
    padding:.55rem 1.3rem;
    border-radius:999px;font-weight:500;font-size:.88rem;
    transition:.2s ease;
  }
  .btn-outline-violet:hover{background:var(--violet-soft);color:#0b0e28;}

  /* ===== Hero ===== */
  .hero{
    position:relative;
    padding:5.5rem 0 5rem;
    background:
      radial-gradient(1200px 600px at 85% -10%, rgba(110,99,199,.25), transparent 60%),
      radial-gradient(900px 500px at 10% 110%, rgba(255,51,153,.12), transparent 60%);
    overflow:hidden;
  }
  .hero .star{position:absolute;background:var(--gold-soft);border-radius:50%;opacity:.7;animation:twinkle 3.5s ease-in-out infinite;}
  @keyframes twinkle{0%,100%{opacity:.15;}50%{opacity:.9;}}
  .hero h1{
    font-size:clamp(2.1rem,4vw,3.4rem);
    line-height:1.12;
  }
  .hero h1 .accent{
    background:linear-gradient(90deg,var(--gold-soft),var(--gold));
    -webkit-background-clip:text;background-clip:text;color:transparent;
  }
  .hero-feature-list{list-style:none;padding:0;margin:1.6rem 0;}
  .hero-feature-list li{
    display:flex;align-items:center;gap:.6rem;
    color:var(--text-muted);
    font-size:.94rem;margin-bottom:.5rem;
  }
  .hero-feature-list i{color:var(--gold);font-size:.8rem;}

  /* Kundli chart signature element */
  .kundli-wrap{position:relative;display:flex;align-items:center;justify-content:center;}
  .kundli-wrap svg{width:100%;max-width:420px;filter:drop-shadow(0 20px 50px rgba(255,51,153,.18));}
  .kundli-orbit{
    position:absolute;inset:-6%;
    border:1px dashed rgba(255,51,153,.25);
    border-radius:50%;
    animation:spin 40s linear infinite;
  }
  @keyframes spin{to{transform:rotate(360deg);}}
  .kundli-badge{
    position:absolute;bottom:-6%;left:6%;
    background:var(--navy-panel);
    border:1px solid var(--line);
    border-radius:12px;
    padding:.7rem 1rem;
    font-size:.78rem;color:var(--text-muted);
    box-shadow:0 10px 30px rgba(0,0,0,.35);
  }
  .kundli-badge strong{color:var(--gold-soft);display:block;font-size:1rem;}

  /* ===== Section base ===== */
  section{padding:5rem 0;}
  .section-alt{background:var(--navy-panel);}
  .section-title{font-size:clamp(1.6rem,2.6vw,2.3rem);margin-top:.5rem;}

  /* ===== Counters ===== */
  .counter-card{
    background:var(--navy-panel);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:1.8rem 1.2rem;
    text-align:center;
    height:100%;
  }
  .counter-card .num{
    font-size:2.1rem;font-weight:800;color:var(--gold);
  }
  .counter-card .lbl{color:var(--text-muted);font-size:.88rem;margin-top:.3rem;}

  /* ===== Feature / trust cards ===== */
  .trust-card{
    background:var(--navy-deep);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:1.8rem;
    height:100%;
    transition:.25s ease;
  }
  .trust-card:hover{border-color:var(--gold);transform:translateY(-4px);}
  .trust-icon{
    width:52px;height:52px;border-radius:12px;
    background:linear-gradient(135deg,rgba(255,51,153,.18),rgba(255,92,173,.18));
    display:flex;align-items:center;justify-content:center;
    color:var(--gold);font-size:1.3rem;margin-bottom:1rem;
  }

  /* ===== Report cards ===== */
  .report-tabs{
    display:flex;flex-wrap:wrap;gap:.5rem;
    margin-bottom:2.2rem;
  }
  .report-tab{
    border:1px solid var(--line);
    color:var(--text-muted);
    padding:.5rem 1.1rem;
    border-radius:999px;font-size:.85rem;cursor:pointer;
    transition:.2s ease;
    background:transparent;
  }
  .report-tab.active,.report-tab:hover{
    background:var(--gold);color:#FFFFFF;border-color:var(--gold);
  }
  .report-card{
    background:var(--navy-panel);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:1.6rem;
    display:flex;flex-direction:column;
  }
  .report-card .badge-pop{
    background:rgba(255,51,153,.15);color:var(--gold);
    font-size:.68rem;padding:.25rem .6rem;border-radius:999px;
    align-self:flex-start;margin-bottom:.8rem;font-weight:600;letter-spacing:.03em;
  }
  .report-card h4{font-size:1.05rem;margin-bottom:.4rem;}
  .report-card p{color:var(--text-muted);font-size:.86rem;flex-grow:1;}
  .report-price{font-size:1.35rem;font-weight:700;color:var(--gold-soft);margin:.6rem 0;}
  .report-price small{font-size:.7rem;color:var(--text-muted);font-weight:400;}

  /* ===== Consultation pricing ===== */
  .plan-card{
    background:var(--navy-deep);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:2rem 1.6rem;
    height:100%;
    position:relative;
  }
  .plan-card.featured{
    border-color:var(--gold);
    background:linear-gradient(180deg,rgba(255,51,153,.08),transparent 40%),var(--navy-deep);
  }
  .plan-card .ribbon{
    position:absolute;top:-12px;right:1.4rem;
    background:var(--gold);color:#FFFFFF;
    font-size:.68rem;font-weight:700;letter-spacing:.05em;
    padding:.3rem .7rem;border-radius:999px;
  }
  .plan-card .price{font-size:2rem;font-weight:800;color:var(--text-main);}
  .plan-card .price span{font-size:.85rem;color:var(--text-muted);font-weight:400;}
  .plan-card ul{list-style:none;padding:0;margin:1.2rem 0;}
  .plan-card ul li{
    color:var(--text-muted);font-size:.88rem;margin-bottom:.55rem;
    display:flex;gap:.5rem;
  }
  .plan-card ul li i{color:var(--gold);margin-top:.2rem;}

  /* ===== Dashboard preview ===== */
  .dash-mock{
    background:var(--navy-deep);
    border:1px solid var(--line);
    border-radius:18px;
    padding:1.4rem;
    box-shadow:0 30px 70px -20px rgba(0,0,0,.6);
  }
  .dash-mock .dash-topbar{display:flex;gap:.4rem;margin-bottom:1rem;}
  .dash-mock .dash-topbar span{width:10px;height:10px;border-radius:50%;background:#3a3f66;}
  .dash-tile{
    background:var(--navy-panel);
    border:1px solid var(--line);
    border-radius:10px;
    padding:1rem;
    font-size:.8rem;color:var(--text-muted);
  }
  .dash-tile strong{display:block;color:var(--gold-soft);font-size:1.2rem;}

  /* ===== Testimonials ===== */
  .testimonial-card{
    background:var(--navy-panel);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:1.8rem;
    height:100%;
  }
  .stars{color:var(--gold);font-size:.85rem;margin-bottom:.7rem;}

  /* ===== Blog ===== */
  .blog-card{
    background:var(--navy-panel);
    border:1px solid var(--line);
    border-radius:var(--radius);
    overflow:hidden;height:100%;
  }
  .blog-thumb{
    height:150px;
    background:linear-gradient(135deg,var(--violet),var(--navy-panel-2));
    display:flex;align-items:center;justify-content:center;
    color:rgba(255,255,255,.5);font-size:2rem;
  }
  .blog-card .body{padding:1.2rem;}
  .blog-card h5{font-size:1rem;}
  .blog-tag{font-size:.7rem;color:var(--gold);text-transform:uppercase;letter-spacing:.08em;font-weight:600;}

  /* ===== FAQ ===== */
  .accordion-item{
    background:transparent!important;
    border:1px solid var(--line)!important;
    border-radius:10px!important;
    margin-bottom:.8rem;
    overflow:hidden;
  }
  .accordion-button{
    background:var(--navy-panel)!important;
    color:var(--text-main)!important;
    font-weight:500;font-size:.94rem;
    box-shadow:none!important;
  }
  .accordion-button:not(.collapsed){color:var(--gold)!important;}
  .accordion-button::after{filter:invert(72%) sepia(28%) saturate(400%) hue-rotate(2deg);}
  .accordion-body{background:var(--navy-deep);color:var(--text-muted);font-size:.9rem;}

  /* ===== Final CTA ===== */
  .final-cta{
    background:linear-gradient(135deg,var(--navy-panel-2),var(--navy-deep));
    border-radius:24px;
    padding:3.5rem 2rem;
    text-align:center;
    border:1px solid var(--line);
    position:relative;
    overflow:hidden;
  }

  /* ===== Footer ===== */
  footer{
    background:#05071A;
    border-top:1px solid var(--line);
    padding:3.5rem 0 1.5rem;
    color:var(--text-muted);
    font-size:.9rem;
  }
  footer h6{color:var(--text-main);font-weight:600;margin-bottom:1.1rem;font-size:.9rem;}
  footer ul{list-style:none;padding:0;}
  footer ul li{margin-bottom:.55rem;}
  footer ul li a{color:var(--text-muted);}
  footer ul li a:hover{color:var(--gold);}
  .social-dot{
    width:36px;height:36px;border-radius:50%;
    border:1px solid var(--line);
    display:inline-flex;align-items:center;justify-content:center;
    color:var(--text-muted);margin-right:.5rem;transition:.2s;
  }
  .social-dot:hover{border-color:var(--gold);color:var(--gold);}

  @media (max-width:767px){
    section{padding:3.2rem 0;}
    .kundli-wrap{margin-top:2.5rem;}
  }

  /* ==========================================================================
     UI ACCESSIBILITY & CONTRAST OVERRIDES
     ========================================================================== */

  /* 1. Global Page Headings & Card Titles */
  h1, h2, h3, h4, h5, h6, .section-title, .card-gav h5, .card-gav h6, .panel h5 {
    color: #ffffff;
  }
  .card-gav h5 .text-gold, .card-gav h5 i, .panel h5 i, h5 i {
    color: #FF5CAD;
  }

  /* 2. Text elements & Muted content */
  .text-muted, .text-muted-custom, p.text-muted, span.text-muted, .meta-label, .gav-timeline-time {
    color: #b8bcd4;
  }
  .meta-value, p.text-white, span.text-white, .gav-timeline-content {
    color: #ffffff;
  }

  /* 3. Table content readability */
  .table-gav td, .table-dark-gav td, table td {
    color: #e5e7f3;
  }
  .table-gav th, .table-dark-gav th, table th {
    color: #FF5CAD;
    font-weight: 600;
  }
  .table-dark-gav, table {
    border-color: rgba(255, 51, 153, 0.25);
  }

  /* 4. Global Form Controls (Inputs, Selects, Textareas, Placeholders, Labels) */
  .form-control, .form-select, textarea, 
  input[type="text"], input[type="email"], input[type="password"], 
  input[type="number"], input[type="date"], input[type="time"], select {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 51, 153, 0.3);
    color: #ffffff;
    border-radius: 8px;
  }
  .form-control:focus, .form-select:focus, textarea:focus, input:focus, select:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #FF3399;
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(255, 51, 153, 0.18);
  }
  .form-control::placeholder, textarea::placeholder, input::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }
  label, .form-label {
    color: #c9cce0;
    font-weight: 500;
  }
  select option {
    background-color: #17173A;
    color: #ffffff;
  }

  /* 5. Dropdown Menu Readability */
  .dropdown-menu, .gav-dropdown {
    background-color: #17173A;
    border: 1px solid rgba(255, 51, 153, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  .dropdown-item, .gav-dropdown .dropdown-item {
    color: #c9cce0;
  }
  .dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active, 
  .gav-dropdown .dropdown-item:hover, .gav-dropdown .dropdown-item:focus {
    background-color: #0A0A22;
    color: #FF5CAD;
  }

  /* 6. Pagination Styling Overrides */
  .pagination .page-item .page-link {
    background-color: #17173A;
    color: #b8bcd4;
    border-color: rgba(255, 51, 153, 0.2);
  }
  .pagination .page-item.active .page-link {
    background-color: #FF3399;
    color: #FFFFFF;
    border-color: #FF3399;
  }
  .pagination .page-item .page-link:hover {
    background-color: #FF3399;
    color: #FFFFFF;
    border-color: #FF3399;
  }
  .pagination .page-item.disabled .page-link {
    background-color: #0A0A22;
    color: #5a6088;
    border-color: rgba(255, 51, 153, 0.08);
  }

  /* 7. Action Buttons Contrast */
  .btn-gold {
    background: linear-gradient(135deg, #FF3399, #FF5CAD);
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    font-weight: 600;
  }
  .btn-gold:hover {
    background: linear-gradient(135deg, #FF5CAD, #FF3399);
    color: #FFFFFF;
  }
  .btn-outline-gold {
    border: 1.5px solid #FF3399;
    color: #FF5CAD;
    background: transparent;
    font-weight: 600;
  }
  .btn-outline-gold:hover {
    background-color: #FF3399;
    color: #FFFFFF;
  }
  .btn-ghost-gold {
    border: 1px solid rgba(255, 51, 153, 0.3);
    color: #FF5CAD;
    background-color: transparent;
  }
  .btn-ghost-gold:hover {
    border-color: #FF3399;
    color: #ffffff;
    background-color: rgba(255, 51, 153, 0.1);
  }
  .btn-outline-violet {
    border: 1.5px solid #7C3AED;
    color: #7C3AED;
    font-weight: 600;
    text-decoration: none !important;
  }
  .btn-outline-violet:hover,
  .btn-outline-violet:focus,
  .btn-outline-violet:active {
    background: #7C3AED;
    color: #ffffff !important;
    border-color: #7C3AED;
    text-decoration: none !important;
  }

  /* 8. Intentional Disabled Buttons Visual Distinction */
  button:disabled, .btn:disabled, .btn[disabled], .btn-outline-violet:disabled, .btn-outline-violet.disabled {
    background: #202440;
    color: #5a6088;
    border-color: #2b3054;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: 0.65;
  }

  /* 9. Sidebar navigation active & hover contrast */
  .side-nav a.active, .side-nav a:hover,
  .admin-nav a.active, .admin-nav a:hover {
    color: #ffffff;
    background: #17173A;
  }

  /* 10. Status pill contrast adjustments */
  .status-pill.status-paid {
    background-color: rgba(40, 167, 69, 0.18);
    color: #72f293;
  }
  .status-pill.status-pending {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffca2c;
  }
  .status-pill.status-progress {
    background-color: rgba(0, 123, 255, 0.18);
    color: #72c3fc;
  }
  .status-pill.status-failed {
    background-color: rgba(220, 53, 69, 0.18);
    color: #f77b85;
  }

  /* Light container / white card contrast rules for status pills & btn-outline-violet */
  .bg-white .status-pill.status-paid,
  .table-light .status-pill.status-paid,
  [style*="background:#fff"] .status-pill.status-paid,
  [style*="background: #fff"] .status-pill.status-paid,
  [style*="background:#ffffff"] .status-pill.status-paid,
  [style*="background: #ffffff"] .status-pill.status-paid {
    background-color: #dcfce7 !important;
    color: #15803d !important;
    font-weight: 700 !important;
  }
  .bg-white .status-pill.status-pending,
  .table-light .status-pill.status-pending,
  [style*="background:#fff"] .status-pill.status-pending,
  [style*="background: #fff"] .status-pill.status-pending,
  [style*="background:#ffffff"] .status-pill.status-pending,
  [style*="background: #ffffff"] .status-pill.status-pending {
    background-color: #fef3c7 !important;
    color: #b45309 !important;
    font-weight: 700 !important;
  }
  .bg-white .status-pill.status-progress,
  .table-light .status-pill.status-progress,
  [style*="background:#fff"] .status-pill.status-progress,
  [style*="background: #fff"] .status-pill.status-progress,
  [style*="background:#ffffff"] .status-pill.status-progress,
  [style*="background: #ffffff"] .status-pill.status-progress {
    background-color: #dbeafe !important;
    color: #1d4ed8 !important;
    font-weight: 700 !important;
  }
  .bg-white .status-pill.status-failed,
  .table-light .status-pill.status-failed,
  [style*="background:#fff"] .status-pill.status-failed,
  [style*="background: #fff"] .status-pill.status-failed,
  [style*="background:#ffffff"] .status-pill.status-failed,
  [style*="background: #ffffff"] .status-pill.status-failed {
    background-color: #fee2e2 !important;
    color: #b91c1c !important;
    font-weight: 700 !important;
  }
  .bg-white a.btn-outline-violet,
  .bg-light a.btn-outline-violet,
  [style*="background:#fff"] a.btn-outline-violet,
  [style*="background: #fff"] a.btn-outline-violet,
  [style*="background:#ffffff"] a.btn-outline-violet,
  [style*="background: #ffffff"] a.btn-outline-violet {
    color: #7C3AED !important;
    border-color: #7C3AED !important;
    text-decoration: none !important;
  }
  .bg-white a.btn-outline-violet:hover,
  .bg-light a.btn-outline-violet:hover,
  [style*="background:#fff"] a.btn-outline-violet:hover,
  [style*="background: #fff"] a.btn-outline-violet:hover,
  [style*="background:#ffffff"] a.btn-outline-violet:hover,
  [style*="background: #ffffff"] a.btn-outline-violet:hover {
    color: #ffffff !important;
    background-color: #7C3AED !important;
    text-decoration: none !important;
  }

  /* ==========================================================================
     WHITE BACKGROUND / LIGHT THEME CONTRAST CORRECTIONS
     ========================================================================== */

  /* Define container selectors matching white/light background components */
  .bg-white, 
  .bg-light, 
  .modal-content,
  .table-light,
  [style*="background:#fff"], 
  [style*="background: #fff"], 
  [style*="background:#ffffff"], 
  [style*="background: #ffffff"], 
  [style*="background:white"], 
  [style*="background: white"], 
  [style*="background-color:#fff"], 
  [style*="background-color: #fff"], 
  [style*="background-color:#ffffff"], 
  [style*="background-color: #ffffff"], 
  [style*="background-color:white"], 
  [style*="background-color: white"] {
    color: #11142e !important;
  }

  /* Universal child override for all text elements inside white/light containers */
  .bg-white *, 
  .bg-light *, 
  .modal-content *,
  .table-light *,
  [style*="background:#fff"] *, 
  [style*="background: #fff"] *, 
  [style*="background:#ffffff"] *, 
  [style*="background: #ffffff"] *, 
  [style*="background:white"] *, 
  [style*="background: white"] *, 
  [style*="background-color:#fff"] *, 
  [style*="background-color: #fff"] *, 
  [style*="background-color:#ffffff"] *, 
  [style*="background-color: #ffffff"] *, 
  [style*="background-color:white"] *, 
  [style*="background-color: white"] * {
    color: #171c42 !important;
    opacity: 1 !important;
  }

  /* Headings inside light backgrounds */
  .bg-white h1, .bg-white h2, .bg-white h3, .bg-white h4, .bg-white h5, .bg-white h6,
  .bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6,
  .modal-content h1, .modal-content h2, .modal-content h3, .modal-content h4, .modal-content h5, .modal-content h6,
  .table-light h1, .table-light h2, .table-light h3, .table-light h4, .table-light h5, .table-light h6,
  [style*="background:#fff"] h1, [style*="background:#fff"] h2, [style*="background:#fff"] h3, [style*="background:#fff"] h4, [style*="background:#fff"] h5, [style*="background:#fff"] h6,
  [style*="background: #fff"] h1, [style*="background: #fff"] h2, [style*="background: #fff"] h3, [style*="background: #fff"] h4, [style*="background: #fff"] h5, [style*="background: #fff"] h6,
  [style*="background:#ffffff"] h1, [style*="background:#ffffff"] h2, [style*="background:#ffffff"] h3, [style*="background:#ffffff"] h4, [style*="background:#ffffff"] h5, [style*="background:#ffffff"] h6,
  [style*="background: #ffffff"] h1, [style*="background: #ffffff"] h2, [style*="background: #ffffff"] h3, [style*="background: #ffffff"] h4, [style*="background: #ffffff"] h5, [style*="background: #ffffff"] h6,
  [style*="background:white"] h1, [style*="background:white"] h2, [style*="background:white"] h3, [style*="background:white"] h4, [style*="background:white"] h5, [style*="background:white"] h6,
  [style*="background: white"] h1, [style*="background: white"] h2, [style*="background: white"] h3, [style*="background: white"] h4, [style*="background: white"] h5, [style*="background: white"] h6,
  [style*="background-color:#fff"] h1, [style*="background-color:#fff"] h2, [style*="background-color:#fff"] h3, [style*="background-color:#fff"] h4, [style*="background-color:#fff"] h5, [style*="background-color:#fff"] h6,
  [style*="background-color: #fff"] h1, [style*="background-color: #fff"] h2, [style*="background-color: #fff"] h3, [style*="background-color: #fff"] h4, [style*="background-color: #fff"] h5, [style*="background-color: #fff"] h6,
  [style*="background-color:#ffffff"] h1, [style*="background-color:#ffffff"] h2, [style*="background-color:#ffffff"] h3, [style*="background-color:#ffffff"] h4, [style*="background-color:#ffffff"] h5, [style*="background-color:#ffffff"] h6,
  [style*="background-color: #ffffff"] h1, [style*="background-color: #ffffff"] h2, [style*="background-color: #ffffff"] h3, [style*="background-color: #ffffff"] h4, [style*="background-color: #ffffff"] h5, [style*="background-color: #ffffff"] h6,
  [style*="background-color:white"] h1, [style*="background-color:white"] h2, [style*="background-color:white"] h3, [style*="background-color:white"] h4, [style*="background-color:white"] h5, [style*="background-color:white"] h6,
  [style*="background-color: white"] h1, [style*="background-color: white"] h2, [style*="background-color: white"] h3, [style*="background-color: white"] h4, [style*="background-color: white"] h5, [style*="background-color: white"] h6 {
    color: #0b0e28 !important;
  }

  /* Links inside light backgrounds */
  .bg-white a, .bg-light a, .modal-content a,
  [style*="background:#fff"] a, [style*="background: #fff"] a, [style*="background:#ffffff"] a, [style*="background: #ffffff"] a,
  [style*="background:white"] a, [style*="background: white"] a, [style*="background-color:#fff"] a, [style*="background-color: #fff"] a,
  [style*="background-color:#ffffff"] a, [style*="background-color: #ffffff"] a, [style*="background-color:white"] a, [style*="background-color: white"] a {
    color: #FF3399 !important;
    text-decoration: underline !important;
  }
  .bg-white a:hover, .bg-light a:hover, .modal-content a:hover,
  [style*="background:#fff"] a:hover, [style*="background: #fff"] a:hover, [style*="background:#ffffff"] a:hover, [style*="background: #ffffff"] a:hover,
  [style*="background:white"] a:hover, [style*="background: white"] a:hover, [style*="background-color:#fff"] a:hover, [style*="background-color: #fff"] a:hover,
  [style*="background-color:#ffffff"] a:hover, [style*="background-color: #ffffff"] a:hover, [style*="background-color:white"] a:hover, [style*="background-color: white"] a:hover {
    color: #b31461 !important;
  }

  /* Table cell and headers inside light backgrounds */
  .bg-white .table-dark-gav, .bg-light .table-dark-gav, .modal-content .table-dark-gav,
  [style*="background:#fff"] .table-dark-gav, [style*="background: #fff"] .table-dark-gav,
  [style*="background:#ffffff"] .table-dark-gav, [style*="background: #ffffff"] .table-dark-gav,
  [style*="background:white"] .table-dark-gav, [style*="background: white"] .table-dark-gav,
  [style*="background-color:#fff"] .table-dark-gav, [style*="background-color: #fff"] .table-dark-gav,
  [style*="background-color:#ffffff"] .table-dark-gav, [style*="background-color: #ffffff"] .table-dark-gav,
  [style*="background-color:white"] .table-dark-gav, [style*="background-color: white"] .table-dark-gav {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #171c42 !important;
  }
  .bg-white th, .bg-light th, .modal-content th, table.table-light th, .bg-white .table-dark-gav th, .bg-light .table-dark-gav th,
  [style*="background:#fff"] th, [style*="background: #fff"] th, [style*="background:#ffffff"] th, [style*="background: #ffffff"] th,
  [style*="background:white"] th, [style*="background: white"] th, [style*="background-color:#fff"] th, [style*="background-color: #fff"] th,
  [style*="background-color:#ffffff"] th, [style*="background-color: #ffffff"] th, [style*="background-color:white"] th, [style*="background-color: white"] th {
    color: #0b0e28 !important;
    border-bottom: 2px solid #ddd !important;
    font-weight: bold !important;
  }
  .bg-white td, .bg-light td, .modal-content td, table.table-light td, .bg-white .table-dark-gav td, .bg-light .table-dark-gav td,
  [style*="background:#fff"] td, [style*="background: #fff"] td, [style*="background:#ffffff"] td, [style*="background: #ffffff"] td,
  [style*="background:white"] td, [style*="background: white"] td, [style*="background-color:#fff"] td, [style*="background-color: #fff"] td,
  [style*="background-color:#ffffff"] td, [style*="background-color: #ffffff"] td, [style*="background-color:white"] td, [style*="background-color: white"] td {
    color: #171c42 !important;
    border-bottom: 1px solid #eee !important;
  }

  /* Inputs, Textareas, Selects inside light backgrounds */
  .bg-white .form-control, .bg-white .form-select, .bg-white textarea,
  .bg-light .form-control, .bg-light .form-select, .bg-light textarea,
  .modal-content .form-control, .modal-content .form-select, .modal-content textarea,
  [style*="background:#fff"] .form-control, [style*="background:#fff"] .form-select, [style*="background:#fff"] textarea,
  [style*="background: #fff"] .form-control, [style*="background: #fff"] .form-select, [style*="background: #fff"] textarea,
  [style*="background:#ffffff"] .form-control, [style*="background:#ffffff"] .form-select, [style*="background:#ffffff"] textarea,
  [style*="background: #ffffff"] .form-control, [style*="background: #ffffff"] .form-select, [style*="background: #ffffff"] textarea,
  [style*="background:white"] .form-control, [style*="background:white"] .form-select, [style*="background:white"] textarea,
  [style*="background: white"] .form-control, [style*="background: white"] .form-select, [style*="background: white"] textarea,
  [style*="background-color:#fff"] .form-control, [style*="background-color:#fff"] .form-select, [style*="background-color:#fff"] textarea,
  [style*="background-color: #fff"] .form-control, [style*="background-color: #fff"] .form-select, [style*="background-color: #fff"] textarea,
  [style*="background-color:#ffffff"] .form-control, [style*="background-color:#ffffff"] .form-select, [style*="background-color:#ffffff"] textarea,
  [style*="background-color: #ffffff"] .form-control, [style*="background-color: #ffffff"] .form-select, [style*="background-color: #ffffff"] textarea,
  [style*="background-color:white"] .form-control, [style*="background-color:white"] .form-select, [style*="background-color:white"] textarea,
  [style*="background-color: white"] .form-control, [style*="background-color: white"] .form-select, [style*="background-color: white"] textarea {
    background-color: #ffffff !important;
    border: 1px solid #ccc !important;
    color: #171c42 !important;
  }

  /* Options inside select elements inside light backgrounds */
  .bg-white select option, .bg-light select option, .modal-content select option,
  [style*="background:#fff"] select option, [style*="background: #fff"] select option,
  [style*="background:#ffffff"] select option, [style*="background: #ffffff"] select option,
  [style*="background:white"] select option, [style*="background: white"] select option,
  [style*="background-color:#fff"] select option, [style*="background-color: #fff"] select option,
  [style*="background-color:#ffffff"] select option, [style*="background-color: #ffffff"] select option,
  [style*="background-color:white"] select option, [style*="background-color: white"] select option {
    background-color: #ffffff !important;
    color: #171c42 !important;
  }

  /* Placeholders inside inputs inside light backgrounds */
  .bg-white .form-control::placeholder, .bg-white textarea::placeholder,
  .bg-light .form-control::placeholder, .bg-light textarea::placeholder,
  .modal-content .form-control::placeholder, .modal-content textarea::placeholder,
  [style*="background:#fff"] .form-control::placeholder, [style*="background:#fff"] textarea::placeholder,
  [style*="background: #fff"] .form-control::placeholder, [style*="background: #fff"] textarea::placeholder,
  [style*="background:#ffffff"] .form-control::placeholder, [style*="background:#ffffff"] textarea::placeholder,
  [style*="background: #ffffff"] .form-control::placeholder, [style*="background: #ffffff"] textarea::placeholder,
  [style*="background:white"] .form-control::placeholder, [style*="background:white"] textarea::placeholder,
  [style*="background: white"] .form-control::placeholder, [style*="background: white"] textarea::placeholder,
  [style*="background-color:#fff"] .form-control::placeholder, [style*="background-color:#fff"] textarea::placeholder,
  [style*="background-color: #fff"] .form-control::placeholder, [style*="background-color: #fff"] textarea::placeholder,
  [style*="background-color:#ffffff"] .form-control::placeholder, [style*="background-color:#ffffff"] textarea::placeholder,
  [style*="background-color: #ffffff"] .form-control::placeholder, [style*="background-color: #ffffff"] textarea::placeholder,
  [style*="background-color:white"] .form-control::placeholder, [style*="background-color:white"] textarea::placeholder,
  [style*="background-color: white"] .form-control::placeholder, [style*="background-color: white"] textarea::placeholder {
    color: #6c757d !important;
  }

  /* Input focus state inside light background containers */
  .bg-white .form-control:focus, .bg-white .form-select:focus,
  .bg-light .form-control:focus, .bg-light .form-select:focus,
  .modal-content .form-control:focus, .modal-content .form-select:focus {
    border-color: #FF3399 !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 51, 153, 0.25) !important;
  }

  /* Buttons inside light background containers */
  .bg-white .btn-outline-gold, .bg-light .btn-outline-gold, .modal-content .btn-outline-gold {
    border: 1.5px solid #FF3399 !important;
    color: #FF3399 !important;
    background: transparent !important;
  }
  .bg-white .btn-outline-gold:hover, .bg-light .btn-outline-gold:hover, .modal-content .btn-outline-gold:hover {
    background-color: #FF3399 !important;
    color: #ffffff !important;
  }

  .bg-white .btn-ghost-gold, .bg-light .btn-ghost-gold, .modal-content .btn-ghost-gold {
    border: 1px solid rgba(255, 51, 153, 0.3) !important;
    color: #FF3399 !important;
    background: transparent !important;
  }
  .bg-white .btn-ghost-gold:hover, .bg-light .btn-ghost-gold:hover, .modal-content .btn-ghost-gold:hover {
    border-color: #FF3399 !important;
    color: #ffffff !important;
    background-color: rgba(255, 51, 153, 0.1) !important;
  }

  /* Ensure primary and secondary buttons don't lose their native text colors */
  .bg-white .btn-primary, .bg-light .btn-primary, .modal-content .btn-primary,
  .bg-white .btn-secondary, .bg-light .btn-secondary, .modal-content .btn-secondary,
  .bg-white .btn-success, .bg-light .btn-success, .modal-content .btn-success,
  .bg-white .btn-danger, .bg-light .btn-danger, .modal-content .btn-danger,
  .bg-white .btn-warning, .bg-light .btn-warning, .modal-content .btn-warning,
  .bg-white .btn-info, .bg-light .btn-info, .modal-content .btn-info,
  .bg-white .btn-light, .bg-light .btn-light, .modal-content .btn-light,
  .bg-white .btn-dark, .bg-light .btn-dark, .modal-content .btn-dark {
    color: #ffffff !important;
  }
  .bg-white .btn-light, .bg-light .btn-light, .modal-content .btn-light {
    color: #171c42 !important;
  }

  /* Badges inside light backgrounds */
  .bg-white .badge, .bg-light .badge, .modal-content .badge {
    color: #ffffff !important;
  }
  .bg-white .badge.bg-light, .bg-light .badge.bg-light, .modal-content .badge.bg-light {
    color: #171c42 !important;
  }

  /* Standard Bootstrap light alert overrides */
  .alert-light, .alert-secondary {
    background-color: #f8f9fa !important;
    border-color: #dfe2e6 !important;
    color: #171c42 !important;
  }

