.identity-body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: #163446;
    background:
        radial-gradient(circle at 8% 8%, rgba(122, 173, 211, .2), transparent 30%),
        radial-gradient(circle at 92% 88%, rgba(0, 75, 112, .1), transparent 34%),
        #eef4f7;
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
}

.login-page {
    display: grid;
    min-height: 100vh;
    padding: 34px;
    place-items: center;
}

.login-shell {
    display: grid;
    width: min(100%, 980px);
    min-height: 620px;
    grid-template-columns: minmax(340px, .94fr) minmax(390px, 1.06fr);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 75, 112, .12);
    border-radius: 28px;
    box-shadow: 0 28px 75px rgba(0, 57, 84, .18);
}

.login-brand {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    padding: 38px;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 13%, rgba(122, 173, 211, .42), transparent 31%),
        linear-gradient(145deg, #003b58 0%, #004b70 58%, #11698f 100%);
    isolation: isolate;
}

.login-brand::before,
.login-brand::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.login-brand::before {
    right: -130px;
    bottom: -75px;
    width: 390px;
    height: 315px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 48%;
    transform: rotate(-17deg);
}

.login-brand::after {
    top: 160px;
    left: -190px;
    width: 360px;
    height: 230px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    transform: rotate(18deg);
}

.login-brand-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.login-logo {
    display: block;
    width: 122px;
    height: 76px;
    object-fit: contain;
}

.login-brand-badge {
    padding: 6px 10px;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
}

.login-brand-copy {
    position: relative;
    z-index: 1;
    max-width: 360px;
    padding: 34px 0;
}

.login-eyebrow {
    color: #5e98c3;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.login-eyebrow-light {
    color: #9bc7e5;
}

.login-brand-copy h1 {
    margin: 10px 0 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 780;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.login-brand-copy p {
    max-width: 340px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
    line-height: 1.65;
}

.login-brand-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .58);
    font-size: .7rem;
    font-weight: 600;
}

.login-brand-dot {
    width: 7px;
    height: 7px;
    background: #7aadd3;
    border: 2px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    box-sizing: content-box;
}

.login-form-panel {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 52px clamp(38px, 6vw, 70px);
    background:
        linear-gradient(180deg, rgba(246, 250, 252, .7), rgba(255, 255, 255, 0) 22%),
        #ffffff;
}

.login-mobile-brand {
    display: none;
}

.login-form-heading h2 {
    margin: 7px 0 0;
    color: #004b70;
    font-size: clamp(1.75rem, 4vw, 2.15rem);
    font-weight: 780;
    letter-spacing: -.04em;
    line-height: 1.1;
}

.login-form-heading p {
    margin: 10px 0 0;
    color: #69808d;
    font-size: .82rem;
    line-height: 1.5;
}

.login-alert {
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 10px 12px;
    border: 1px solid;
    border-radius: 12px;
    font-size: .74rem;
    font-weight: 650;
    line-height: 1.4;
}

.login-alert-icon {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    background: rgba(255, 255, 255, .65);
    border-radius: 8px;
    font-weight: 850;
}

.login-alert-success {
    color: #287a49;
    background: #edf8f1;
    border-color: #cce9d6;
}

.login-alert-error {
    color: #a62e57;
    background: #fff1f6;
    border-color: #f5cedd;
}

.login-form {
    margin-top: 28px;
}

.login-field + .login-field {
    margin-top: 17px;
}

.login-field label {
    display: block;
    margin: 0 0 7px 2px;
    color: #244858;
    font-size: .72rem;
    font-weight: 750;
}

.login-input-wrap {
    position: relative;
}

.login-input-wrap input {
    display: block;
    width: 100%;
    height: 49px;
    padding: 0 14px 0 43px;
    color: #163446;
    background: #f7fafb;
    border: 1px solid #cfdee5;
    border-radius: 13px;
    outline: 0;
    font-size: .84rem;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.login-input-wrap input::placeholder {
    color: #91a2ab;
}

.login-input-wrap input:hover {
    background: #ffffff;
    border-color: #b7ced9;
}

.login-input-wrap input:focus {
    background: #ffffff;
    border-color: #7aadd3;
    box-shadow: 0 0 0 4px rgba(122, 173, 211, .18);
}

.login-input-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 16px;
    width: 14px;
    height: 14px;
    border: 2px solid #6d93a7;
    border-radius: 50%;
    transform: translateY(-56%);
    pointer-events: none;
}

.login-input-icon::after {
    position: absolute;
    right: -4px;
    bottom: -3px;
    width: 6px;
    height: 2px;
    background: #6d93a7;
    border-radius: 2px;
    content: "";
    transform: rotate(45deg);
}

