@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    background:
        linear-gradient(90deg, rgba(248, 251, 255, 0.58) 0%, rgba(248, 251, 255, 0.44) 48%, rgba(248, 251, 255, 0.32) 100%),
        url('/static/images/latestDashboard.png') no-repeat center center / cover;
    font-size: 12px;
    margin: 0;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    overflow-x: hidden;
    position: relative;
    isolation: isolate;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 55%, rgba(255, 255, 255, 0.02) 100%);
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}

.main-container {
    width: min(calc(100% - 48px), 1160px);
    height: 100vh;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.governance-panel {
    flex: 0 1 820px;
    min-width: 0;
    height: min(620px, calc(100vh - 112px));
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible;
    box-shadow: none;
}

.governance-panel::before {
    display: none;
}

.governance-panel::after {
    display: none;
}

.governance-content {
    width: 100%;
    position: relative;
    z-index: 2;
    max-width: 820px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 35px;
}

.governance-fixed {
    flex: 0 0 auto;
    animation: contentEnter 650ms ease both;
}

.mini-logo {
    font-size: 10px;
    font-weight: 800;
    color: #1d4ed8;
    margin-bottom: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.governance-content h1 {
    max-width: 760px;
    font-size: 35px;
    line-height: 1.08;
    letter-spacing: 0;
    color: #020817;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 1px 18px rgba(255, 255, 255, 0.86);
    overflow-wrap: break-word;
}

.governance-content p {
    max-width: 720px;
    font-size: 12.5px;
    line-height: 1.75;
    color: #233047;
    text-shadow: 0 1px 16px rgba(255, 255, 255, 0.82);
    overflow-wrap: break-word;
}

.platform-flow {
    margin-top: 36px;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 32px;
    max-width: 780px;
}

.capability-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-width: 0;
    opacity: 1;
    transform: none;
    animation: contentEnter 640ms ease backwards;
    text-shadow: 0 1px 14px rgba(255, 255, 255, 0.8);
}

.capability-item>div {
    min-width: 0;
}

.capability-item:nth-child(1) {
    animation-delay: 120ms;
}

.capability-item:nth-child(2) {
    animation-delay: 220ms;
}

.capability-item:nth-child(3) {
    animation-delay: 320ms;
}

.capability-item:nth-child(4) {
    animation-delay: 420ms;
}

.capability-item:nth-child(5) {
    animation-delay: 520ms;
}

.capability-platform {
    grid-column: 1 / -1;
    max-width: 760px;
}

.capability-item .material-symbols-rounded {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.66);
    color: #1e3a8a;
    font-size: 21px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    animation: capabilitySignal 900ms ease-out both;
}

.capability-item:nth-child(3) .material-symbols-rounded {
    color: #047857;
    animation-delay: 0.4s;
}

.capability-item:nth-child(4) .material-symbols-rounded {
    color: #7c3aed;
    animation-delay: 0.8s;
}

.capability-item:nth-child(5) .material-symbols-rounded {
    color: #b45309;
    animation-delay: 1.2s;
}

