:root{--navy:#0d2b57;--blue:#1683c4;--light:#f5f8fc;--red:#c9182b;--text:#243247}*{box-sizing:border-box}body{font-family:Georgia,'Times New Roman',serif;color:var(--text);background:#fff}.topbar{background:linear-gradient(90deg,var(--navy),#145d94)}a{text-decoration:none!important;font-weight:400!important}.brand-logo{max-width:560px;width:100%;height:92px;object-fit:contain;object-position:left center}.nav-link{color:#25364d!important}.nav-link:hover{color:var(--blue)!important}.btn-primary{background:var(--navy);border-color:var(--navy)}.btn-primary:hover{background:#17497e;border-color:#17497e}.hero{background:linear-gradient(135deg,#f5f9ff,#fff);padding:72px 0;border-bottom:1px solid #e6ebf2}.hero h1{color:var(--navy);font-size:clamp(2.4rem,5vw,4.4rem)}.section-title{color:var(--navy)}.icon-circle{width:54px;height:54px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e8f3fb;color:var(--blue);font-size:1.4rem}.soft-card{border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 8px 24px rgba(24,54,93,.06);height:100%}.site-footer{background:#0c2444;color:#dce6f4}.site-footer a{color:#fff}.social a{margin-left:12px}.dashboard-shell{display:grid;grid-template-columns:260px 1fr;min-height:620px}.dashboard-sidebar{background:#0d2b57;padding:24px}.dashboard-sidebar a{display:block;color:#fff;padding:10px 12px;border-radius:8px;margin-bottom:4px}.dashboard-sidebar a:hover{background:rgba(255,255,255,.12)}.dashboard-main{padding:28px;background:#f7f9fc}.stat-card{border:0;border-radius:14px;box-shadow:0 6px 20px rgba(13,43,87,.06)}.form-label{font-weight:600}.password-wrap{position:relative}.password-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#5b6878}.dropzone{border:2px dashed #a9b7c8;border-radius:12px;padding:34px;text-align:center;background:#fbfcfe;cursor:pointer}.dropzone.dragover{background:#eef7ff;border-color:#1683c4}.switch-row{padding:14px 0;border-bottom:1px solid #e8edf3}.badge-soft{background:#eaf4fb;color:#125b8d}.table th{white-space:nowrap}@media(max-width:991px){.brand-logo{height:68px}.dashboard-shell{grid-template-columns:1fr}.dashboard-sidebar{display:none}}

/* Homepage quick opt-out modal */
.quick-optout-modal {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(13, 43, 87, .25);
}

.quick-optout-modal-header {
    background: linear-gradient(90deg, var(--navy), var(--blue));
    border-bottom: 0;
    padding: 1.1rem 1.5rem;
}

.quick-optout-check {
    border: 1px solid #dce4ee;
    border-radius: 10px;
    background: #fbfdff;
    transition: background-color .2s ease, border-color .2s ease;
}

.quick-optout-check:hover {
    background: #f1f7fc;
    border-color: #a8c9df;
}

.quick-optout-check .form-check-input {
    margin-top: .25rem;
}

.quick-optout-check .form-check-label {
    cursor: pointer;
}

#quickOptOutResult:empty {
    display: none;
}

.quick-optout-check .quick-optout-checkbox {
    border: 1px solid #0d6efd;
    outline: 1px solid #0d6efd;
    outline-offset: 1px;
    box-shadow: none;
}

.quick-optout-check .quick-optout-checkbox:focus {
    border-color: #0d6efd;
    outline: 1px solid #0d6efd;
    box-shadow: 0 0 0 .15rem rgba(13, 110, 253, .18);
}

.quick-optout-header-exit {
    white-space: nowrap;
}


/* Topbar social links */
.topbar-social a {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

.topbar-social a:hover,
.topbar-social a:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, .22);
}


/* Footer layout stabilization - v4 */
html,body{min-height:100%}
body{min-height:100vh;display:flex;flex-direction:column}
body>main{flex:1 0 auto;width:100%;display:block}
.site-footer{flex-shrink:0;width:100%;margin-top:0!important;clear:both;position:relative;z-index:1}
.site-footer .container{max-width:1320px}
.site-footer .footer-links{min-height:32px}
.site-footer .social{display:inline-flex;align-items:center;gap:12px}
.site-footer .social a{margin-left:0;display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px}
@media(max-width:575.98px){.site-footer .footer-separator{display:none}.site-footer .footer-links{gap:10px 16px!important}}