.login-input-password .login-input-icon {
    top: 20px;
    width: 14px;
    height: 11px;
    border-radius: 3px;
    transform: none;
}

.login-input-password .login-input-icon::before {
    position: absolute;
    top: -8px;
    left: 1px;
    width: 8px;
    height: 8px;
    border: 2px solid #6d93a7;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    content: "";
}

.login-input-password .login-input-icon::after {
    display: none;
}

.login-input-email .login-input-icon {
    top: 17px;
    width: 16px;
    height: 12px;
    border-radius: 2px;
    transform: none;
}

.login-input-email .login-input-icon::before,
.login-input-email .login-input-icon::after {
    position: absolute;
    top: 1px;
    width: 9px;
    height: 2px;
    background: #6d93a7;
    content: "";
}

.login-input-email .login-input-icon::before {
    left: 0;
    transform: rotate(35deg);
}

.login-input-email .login-input-icon::after {
    right: 0;
    bottom: auto;
    transform: rotate(-35deg);
}

.login-submit,
.login-reminder-submit {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    font-weight: 750;
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.login-submit {
    min-height: 50px;
    gap: 10px;
    margin-top: 25px;
    color: #ffffff;
    background: linear-gradient(120deg, #004b70, #0a6d97);
    border-radius: 13px;
    box-shadow: 0 11px 24px rgba(0, 75, 112, .2);
    font-size: .84rem;
}

.login-submit:hover,
.login-reminder-submit:hover {
    background: #003e5d;
    box-shadow: 0 14px 28px rgba(0, 75, 112, .25);
    transform: translateY(-1px);
}

.login-submit-arrow {
    color: #a9d0e9;
    font-size: 1.05rem;
    transition: transform .16s ease;
}

.login-submit:hover .login-submit-arrow {
    transform: translateX(3px);
}

.login-forgot-toggle {
    display: block;
    margin: 16px auto 0;
    padding: 5px;
    color: #276f95;
    background: transparent;
    border: 0;
    font-size: .71rem;
    font-weight: 700;
    cursor: pointer;
}

.login-forgot-toggle:hover {
    color: #004b70;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-reminder {
    margin-top: 18px;
    padding: 17px;
    background: #f2f7f9;
    border: 1px solid #d7e5eb;
    border-radius: 15px;
}

.login-reminder-heading {
    margin-bottom: 14px;
}

.login-reminder-heading strong,
.login-reminder-heading span {
    display: block;
}

.login-reminder-heading strong {
    color: #004b70;
    font-size: .78rem;
}

.login-reminder-heading span {
    margin-top: 4px;
    color: #69808d;
    font-size: .66rem;
    line-height: 1.45;
}

.login-reminder-submit {
    min-height: 42px;
    margin-top: 13px;
    color: #ffffff;
    background: #004b70;
    border-radius: 11px;
    font-size: .73rem;
}

.login-form-footer {
    margin-top: 30px;
    color: #9aabb3;
    font-size: .64rem;
    font-weight: 650;
    letter-spacing: .04em;
    text-align: center;
}

button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(122, 173, 211, .42);
    outline-offset: 2px;
}

@media (max-width: 820px) {
    .login-page {
        padding: 22px;
    }

    .login-shell {
        width: min(100%, 540px);
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .login-brand {
        min-height: 210px;
        padding: 25px 28px;
    }

    .login-brand-top {
        align-items: flex-start;
    }

    .login-logo {
        width: 96px;
        height: 58px;
    }

    .login-brand-copy {
        padding: 16px 0 8px;
    }

    .login-brand-copy h1 {
        max-width: 410px;
        font-size: 1.8rem;
    }

    .login-brand-copy p,
    .login-brand-footer {
        display: none;
    }

    .login-form-panel {
        padding: 38px clamp(26px, 8vw, 48px);
    }
}

@media (max-width: 480px) {
    .login-page {
        display: block;
        padding: 0;
        background: #ffffff;
    }

    .login-shell {
        width: 100%;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .login-brand {
        display: none;
    }

    .login-form-panel {
        min-height: 100vh;
        justify-content: flex-start;
        padding: 34px 24px;
    }

    .login-mobile-brand {
        display: block;
        margin-bottom: 32px;
    }

    .login-mobile-brand img {
        display: block;
        width: 98px;
        height: 66px;
        object-fit: contain;
    }

    .login-form {
        margin-top: 25px;
    }

    .login-form-footer {
        margin-top: auto;
        padding-top: 30px;
    }
}
