/* Arctic Glass light theme overrides */
body[data-theme="light"]{
  color-scheme:light;
  --navy:#eaecf5;
  --navy2:rgba(255,255,255,.78);
  --navy3:rgba(255,255,255,.92);
  --navy4:#f6f7ff;
  --cyan:#6366f1;
  --teal:#8b5cf6;
  --grad:linear-gradient(135deg,#6366f1,#8b5cf6);
  --text:#0d0d24;
  --muted:#7a7fa0;
  --border:rgba(200,205,240,.62);
  --card:rgba(255,255,255,.88);
  --green:#10b981;
  --amber:#f59e0b;
  --red:#ef4444;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(99,102,241,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(139,92,246,.06) 0%, transparent 60%),
    #eaecf5;
  color:var(--text);
}
body[data-theme="light"] a{color:var(--cyan)}
body[data-theme="light"] a:hover{color:var(--teal)}
body[data-theme="light"] .smm-overlay{background:rgba(30,41,59,.2);backdrop-filter:blur(4px)}
body[data-theme="light"] .smm-sidebar,
body[data-theme="light"] .smm-topbar,
body[data-theme="light"] .public-navbar,
body[data-theme="light"] .navbar-collapse,
body[data-theme="light"] .card,
body[data-theme="light"] .auth-card,
body[data-theme="light"] .dropdown-menu,
body[data-theme="light"] .modal-content,
body[data-theme="light"] .accordion-item,
body[data-theme="light"] .list-group-item,
body[data-theme="light"] .page-link,
body[data-theme="light"] .provider-card{
  background:rgba(255,255,255,.82)!important;
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  box-shadow:0 12px 35px rgba(35,39,82,.08)!important;
}
body[data-theme="light"] .smm-sidebar,
body[data-theme="light"] .smm-topbar,
body[data-theme="light"] .public-navbar{border-color:var(--border)!important}
body[data-theme="light"] .sidebar-user-pill,
body[data-theme="light"] .sidebar-plan-info,
body[data-theme="light"] .sidebar-flow,
body[data-theme="light"] .provider-card,
body[data-theme="light"] .page-link,
body[data-theme="light"] .auth-card,
body[data-theme="light"] .dropdown-menu,
body[data-theme="light"] .modal-content,
body[data-theme="light"] .list-group-item,
body[data-theme="light"] .accordion-item{border-color:var(--border)!important}
body[data-theme="light"] .sidebar-user-pill,
body[data-theme="light"] .provider-card{background:rgba(248,249,255,.95)!important}
body[data-theme="light"] .sidebar-logo-text,
body[data-theme="light"] .auth-logo-text,
body[data-theme="light"] .navbar-brand,
body[data-theme="light"] .provider-price{background:var(--grad);-webkit-background-clip:text;background-clip:text}
body[data-theme="light"] .nav-badge-count,
body[data-theme="light"] .sidebar-avatar,
body[data-theme="light"] .btn-primary,
body[data-theme="light"] .btn-warning,
body[data-theme="light"] .page-item.active .page-link,
body[data-theme="light"] .smm-btn.primary{color:#fff!important}
body[data-theme="light"] .sidebar-avatar{background:var(--grad)!important}
body[data-theme="light"] .sidebar-avatar,
body[data-theme="light"] .nav-badge-count{box-shadow:0 6px 18px rgba(99,102,241,.24)}
body[data-theme="light"] .smm-btn,
body[data-theme="light"] .btn-outline-secondary,
body[data-theme="light"] .btn-outline-primary,
body[data-theme="light"] .btn-outline-light,
body[data-theme="light"] .btn-light,
body[data-theme="light"] .btn-secondary,
body[data-theme="light"] .btn-dark{
  background:rgba(255,255,255,.92)!important;
  color:var(--text)!important;
  border-color:var(--border)!important;
}
body[data-theme="light"] .smm-btn:hover,
body[data-theme="light"] .btn-outline-secondary:hover,
body[data-theme="light"] .btn-outline-primary:hover,
body[data-theme="light"] .btn-outline-light:hover,
body[data-theme="light"] .btn-light:hover,
body[data-theme="light"] .btn-secondary:hover,
body[data-theme="light"] .btn-dark:hover,
body[data-theme="light"] .dropdown-item:hover,
body[data-theme="light"] .dropdown-item:focus,
body[data-theme="light"] .navbar-nav .nav-link:hover,
body[data-theme="light"] .list-group-item:hover,
body[data-theme="light"] .page-link:hover,
body[data-theme="light"] .category-header:hover{
  background:rgba(99,102,241,.08)!important;
  color:var(--cyan)!important;
  border-color:rgba(99,102,241,.22)!important;
}
body[data-theme="light"] .btn-primary,
body[data-theme="light"] .btn-warning,
body[data-theme="light"] .smm-btn.primary,
body[data-theme="light"] .page-item.active .page-link{
  background:var(--grad)!important;
  border-color:transparent!important;
  box-shadow:0 8px 20px rgba(99,102,241,.22)!important;
}
body[data-theme="light"] .card,
body[data-theme="light"] .alert-row{background:rgba(255,255,255,.88)!important;color:var(--text)!important}
body[data-theme="light"] .card-header,
body[data-theme="light"] .card-header.bg-white,
body[data-theme="light"] .card-header.bg-light,
body[data-theme="light"] .card-footer.bg-white,
body[data-theme="light"] .table thead.table-light th,
body[data-theme="light"] .table-light th,
body[data-theme="light"] .thead-light th{
  background:rgba(240,241,252,.92)!important;
  color:var(--muted)!important;
  border-color:var(--border)!important;
}
body[data-theme="light"] .card-footer{background:rgba(248,249,255,.82)!important}
body[data-theme="light"] .table{--bs-table-color:var(--text);--bs-table-border-color:var(--border);--bs-table-striped-bg:rgba(246,247,255,.75);--bs-table-hover-bg:rgba(99,102,241,.05)}
body[data-theme="light"] .table td,body[data-theme="light"] .table th{border-color:rgba(200,205,240,.55)!important;color:var(--text)!important}
body[data-theme="light"] .table tbody tr:hover td{background:rgba(99,102,241,.04)!important}
body[data-theme="light"] .table td,body[data-theme="light"] td{border-bottom-color:rgba(200,205,240,.55)!important}
body[data-theme="light"] .form-control,
body[data-theme="light"] .form-select,
body[data-theme="light"] textarea.form-control,
body[data-theme="light"] .input-field{
  background:rgba(255,255,255,.92)!important;
  color:var(--text)!important;
  border-color:var(--border)!important;
  box-shadow:0 2px 14px rgba(0,0,60,.04);
}
body[data-theme="light"] .form-control:focus,
body[data-theme="light"] .form-select:focus,
body[data-theme="light"] .input-field:focus{
  background:#fff!important;
  color:var(--text)!important;
  border-color:rgba(99,102,241,.35)!important;
  box-shadow:0 0 0 3px rgba(99,102,241,.12)!important;
}
body[data-theme="light"] .form-control::placeholder{color:var(--muted)}
body[data-theme="light"] .form-control option,
body[data-theme="light"] .form-select option{background:#fff;color:var(--text)}
body[data-theme="light"] .dropdown-menu,
body[data-theme="light"] .modal-content{color:var(--text)!important}
body[data-theme="light"] .dropdown-divider,
body[data-theme="light"] .modal-header,
body[data-theme="light"] .modal-footer,
body[data-theme="light"] .nav-tabs,
body[data-theme="light"] .public-footer,
body[data-theme="light"] .smm-footer{border-color:var(--border)!important}
body[data-theme="light"] .nav-tabs .nav-link:hover{border-bottom-color:rgba(99,102,241,.25)}
body[data-theme="light"] .nav-tabs .nav-link.active,
body[data-theme="light"] .nav-pills .nav-link.active,
body[data-theme="light"] .list-group-item.active,
body[data-theme="light"] .accordion-button:not(.collapsed),
body[data-theme="light"] .navbar-nav .nav-link.active,
body[data-theme="light"] .category-header,
body[data-theme="light"] .bar-val,
body[data-theme="light"] .see-all{color:var(--cyan)!important}
body[data-theme="light"] .nav-pills .nav-link.active,
body[data-theme="light"] .list-group-item.active,
body[data-theme="light"] .accordion-button:not(.collapsed),
body[data-theme="light"] .navbar-nav .nav-link.active,
body[data-theme="light"] .category-header,
body[data-theme="light"] .badge.text-bg-light,
body[data-theme="light"] .badge-light,
body[data-theme="light"] .badge.bg-light.text-dark,
body[data-theme="light"] .badge.bg-white.text-dark,
body[data-theme="light"] .badge.bg-light.text-muted{background:rgba(99,102,241,.1)!important;border-color:rgba(99,102,241,.18)!important}
body[data-theme="light"] .alert-info,
body[data-theme="light"] .alert-light,
body[data-theme="light"] .alert-row,
body[data-theme="light"] .category-header,
body[data-theme="light"] .sidebar-flow,
body[data-theme="light"] .sidebar-plan-info{background:rgba(99,102,241,.07)!important}
body[data-theme="light"] .alert-info,
body[data-theme="light"] .alert-light,
body[data-theme="light"] .alert-row,
body[data-theme="light"] .category-header,
body[data-theme="light"] .sidebar-flow,
body[data-theme="light"] .sidebar-plan-info{border-color:rgba(99,102,241,.14)!important}
body[data-theme="light"] .public-footer{background:rgba(255,255,255,.58)!important}
body[data-theme="light"] .auth-wrap{background:
  radial-gradient(ellipse at 20% 0%, rgba(99,102,241,.08) 0%, transparent 60%),
  radial-gradient(ellipse at 80% 100%, rgba(139,92,246,.06) 0%, transparent 60%),
  #eaecf5}
body[data-theme="light"] .btn-close{filter:none;opacity:.5}
body[data-theme="light"] .btn-close:hover{opacity:.8}
body[data-theme="light"] .breadcrumb-item.active,
body[data-theme="light"] .text-dark,
body[data-theme="light"] .text-light,
body[data-theme="light"] .text-white{color:var(--text)!important}
body[data-theme="light"] .text-light-emphasis,
body[data-theme="light"] .small,
body[data-theme="light"] .form-text,
body[data-theme="light"] .sidebar-logo-sub,
body[data-theme="light"] .sidebar-user-role{color:var(--muted)!important}
body[data-theme="light"] .navbar-toggler{border-color:var(--border)}
body[data-theme="light"] .accordion-button::after{filter:none;opacity:.65}
body[data-theme="light"] .modal-backdrop.show{opacity:.25;background:#64748b}
body[data-theme="light"] .progress{background:rgba(15,23,42,.08)}
body[data-theme="light"] .bar-track{background:rgba(15,23,42,.07)}
body[data-theme="light"] .toggle.off{background:rgba(15,23,42,.1)}

/* Public website polish for Arctic Glass mode */
body[data-theme="light"]{
  --pub-bg:#eef2ff;
}
body[data-theme="light"] .hero-section,
body[data-theme="light"] .page-hero{
  background:
    radial-gradient(ellipse at 18% 0%, rgba(99,102,241,.11) 0%, transparent 60%),
    radial-gradient(ellipse at 82% 100%, rgba(139,92,246,.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,255,255,.28)),
    #eef2ff !important;
  border-bottom:1px solid rgba(200,205,240,.38);
}
body[data-theme="light"] .public-navbar,
body[data-theme="light"] .navbar-collapse,
body[data-theme="light"] .glass-card,
body[data-theme="light"] .content-card,
body[data-theme="light"] .stat-card,
body[data-theme="light"] .conversion-strip,
body[data-theme="light"] .cta-band,
body[data-theme="light"] .public-footer,
body[data-theme="light"] .accordion-item,
body[data-theme="light"] .accordion-button{
  background:rgba(255,255,255,.78) !important;
  border-color:rgba(200,205,240,.58) !important;
  box-shadow:0 14px 34px rgba(30,41,59,.08) !important;
}
body[data-theme="light"] .glass-card,
body[data-theme="light"] .content-card,
body[data-theme="light"] .stat-card,
body[data-theme="light"] .conversion-strip,
body[data-theme="light"] .cta-band{
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}
body[data-theme="light"] .content-card::before,
body[data-theme="light"] .glass-card::before,
body[data-theme="light"] .page-hero::before,
body[data-theme="light"] .hero-section::before{
  opacity:.85;
}
body[data-theme="light"] .featured-plan{
  border-color:rgba(99,102,241,.28) !important;
  box-shadow:0 18px 42px rgba(99,102,241,.14) !important;
}
body[data-theme="light"] .stat-label,
body[data-theme="light"] .lead,
body[data-theme="light"] .text-light-emphasis,
body[data-theme="light"] .list-unstyled li,
body[data-theme="light"] .public-richtext p,
body[data-theme="light"] .public-richtext li,
body[data-theme="light"] .public-footer .small.text-light-emphasis,
body[data-theme="light"] .footer-link,
body[data-theme="light"] .conversion-strip span,
body[data-theme="light"] .conversion-strip .d-flex > span,
body[data-theme="light"] .accordion-body{
  color:var(--muted) !important;
}
body[data-theme="light"] .footer-link:hover,
body[data-theme="light"] .public-richtext a,
body[data-theme="light"] .navbar-brand,
body[data-theme="light"] .stat-value,
body[data-theme="light"] .bi-check2-circle.text-warning{
  color:var(--cyan) !important;
}
body[data-theme="light"] .navbar-toggler-icon{
  filter:invert(0) brightness(.3);
}
body[data-theme="light"] .navbar .btn-outline-light,
body[data-theme="light"] .btn-outline-light{
  background:rgba(255,255,255,.86) !important;
  color:var(--text) !important;
  border-color:rgba(200,205,240,.7) !important;
}
body[data-theme="light"] .navbar .btn-outline-light:hover,
body[data-theme="light"] .btn-outline-light:hover{
  background:rgba(99,102,241,.08) !important;
  color:var(--cyan) !important;
  border-color:rgba(99,102,241,.24) !important;
}
body[data-theme="light"] .btn-outline-warning{
  background:rgba(255,255,255,.86) !important;
  color:var(--cyan) !important;
  border-color:rgba(99,102,241,.24) !important;
}
body[data-theme="light"] .btn-outline-warning:hover{
  background:rgba(99,102,241,.08) !important;
  color:var(--cyan) !important;
}
body[data-theme="light"] .badge.bg-warning,
body[data-theme="light"] .badge.bg-warning.text-dark,
body[data-theme="light"] .badge.rounded-pill.bg-warning.text-dark{
  background:rgba(99,102,241,.12) !important;
  color:var(--cyan) !important;
  border:1px solid rgba(99,102,241,.18) !important;
}
body[data-theme="light"] .public-footer h5,
body[data-theme="light"] .public-footer h6,
body[data-theme="light"] h1,
body[data-theme="light"] h2,
body[data-theme="light"] h3,
body[data-theme="light"] h4,
body[data-theme="light"] h5,
body[data-theme="light"] h6{
  color:var(--text) !important;
}
body[data-theme="light"] .display-6,
body[data-theme="light"] .content-card .display-6,
body[data-theme="light"] .featured-plan .display-6{
  color:var(--text) !important;
}
body[data-theme="light"] .public-footer{
  background:rgba(255,255,255,.62) !important;
}
body[data-theme="light"] .page-hero .btn,
body[data-theme="light"] .hero-section .btn,
body[data-theme="light"] .cta-band .btn{
  box-shadow:0 10px 22px rgba(30,41,59,.08);
}

/* Internal dashboard polish in light mode */
body[data-theme="light"] .smm-content .stat-card,
body[data-theme="light"] .panel,
body[data-theme="light"] .card,
body[data-theme="light"] .provider-card,
body[data-theme="light"] .ag-plan-notice{
  background:rgba(255,255,255,.86) !important;
  box-shadow:0 12px 30px rgba(30,41,59,.07) !important;
}
body[data-theme="light"] .smm-topbar,
body[data-theme="light"] .smm-sidebar,
body[data-theme="light"] .smm-footer{
  background:rgba(255,255,255,.72) !important;
}
body[data-theme="light"] .smm-topbar-title,
body[data-theme="light"] .sidebar-user-name,
body[data-theme="light"] .panel-title,
body[data-theme="light"] .smm-panel-title,
body[data-theme="light"] .card-title{
  color:var(--text) !important;
}
body[data-theme="light"] .text-muted{color:var(--muted) !important;}
body[data-theme="light"] .table-responsive{border-radius:12px;}

/* Keep uploaded logo images normal when theme text gradient rules target navbar-brand. */
body[data-theme="light"] .navbar-brand img,
body[data-theme="light"] .brand-logo-img{
  background:none!important;
  -webkit-background-clip:initial!important;
  background-clip:initial!important;
  -webkit-text-fill-color:initial!important;
}