.capability-item strong {
    display: block;
    margin-bottom: 5px;
    color: #020817;
    font-size: 14px;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.capability-item small {
    display: block;
    color: #1f2a3d;
    font-size: 10.5px;
    line-height: 1.55;
    font-weight: 500;
    overflow-wrap: break-word;
}

@keyframes contentEnter {
    from {
        transform: translateY(24px);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes capabilitySignal {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    }

    50% {
        transform: translateY(-3px);
        box-shadow: 0 16px 34px rgba(29, 78, 216, 0.14);
    }
}

/* =========================================
   LOGIN SECTION
========================================= */

.auth-section {
    width: 288px;
    flex: 0 0 288px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 4;
}

.auth-card {
    width: 100%;
    height: 494px;

    background: #ffffff;

    border: 1px solid #edf1f5;

    border-radius: 14px;
    padding: 24px 27px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

#loginFormSection {
    width: 100%;
}

.password-recovery-section {
    width: 100%;
    text-align: center;
}

.password-recovery-section[hidden] {
    display: none;
}

.recovery-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 16px;
    border: 1px solid #d7e2ef;
    border-radius: 12px;
    background: #f8fafc;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recovery-icon .material-symbols-rounded {
    font-size: 19px;
}

.password-recovery-section .subtitle {
    line-height: 1.55;
    margin-bottom: 21px;
}

.password-recovery-section .subtitle strong {
    display: block;
    margin-top: 6px;
    color: #5f7088;
    font-size: 9.5px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.recovery-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 20px;
    padding: 10px 12px;
    border: 1px solid #e5edf6;
    border-radius: 8px;
    background: #fbfcfe;
    text-align: left;
}

.recovery-note strong {
    color: #1e293b;
    font-size: 10px;
}

.recovery-note span {
    color: #7c8aa0;
    font-size: 8.5px;
    line-height: 1.5;
}

.recovery-timer {
    margin: -9px 0 15px;
    color: #8a98ab;
    font-size: 8.5px;
    font-weight: 600;
    text-align: center;
}

.recovery-timer strong {
    display: inline-block;
    margin-left: 4px;
    color: #1e3a8a;
    font-size: 9.5px;
}

.recovery-resend-btn {
    margin-top: 10px;
    margin-bottom: 0;
}

.recovery-resend-btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.recovery-back-link {
    margin-top: 18px;
}

.back-to-login-link,
.back-to-forgot-link {
    color: #64748b !important;
}

/* =========================================
   HEADINGS
========================================= */

.auth-card h2 {
    text-align: center;

    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 7px;
}

.subtitle {
    text-align: center;

    font-size: 9px;
    color: #94a3b8;
    margin-bottom: 23px;
}

/* =========================================
   LABELS
========================================= */

label {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: #334155;
}

/* =========================================
   INPUTS
========================================= */

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group input {
    margin-top: 3px;
    width: 100%;
    height: 29px;
    border: 1px solid #dbe2ea;
    border-radius: 6px;
    background: #fafbfd;
    padding: 0 34px 0 39px;
    font-size: 9px;
    color: #334155;

    transition: 0.2s ease;
}

.input-group input:focus {
    outline: none;

    background: #ffffff;
    border-color: #9db6f6;
}

.input-group span {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    font-size: 14px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.input-group span:first-child {
    left: 7px;
}

.input-group .input-icon {
    width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 1px solid #d7e2ef;
    border-radius: 6px;
    background: #f8fafc;
    color: #2563eb;
    font-size: 13px;
    transform: translateY(-43%);
}

.input-group .aadhaar-icon {
    color: #2563eb;
}

.input-group .password-icon {
    color: #475569;
}

.toggle-password {
    top: 3px !important;
    right: 0;
    cursor: pointer;
    color: #64748b;
    width: 31px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-left: 1px solid #dbeafe;
    border-radius: 0 6px 6px 0;
    background: transparent;
    line-height: 1 !important;
    padding: 0;
    transform: none !important;
}

.toggle-password svg {
    width: 15px;
    height: 15px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.input-group:focus-within .toggle-password {
    color: #334155;
}

/* =========================================
   OPTIONS
========================================= */

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 4px;

    font-size: 9px;
    color: #64748b;
}

.remember input {
    width: 9px;
    height: 10px;
}

.form-options a {
    font-size: 9px;
    color: #c0cad9;
    text-decoration: none;
}

/* =========================================
   BUTTON
========================================= */

.primary-btn {
    width: 100%;
    height: 30px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #08122f 0%, #172554 58%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    cursor: pointer;

    transition: 0.2s ease;
}

.primary-btn .btn-leading-icon {
    font-size: 14px;
    line-height: 1;
}

.login-snackbar {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    max-width: min(520px, calc(100vw - 32px));
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid #1e293b;
    border-radius: 10px;
    color: #ffffff;
    background: #0f172a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    pointer-events: none;
}

.login-snackbar.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.login-snackbar.warning {
    border-color: #b45309;
    background: #b45309;
}

.login-snackbar.error {
    border-color: #b42318;
    background: #b42318;
}

.login-snackbar.success {
    border-color: #15803d;
    background: #15803d;
}

/* =========================================
   DIVIDER
========================================= */

.divider {
    display: flex;
    align-items: center;

    margin: 23px 0 19px;
    color: #cbd5e1;
    font-size: 8px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    padding: 0 10px;
}

/* =========================================
   HELP TEXT
========================================= */

.help-text {
    margin-top: 24px;
    text-align: center;
    font-size: 8px;
    color: #b6c0d1;
}

.login-footer {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 5;
    width: min(760px, calc(100vw - 40px));
    color: #526581;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    text-shadow: 0 1px 16px rgba(255, 255, 255, 0.86);
    transform: translateX(-50%);
    pointer-events: none;
    overflow-wrap: anywhere;
}

.login-footer span {
    display: inline;
}

/* =========================================
   MFA SECTION
========================================= */

.mfa-section {
    display: none;
}

.mfa-section.active {
    display: block;
}

.mfa-card {
    width: 320px;
    height: 620px;

    background: #ffffff;

    border: 1px solid #edf1f5;
    border-radius: 20px;

    padding: 34px;

    text-align: center;
}

.mfa-icon {
    font-size: 34px;
    margin-bottom: 18px;
}

.mfa-card h2 {
    font-size: 20px;
    font-weight: 700;

    color: #0f172a;

    margin-bottom: 10px;
}

.mfa-inputs {
    display: flex;
    justify-content: center;
    gap: 9px;

    margin: 30px 0;
}

.otp-input {
    width: 42px;
    height: 42px;

    border: 1px solid #dbe2ea;
    border-radius: 10px;

    text-align: center;

    font-size: 18px;
}

.back-link {
    margin-top: 20px;
}

.back-link a {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: none;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1100px) {

    body {
        overflow: auto;
        overflow-x: hidden;
        height: auto;
        min-height: 100vh;
    }

    .main-container {
        width: min(calc(100% - 32px), 920px);
        height: auto;
        min-height: 100vh;
        padding: 42px 0 74px;
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .governance-panel {
        width: 100%;
        max-width: 920px;
        height: auto;
        min-height: 620px;
        max-height: none;
        padding: 0;
    }

    .governance-content {
        max-width: 100%;
        width: 100%;
        padding-top: 0;
    }

    .capability-grid {
        width: 100%;
    }

    .mfa-card {
        width: 100%;
        max-width: 420px;
    }

    .auth-section {
        width: 100%;
        max-width: 320px;
        flex: 0 0 auto;
    }
}

@media(max-width:720px) {

    .main-container {
        width: min(calc(100% - 24px), 420px);
        padding-top: 30px;
        overflow: hidden;
    }

    .governance-panel {
        min-height: 650px;
        width: 100%;
        max-width: 100%;
    }

    .governance-content h1 {
        font-size: 15px !important;
        line-height: 1.12;
        max-width: min(100%, 310px);
        width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .governance-content p {
        font-size: 11px;
        max-width: min(100%, 318px);
        width: 100%;
        white-space: normal;
    }

    .platform-flow {
        margin-top: 30px;
    }

    .capability-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 320px;
    }

    .capability-platform {
        grid-column: auto;
    }

    .capability-item {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 12px;
    }

    .capability-item .material-symbols-rounded {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .login-footer {
        bottom: 10px;
        width: calc(100vw - 36px);
        font-size: 8.2px;
        line-height: 1.4;
        white-space: normal;
    }

    .login-footer span {
        display: block;
    }
}

@media(prefers-reduced-motion:reduce) {

    .governance-fixed,
    .capability-item,
    .capability-item .material-symbols-rounded {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* =========================================
   SSO BUTTONS
========================================= */

.sso-btn {
    width: 100%;
    height: 30px;
    border: 1px solid #d9e3ef;
    border-radius: 7px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    margin-bottom: 8px;
    font-size: 9px;
    color: #334155;
    font-weight: 600;

    cursor: pointer;

    transition: border-color 0.2s ease, background 0.2s ease;

    display: grid;
    grid-template-columns: 18px auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    line-height: 1;
}

.sso-btn>span:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 1;
}

/* MICROSOFT */

.microsoft-btn {
    color: #334155;
}

.microsoft-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    line-height: 1;
}

.microsoft-icon svg {
    width: 10px;
    height: 10px;
    display: block;
}

/* ENTERPRISE */

.enterprise-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #f8fafc;
    color: #1e3a8a;
    font-size: 14px !important;
    line-height: 1;
    border: 1px solid #d9e3ef;
    overflow: hidden;
}

.sso-btn>.material-symbols-rounded:not(.enterprise-icon) {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #f8fafc;
    color: #334155;
    font-size: 10px;
    line-height: 1;
    border: 1px solid #d9e3ef;
}

/* =========================================
   ROLE BANNER
========================================= */

.role-banner {
    width: 100%;

    padding: 10px 14px;

    border-radius: 8px;

    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-admin {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.role-principal {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.role-fiduciary {
    background: #fefce8;
    color: #a16207;
    border: 1px solid #fde68a;
}

.role-default {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* =========================================
   MFA UI
========================================= */

.mfa-section {
    display: none;
    width: 360px;
    margin-left: 24px;
}

.mfa-card {
    background: #ffffff;
    border: 1px solid #e7edf4;
    border-radius: 20px;
    padding: 30px 26px;
    width: 120%;
    min-height: 620px;
    text-align: center;
}

.mfa-shield {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #d7e2ef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mfa-shield span {
    font-size: 26px;
    color: #2563eb;
}

.mfa-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.mfa-subtitle {
    font-size: 13px;
    line-height: 1.7;
    color: #7c8aa5;
    margin-bottom: 28px;
}

.mfa-subtitle strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-weight: 700;
}

.mfa-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-input {
    width: 46px;
    height: 46px;
    border: 1px solid #d9e1ea;
    border-radius: 10px;
    background: #f9fbfd;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    outline: none;
}

.otp-input:focus {
    border-color: #0b132b;
    background: #ffffff;
}

.otp-divider {
    color: #94a3b8;
    font-size: 18px;
    font-weight: 600;
}

.resend-code {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.resend-code strong {
    color: #0f172a;
}

.trust-device {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 24px;
}

.mfa-divider {
    display: flex;
    align-items: center;
    margin: 24px 0 18px;
}

.mfa-divider::before,
.mfa-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.mfa-divider span {
    padding: 0 10px;
    font-size: 10px;
    font-weight: 700;
    color: #b4bfce;
}

.mfa-option-btn {
    width: 100%;
    height: 46px;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    background: #ffffff;
    margin-bottom: 12px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: 0.2s ease;
}

.mfa-option-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mfa-option-left span:first-child {
    font-size: 18px;
    color: #64748b;
}

.mfa-option-left span:last-child {
    font-size: 13px;
    color: #334155;
}

.mfa-option-btn>span {
    font-size: 18px;
    color: #94a3b8;
}

.back-link {
    margin-top: 16px;
}

.back-link a {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: none;
}

/* =========================================
   SIGNUP LINK
========================================= */

.auth-footer-links {
    margin-top: 1px;
    text-align: center;
}

.help-text a {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

/* =========================================
   COOKIE CONSENT
========================================= */

.cookie-modal-open {
    overflow: hidden;
}

.cookie-consent-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(8, 18, 47, 0.58);
    backdrop-filter: blur(1px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.cookie-consent-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1000;
    width: min(1120px, calc(100vw - 48px));
    height: min(620px, calc(100vh - 48px));
    overflow: hidden;
    padding: 32px 38px 20px;
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 20px;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -46%) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.cookie-consent-panel.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7edf4;
}

.cookie-consent-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #2563eb;
    background: #f8fafc;
    border: 1px solid #d7e2ef;
}

.cookie-consent-icon span {
    font-size: 26px;
}

.cookie-consent-eyebrow {
    margin: 0 0 3px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-consent-panel h2 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.25;
    text-align: left;
}

.cookie-consent-header-copy {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
}

.cookie-consent-standard {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid #d7e3f5;
    border-radius: 99px;
    color: #1e3a8a;
    background: #f5f8ff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cookie-consent-standard span {
    font-size: 16px;
}

.cookie-consent-close {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    color: #64748b;
    background: #ffffff;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.cookie-consent-close:focus-visible {
    outline: 2px solid #315ea8;
    outline-offset: 2px;
}

.cookie-consent-close:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.cookie-consent-close span {
    font-size: 20px;
}

.cookie-consent-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 30px;
    height: 405px;
}

.cookie-consent-overview,
.cookie-preferences {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cookie-consent-overview[hidden],
.cookie-preferences[hidden] {
    display: none;
}

.cookie-consent-overview>p,
.cookie-preferences-intro {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.75;
}

.cookie-dpdp-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #cfe2ff;
    border-radius: 11px;
    background: #f4f8ff;
}

.cookie-dpdp-notice>.material-symbols-rounded {
    color: #2563eb;
    font-size: 16px;
}

.cookie-dpdp-notice div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cookie-dpdp-notice strong {
    color: #1e3a8a;
    font-size: 12px;
}

.cookie-dpdp-notice small {
    color: #526581;
    font-size: 11px;
    line-height: 1.6;
}

.cookie-platform-summary {
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px solid #e3e9f1;
    border-radius: 12px;
    background: #fbfcfe;
}

.cookie-platform-summary h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.cookie-platform-summary p {
    margin: 0;
    color: #526581;
    font-size: 12px;
    line-height: 1.7;
}

.cookie-consent-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: auto;
}

.cookie-consent-facts>div {
    min-height: 104px;
    padding: 14px;
    border: 1px solid #e3e9f1;
    border-radius: 12px;
    background: #fbfcfe;
}

.cookie-consent-facts span {
    display: block;
    margin-bottom: 12px;
    color: #34538a;
    font-size: 21px;
}

.cookie-consent-facts strong,
.cookie-consent-facts small {
    display: block;
}

.cookie-consent-facts strong {
    margin-bottom: 5px;
    color: #172033;
    font-size: 11px;
}

.cookie-consent-facts small {
    color: #718096;
    font-size: 10px;
    line-height: 1.5;
}

.cookie-consent-decision {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #e0e7f0;
    border-radius: 16px;
    background: linear-gradient(145deg, #f8faff 0%, #f5f8fc 100%);
}

.cookie-decision-label {
    margin: 0 0 8px;
    color: #48648f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-consent-decision h3,
.cookie-preferences-heading h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 18px;
}

.cookie-consent-decision>p:not(.cookie-decision-label) {
    margin: 0 0 24px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.65;
}

.cookie-consent-highlights {
    display: grid;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.cookie-consent-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
}

.cookie-consent-highlights .material-symbols-rounded {
    color: #2f6f51;
    font-size: 17px;
}

.cookie-consent-actions,
.cookie-preference-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-consent-actions {
    margin-top: auto;
}

.cookie-primary-btn,
.cookie-secondary-btn {
    min-height: 44px;
    padding: 0 20px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.cookie-primary-btn {
    border: 1px solid #0b1534;
    color: #ffffff;
    background: #0b1534;
}

.cookie-secondary-btn {
    border: 1px solid #d8e0ea;
    color: #334155;
    background: #ffffff;
}

.cookie-primary-btn:disabled,
.cookie-secondary-btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}

.cookie-preferences {
    border: 0;
    padding: 0;
}

.cookie-preferences-heading {
    display: block;
    margin-bottom: 12px;
}

.cookie-preferences-heading .cookie-preferences-intro {
    width: 100%;
    margin-bottom: 0;
    font-size: 11px;
    line-height: 1.5;
}

.cookie-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    min-height: 78px;
    padding: 11px 12px;
    border: 1px solid #e3e9f1;
    border-radius: 12px;
    background: #fbfcfe;
    cursor: pointer;
}

.cookie-option span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cookie-option strong {
    color: #1e293b;
    font-size: 11px;
}

.cookie-option small {
    color: #7c8aa0;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.45;
}

.cookie-option input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin: 0;
    accent-color: #0b1534;
}

.cookie-option-required {
    cursor: not-allowed;
}

.cookie-option-required strong::after {
    content: "Required";
    display: inline-block;
    margin-left: 7px;
    padding: 2px 6px;
    border-radius: 99px;
    color: #166534;
    background: #dcfce7;
    font-size: 8px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    vertical-align: 1px;
}

.cookie-preference-actions {
    margin-top: auto;
    justify-content: flex-end;
}

.cookie-consent-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #edf1f5;
    color: #8a98ab;
    font-size: 9px;
}

.cookie-consent-footer p {
    margin: 0;
}

.cookie-consent-status {
    color: #b42318;
    font-size: 10px;
    line-height: 1.4;
}

@media(max-width:900px) {
    .cookie-consent-panel {
        width: calc(100vw - 28px);
        height: calc(100vh - 28px);
        padding: 24px;
        overflow: auto;
        border-radius: 16px;
    }

    .cookie-consent-header {
        align-items: flex-start;
    }

    .cookie-consent-standard {
        display: none;
    }

    .cookie-consent-summary,
    .cookie-options-grid {
        grid-template-columns: 1fr;
    }

    .cookie-consent-summary {
        gap: 20px;
        height: auto;
    }

    .cookie-consent-facts {
        grid-template-columns: 1fr;
    }

    .cookie-consent-facts>div {
        min-height: auto;
    }

    .cookie-preferences-heading {
        display: block;
    }

    .cookie-preferences-heading .cookie-preferences-intro {
        width: 100%;
    }
}

@media(max-width:600px) {

    .cookie-consent-actions,
    .cookie-preference-actions {
        flex-direction: column-reverse;
    }

    .cookie-primary-btn,
    .cookie-secondary-btn {
        width: 100%;
    }
}

/* Two-step verification compact card */
#mfaSection .auth-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 27px;
}

.mfa-card-content {
    width: 100%;
    text-align: center;
}

#mfaSection .mfa-shield {
    width: 42px;
    height: 42px;
    margin: 0 auto 16px;
    border-radius: 12px;
}

