@import url('/lib/security-pinned/fonts-d2aab09f86dd.css');

:root {
    --login-blue: #1646a0;
    --login-blue-dark: #0b2e6f;
    --login-blue-soft: #eaf0fc;
    --login-ink: #172033;
    --login-body: #5c687b;
    --login-muted: #8994a6;
    --login-line: #dfe5ed;
    --login-red: #c43f4b;
    --login-green: #197153;
}

* { box-sizing: border-box; }

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    background: #f4f6fa;
    color: var(--login-ink);
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 88% 10%, rgba(93, 137, 215, .13), transparent 28%),
                linear-gradient(135deg, #f8faff 0%, #f3f5f9 52%, #eef2f7 100%);
}

.tech-wrapper {
    width: min(1120px, calc(100% - 48px));
    min-height: 640px;
    margin: 48px auto;
    overflow: hidden;
    border: 1px solid #dce3ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(28, 42, 66, .1);
}

.tech-wrapper .row {
    display: grid;
    grid-template-columns: minmax(340px, .9fr) minmax(420px, 1.1fr);
    min-height: 640px;
    margin: 0;
}

.panel-left,
.panel-right {
    width: auto;
    max-width: none;
    padding: 0;
}

.panel-left {
    position: relative;
    display: flex;
    align-items: stretch;
    background: var(--login-blue-dark);
    color: #fff;
}

.panel-left::after {
    position: absolute;
    right: -90px;
    bottom: -115px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.02);
    content: "";
    pointer-events: none;
}

.glass-inner {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 52px;
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 52px;
}

.portal-brand img {
    width: 34px;
    height: 42px;
    object-fit: contain;
}

.portal-brand span,
.portal-brand strong,
.portal-brand small { display: block; }

.portal-brand strong {
    color: #fff;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -.02em;
}

.portal-brand small {
    margin-top: 2px;
    color: #b9cdf3;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sys-label {
    width: fit-content;
    margin-bottom: 14px;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 5px;
    color: #d7e4fa;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.portal-title {
    max-width: 330px;
    margin: 0;
    color: #fff;
    font-size: clamp(35px, 4vw, 50px);
    font-weight: 750;
    line-height: 1.03;
    letter-spacing: -.05em;
}

.login-instruction {
    max-width: 365px;
    margin: 19px 0 0;
    color: #d6e2f6;
    font-size: 13px;
    line-height: 1.65;
}

.portal-points {
    display: grid;
    gap: 10px;
    margin: 34px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    list-style: none;
}

.portal-points li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #dbe6f8;
    font-size: 10.5px;
    font-weight: 600;
}

