/* Day / Night official glass theme inspired by the attached references */
.theme-dock,.mode-switcher{display:none!important}
.theme-switch-shell{position:fixed;top:14px;left:14px;z-index:130;width:108px;height:64px;display:grid;place-items:center;filter:drop-shadow(0 18px 34px rgba(0,0,0,.28))}
.theme-toggle{position:relative;width:108px;height:64px;border:0;background:transparent;padding:0;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent}
.theme-toggle-led{position:absolute;top:10px;left:2px;width:10px;height:10px;border-radius:50%;background:#ff6b57;box-shadow:0 0 6px rgba(255,107,87,.85),0 0 14px rgba(255,107,87,.45);transition:all .25s ease;z-index:2}
.theme-toggle-track{position:absolute;left:14px;top:14px;width:82px;height:44px;border-radius:999px;background:linear-gradient(145deg,rgba(31,36,49,.96),rgba(8,11,17,.98));box-shadow:inset 8px 8px 18px rgba(0,0,0,.58),inset -6px -6px 14px rgba(255,255,255,.045),0 10px 25px rgba(0,0,0,.35);transition:all .3s cubic-bezier(.2,.8,.2,1)}
.theme-toggle-track:before{content:'';position:absolute;inset:3px;border-radius:999px;background:linear-gradient(145deg,rgba(255,255,255,.045),transparent 45%,rgba(0,0,0,.22));pointer-events:none}
.theme-toggle-thumb{position:absolute;top:4px;left:4px;width:36px;height:36px;border-radius:50%;background:linear-gradient(145deg,#333a4a,#1b2030);box-shadow:inset 1px 1px 2px rgba(255,255,255,.16),inset -2px -2px 5px rgba(0,0,0,.48),0 8px 18px rgba(0,0,0,.48);transition:transform .32s cubic-bezier(.2,.8,.2,1),box-shadow .32s ease,background .32s ease;z-index:1}
.theme-toggle:hover .theme-toggle-track{transform:scale(1.02)}
body.theme-light .theme-toggle-led{background:#67f06e;box-shadow:0 0 8px rgba(103,240,110,.95),0 0 18px rgba(103,240,110,.62),0 0 28px rgba(103,240,110,.28)}
body.theme-light .theme-toggle-track{border:1px solid rgba(103,240,110,.38);box-shadow:inset 8px 8px 18px rgba(0,0,0,.50),inset -6px -6px 14px rgba(255,255,255,.07),0 0 10px rgba(103,240,110,.48),0 0 24px rgba(103,240,110,.36),0 0 42px rgba(88,235,202,.20)}
body.theme-light .theme-toggle-thumb{transform:translateX(38px);background:linear-gradient(145deg,#313847,#1d2331);box-shadow:inset 1px 1px 2px rgba(255,255,255,.16),inset -2px -2px 5px rgba(0,0,0,.45),0 0 8px rgba(88,235,202,.45),0 8px 18px rgba(0,0,0,.45)}

body.theme-light{--color-ice:#0f172a;--color-sky:#2f9f7a;--color-teal:#33c48d;--glass-border:rgba(255,255,255,.72);--soft-shadow:0 22px 70px rgba(59,77,91,.13);--card-shadow:0 14px 46px rgba(59,77,91,.12);color:#121827!important;background:radial-gradient(circle at 20% 10%,rgba(209,250,229,.62),transparent 28%),radial-gradient(circle at 8% 72%,rgba(224,242,254,.72),transparent 30%),radial-gradient(circle at 52% 42%,rgba(255,251,235,.56),transparent 38%),linear-gradient(135deg,#f7faf9 0%,#eef8f4 50%,#f8fafc 100%)!important}
body.theme-light:before{opacity:.20!important;background:linear-gradient(rgba(15,23,42,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(15,23,42,.035) 1px,transparent 1px)!important;background-size:42px 42px!important}
body.theme-light:after{background:radial-gradient(circle at center,transparent 0%,rgba(255,255,255,.10) 84%)!important}
body.theme-light .hero,body.theme-light .cards-section,body.theme-light .details,body.theme-light .login-card,body.theme-light .login-visual,body.theme-light .modal-panel,body.theme-light .stats article,body.theme-light .confirm-card{background:linear-gradient(135deg,rgba(255,255,255,.78),rgba(255,255,255,.42))!important;border-color:rgba(255,255,255,.76)!important;box-shadow:0 22px 70px rgba(64,84,99,.13),inset 0 1px 0 rgba(255,255,255,.88)!important;backdrop-filter:blur(24px) saturate(150%)!important;color:#121827!important}
body.theme-light .report-card,body.theme-light .detail-grid article,body.theme-light .beneficiary-summary,body.theme-light .tests-summary,body.theme-light .beneficiary-cards article,body.theme-light .test-cards article,body.theme-light .official-report summary,body.theme-light .report-actions-panel,body.theme-light .theme-dock{background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(255,255,255,.36))!important;border-color:rgba(255,255,255,.72)!important;box-shadow:0 14px 45px rgba(64,84,99,.10),inset 0 1px 0 rgba(255,255,255,.76)!important;color:#121827!important}
body.theme-light .btn,body.theme-light .tab,body.theme-light .login-form input,body.theme-light .form-grid input,body.theme-light .form-grid textarea,body.theme-light .smart-input{background:rgba(255,255,255,.54)!important;border-color:rgba(15,23,42,.12)!important;color:#121827!important}
body.theme-light .btn.primary,body.theme-light .tab.active,body.theme-light .action-float{background:linear-gradient(135deg,#b7f4d4,#6ee7b7,#34d399)!important;color:#064e3b!important;border-color:rgba(52,211,153,.38)!important;box-shadow:0 18px 44px rgba(52,211,153,.26),inset 0 1px 0 rgba(255,255,255,.62)!important}
body.theme-light .eyebrow,body.theme-light .report-card span,body.theme-light .section-head .eyebrow,body.theme-light .hero p,body.theme-light .muted,body.theme-light .report-card small,body.theme-light .report-card em,body.theme-light .detail-grid span,body.theme-light .test-cards span,body.theme-light .beneficiary-cards span{color:rgba(15,23,42,.62)!important}
body.theme-light h1,body.theme-light h2,body.theme-light h3,body.theme-light strong{color:#121827!important}
body.theme-light .card-badge.ok{background:rgba(16,185,129,.13)!important;color:#047857!important;border-color:rgba(16,185,129,.28)!important}

body.theme-dark{--color-ice:#f8fafc;--color-sky:#2dd4bf;--color-teal:#059669;--glass-border:rgba(255,255,255,.14);--soft-shadow:0 26px 78px rgba(0,0,0,.32);--card-shadow:0 16px 50px rgba(0,0,0,.26);color:#f8fafc!important;background:radial-gradient(circle at 58% 6%,rgba(20,184,166,.28),transparent 30%),radial-gradient(circle at 12% 74%,rgba(14,165,233,.15),transparent 34%),linear-gradient(135deg,#020817 0%,#07111e 48%,#052e2b 100%)!important}
body.theme-dark:before{opacity:.18!important;background:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px)!important;background-size:42px 42px!important}
body.theme-dark:after{background:radial-gradient(circle at center,transparent 0%,rgba(0,0,0,.38) 84%)!important}
body.theme-dark .hero,body.theme-dark .cards-section,body.theme-dark .details,body.theme-dark .login-card,body.theme-dark .login-visual,body.theme-dark .modal-panel,body.theme-dark .stats article,body.theme-dark .confirm-card{background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.045))!important;border-color:rgba(255,255,255,.14)!important;box-shadow:0 26px 78px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.12)!important;backdrop-filter:blur(24px) saturate(145%)!important;color:#f8fafc!important}
body.theme-dark .report-card,body.theme-dark .detail-grid article,body.theme-dark .beneficiary-summary,body.theme-dark .tests-summary,body.theme-dark .beneficiary-cards article,body.theme-dark .test-cards article,body.theme-dark .official-report summary,body.theme-dark .report-actions-panel,body.theme-dark .theme-dock{background:linear-gradient(135deg,rgba(255,255,255,.085),rgba(255,255,255,.032))!important;border-color:rgba(255,255,255,.13)!important;box-shadow:0 16px 52px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.10)!important;color:#f8fafc!important}
body.theme-dark .btn,body.theme-dark .tab,body.theme-dark .login-form input,body.theme-dark .form-grid input,body.theme-dark .form-grid textarea,body.theme-dark .smart-input{background:rgba(3,8,18,.48)!important;border-color:rgba(255,255,255,.13)!important;color:#f8fafc!important}
body.theme-dark .btn.primary,body.theme-dark .tab.active,body.theme-dark .action-float{background:linear-gradient(135deg,#059669,#10b981,#34d399)!important;color:#ecfdf5!important;border-color:rgba(52,211,153,.38)!important;box-shadow:0 18px 44px rgba(5,150,105,.30),inset 0 1px 0 rgba(255,255,255,.18)!important}
body.theme-dark .eyebrow,body.theme-dark .report-card span,body.theme-dark .section-head .eyebrow{color:#6ee7b7!important}
body.theme-dark .hero p,body.theme-dark .muted,body.theme-dark .report-card small,body.theme-dark .report-card em,body.theme-dark .detail-grid span,body.theme-dark .test-cards span,body.theme-dark .beneficiary-cards span{color:rgba(248,250,252,.70)!important}

@media(max-width:720px){.theme-switch-shell{top:10px;left:10px;width:96px;height:58px}.theme-toggle{width:96px;height:58px}.theme-toggle-track{width:74px;height:40px}.theme-toggle-thumb{width:32px;height:32px}body.theme-light .theme-toggle-thumb{transform:translateX(34px)}}