#mfaSection .mfa-shield .material-symbols-rounded {
    font-size: 17px;
}

#mfaSection .auth-card h2 {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.2;
}

#mfaSection .subtitle {
    margin-bottom: 20px;
    font-size: 9px;
    line-height: 1.55;
}

#mfaSection .subtitle br {
    display: none;
}

#mfaSection .subtitle strong {
    display: block;
    margin-top: 6px;
    color: #6b7c96;
    font-size: 9.5px;
    letter-spacing: 0.02em;
}

#mfaSection .mfa-inputs {
    gap: 7px;
    margin-bottom: 16px;
}

#mfaSection .otp-input {
    width: 37px;
    height: 39px;
    border-radius: 8px;
    background: #fbfcff;
    font-size: 16px;
    font-weight: 700;
}

#mfaSection .otp-divider {
    margin: 0 1px;
    font-size: 14px;
}

#mfaSection .help-text {
    font-size: 8.5px;
}

#mfaSection .form-options {
    margin-top: 15px !important;
    margin-bottom: 18px;
}

#mfaSection .remember {
    gap: 5px;
    color: #64748b;
    font-size: 9px;
}

#mfaSection .remember input {
    width: 11px;
    height: 11px;
}

#mfaSection #verifyBtn {
    height: 34px;
    min-height: 34px;
    margin-bottom: 19px;
    gap: 6px;
    font-size: 10px;
}