.portal-points span { color: #91b1e6; font-size: 8px; font-weight: 800; letter-spacing: .08em; }

.panel-right {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px;
    background: #fff;
}

.login-form-panel,
.form-footer {
    width: min(100%, 390px);
}

.login-form-panel {
    flex: 0 0 auto;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    padding: 5px 8px;
    border-radius: 5px;
    background: var(--login-blue-soft);
    color: var(--login-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.login-form-panel h2 {
    margin: 0;
    color: var(--login-ink);
    font-size: 29px;
    font-weight: 760;
    letter-spacing: -.04em;
}

.login-form-intro {
    margin: 9px 0 29px;
    color: var(--login-body);
    font-size: 12.5px;
    line-height: 1.55;
}

.form-text-label {
    display: block;
    margin-bottom: 7px;
    color: #687488;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.tech-input {
    width: 100%;
    height: 45px;
    padding: 0 13px;
    border: 1px solid #d9e0e9;
    border-radius: 7px;
    outline: 0;
    background: #fbfcfd;
    color: var(--login-ink);
    font-size: 12px;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.tech-input:focus {
    border-color: var(--login-blue);
    box-shadow: 0 0 0 3px rgba(22, 70, 160, .09);
}

.pw-wrapper { position: relative; }
.pw-wrapper .tech-input { padding-right: 46px; }
.pw-toggle { position: absolute; top: 50%; right: 12px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; color: #7c8799; transform: translateY(-50%); }
.pw-toggle:hover { color: var(--login-blue); }

.text-danger {
    display: block;
    margin-top: 5px;
    color: var(--login-red);
    font-size: 9.5px;
    line-height: 1.4;
}

#validationSummary:not(:empty) {
    display: block !important;
    margin: 0 0 17px;
    padding: 11px 11px;
    border: 1px solid #efcbd0;
    border-radius: 7px;
    background: #fbecef;
    color: var(--login-red);
    font-size: 10px;
    height: 40px;
}

.cta {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--login-blue);
    border-radius: 7px;
    background: var(--login-blue);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.top-part {
    width: 110%;
    height: 63px;
    display: flex; 
    justify-content: flex-end; 
    padding: 10px;
}

.back-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-height: 44px;
    max-width: 100%;
    padding: 0 18px;
    border: 1px solid var(--login-blue);
    border-radius: 7px;
    background: transparent;
    color: var(--login-blue) !important;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

    .back-link:hover {
        border-color: var(--login-blue-dark);
        background: transparent;
        color: var(--login-blue) !important;
        transform: translateY(-1px);
    }

.back-link:focus-visible {
    outline: 3px solid rgba(22, 70, 160, .22);
    outline-offset: 3px;
}

.back-link-arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform .16s ease;
}

.back-link:hover .back-link-arrow { transform: translateX(-2px); }

.tech-link {
    color: var(--login-blue);
    font-size: 10px;
    font-weight: 750;
    text-decoration: none;
}

.tech-link:hover { color: var(--login-blue-dark); text-decoration: underline; }

.form-footer { margin-top: 37px !important; padding-top: 17px !important; border-top: 1px solid #e7ebf1; }
.privacy-note { margin: 0; color: var(--login-muted); font-size: 9.5px; line-height: 1.55; }
.privacy-note strong { color: #687488; }

/* ── Authentication feedback ──────────────────────────────────── */
.login-notification-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(3px);
}

.login-notification-card {
    width: min(100%, 400px);
    padding: 28px;
    border: 1px solid #d8e0eb;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .24);
    text-align: center;
}

.login-notification-icon {
    display: grid;
    min-height: 72px;
    place-items: center;
    margin-bottom: 10px;
}

.login-notification-icon .svg-icon { width: 64px; height: 64px; }
.login-notification-card h3 { margin: 0 0 8px; color: var(--login-ink); font-size: 18px; letter-spacing: -.02em; }
.login-notification-card p { margin: 0 0 19px; color: var(--login-body); font-size: 11px; line-height: 1.55; }
.notification-confirm-btn { width: auto; min-width: 108px; padding: 0 18px; }

@media (max-width: 860px) {
    .tech-wrapper { width: min(540px, calc(100% - 32px)); min-height: auto; margin: 28px auto; }
    .tech-wrapper .row { display: block; min-height: 0; }
    .glass-inner { padding: 32px; }
    .portal-brand { margin-bottom: 29px; }
    .portal-title { max-width: none; font-size: 34px; }
    .login-instruction { max-width: 460px; }
    .portal-points { display: none; }
    .panel-right { padding: 34px 28px; }
    .top-part {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tech-wrapper { width: 100%; margin: 0; border-right: 0; border-left: 0; border-radius: 0; }
    .glass-inner { padding: 26px 20px; }
    .panel-right { padding: 31px 20px; }
    .portal-brand { margin-bottom: 25px; }
    .portal-title { font-size: 31px; }
    .login-form-panel h2 { font-size: 27px; }
}


/* Center the authentication shell in the desktop viewport; let long mobile pages flow from the top. */
.tech-wrapper {
    margin: 0 auto;
}

@media (max-width: 860px) {
    body {
        align-items: flex-start;
        padding: 28px 16px;
    }

    .tech-wrapper {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }
}


/* Recovery pages reuse the Login theme; these aliases keep their existing form markup on the same system. */
.recovery-form-panel { width: min(100%, 390px); flex: 0 0 auto; }
.recovery-form-panel h2 { margin: 0; color: var(--login-ink); font-size: 29px; font-weight: 760; letter-spacing: -.04em; }
.recovery-form-intro { margin: 9px 0 29px; color: var(--login-body); font-size: 12.5px; line-height: 1.55; }
.email-display-pill { display: flex; align-items: center; }