#mfaSection #verifyBtn .material-symbols-rounded {
    font-size: 15px;
}

#mfaSection .divider {
    margin: 0 0 16px;
}

#mfaSection .divider span {
    font-size: 7.5px;
}

#mfaSection .sso-btn {
    height: 30px;
    min-height: 30px;
    margin-bottom: 8px;
    border-radius: 7px;
    font-size: 9px;
}

#mfaSection .sso-btn .material-symbols-rounded {
    width: 21px;
    height: 21px;
    font-size: 14px;
}

#mfaSection .mfa-back-link {
    margin-top: 12px !important;
}

/* Cookie consent compact panel */
.cookie-consent-panel {
    width: min(920px, calc(100vw - 56px)) !important;
    height: min(500px, calc(100vh - 64px)) !important;
    padding: 22px 28px 14px !important;
    border-radius: 16px !important;
}

.cookie-consent-header {
    gap: 12px !important;
    margin-bottom: 16px !important;
    padding-bottom: 13px !important;
}

.cookie-consent-icon {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
    border-radius: 10px !important;
}

.cookie-consent-icon span {
    font-size: 21px !important;
}

.cookie-consent-eyebrow {
    font-size: 8.5px !important;
}

.cookie-consent-panel h2 {
    font-size: 20px !important;
}

.cookie-consent-header-copy {
    margin-top: 4px !important;
    font-size: 9.5px !important;
}

.cookie-consent-standard {
    padding: 6px 10px !important;
    font-size: 8.5px !important;
}

.cookie-consent-close {
    width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
    border-radius: 8px !important;
}

.cookie-consent-summary {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr) !important;
    gap: 24px !important;
    height: 330px !important;
}

.cookie-consent-overview>p,
.cookie-preferences-intro {
    margin-bottom: 14px !important;
    font-size: 10.5px !important;
    line-height: 1.55 !important;
}

.cookie-dpdp-notice {
    margin-bottom: 14px !important;
    padding: 11px 12px !important;
    border-radius: 9px !important;
}

.cookie-dpdp-notice strong {
    font-size: 10px !important;
}

.cookie-dpdp-notice small {
    font-size: 9px !important;
    line-height: 1.45 !important;
}

.cookie-platform-summary {
    margin-bottom: 14px !important;
    padding: 13px 15px !important;
    border-radius: 10px !important;
}

.cookie-platform-summary h3,
.cookie-consent-decision h3,
.cookie-preferences-heading h3 {
    font-size: 15px !important;
}

.cookie-platform-summary p,
.cookie-consent-decision>p:not(.cookie-decision-label) {
    font-size: 9.5px !important;
    line-height: 1.5 !important;
}

.cookie-consent-facts {
    gap: 8px !important;
}

.cookie-consent-facts>div {
    min-height: 74px !important;
    padding: 10px !important;
    border-radius: 9px !important;
}

.cookie-consent-facts span {
    margin-bottom: 7px !important;
    font-size: 17px !important;
}

.cookie-consent-facts strong {
    font-size: 9.5px !important;
}

.cookie-consent-facts small {
    font-size: 8px !important;
    line-height: 1.35 !important;
}

.cookie-consent-decision {
    padding: 18px !important;
    border-radius: 13px !important;
}

.cookie-decision-label {
    margin-bottom: 6px !important;
    font-size: 8.5px !important;
}

.cookie-consent-highlights {
    gap: 7px !important;
    margin-bottom: 16px !important;
}

.cookie-consent-highlights li {
    font-size: 9.5px !important;
}

.cookie-primary-btn,
.cookie-secondary-btn {
    min-height: 36px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    font-size: 10px !important;
}

.cookie-options-grid {
    gap: 8px !important;
}

.cookie-option {
    min-height: 62px !important;
    padding: 9px 10px !important;
    border-radius: 10px !important;
}

.cookie-option strong {
    font-size: 9.5px !important;
}

.cookie-option small {
    font-size: 8px !important;
    line-height: 1.35 !important;
}

.cookie-option input {
    width: 14px !important;
    height: 14px !important;
    flex-basis: 14px !important;
}

.cookie-consent-footer {
    margin-top: 8px !important;
    padding-top: 8px !important;
    font-size: 8px !important;
}