:root {
    --auth-navy: #071b45;
    --auth-navy-light: #0e3476;
    --auth-blue: #2468dd;
    --auth-blue-dark: #1858c6;
    --auth-green: #3eb164;
    --auth-text: #10203b;
    --auth-muted: #6f7c93;
    --auth-border: #dce5f0;
    --auth-bg: #f3f7fc;
    --auth-error: #c43d3d;
    --auth-card-shadow: 0 24px 70px rgba(33, 61, 103, .13);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--auth-text);
    background: var(--auth-bg);
}

button,
input {
    font: inherit;
}

.auth-page {
    min-height: 100vh;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(420px, 42%) minmax(520px, 58%);
}

.auth-brand-panel {
    position: relative;
    min-height: 100vh;
    padding: 42px 50px 36px;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient( circle at 7% 6%, rgba(255, 255, 255, .98) 0%, rgba(239, 248, 255, .96) 10%, rgba(204, 229, 248, .88) 19%, rgba(139, 190, 229, .72) 29%, rgba(70, 128, 180, .46) 42%, transparent 58% ), radial-gradient( circle at 90% 82%, rgba(46, 120, 235, .30), transparent 40% ), linear-gradient( 138deg, #f7fbff 0%, #d9ecfb 8%, #9bc5e7 18%, #4c83b7 33%, #245b93 48%, #143f79 63%, #0b2d65 79%, #071b45 100% );
    display: flex;
    flex-direction: column;
}

    .auth-brand-panel::before,
    .auth-brand-panel::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 50%;
        pointer-events: none;
    }

    .auth-brand-panel::before {
        width: 520px;
        height: 520px;
        right: -285px;
        top: 10%;
    }

    .auth-brand-panel::after {
        width: 330px;
        height: 330px;
        left: -190px;
        bottom: -125px;
    }

.auth-brand,
.auth-mobile-brand {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.auth-brand {
    gap: 5px;
    margin-top: 0;
}

.auth-logo {
    display: block;
    width: 235px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: none;
}



.auth-product-label {
    margin-left: 4px;
    padding: 0;
    border: 0;
    color: #0a4d86;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2.3px;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;
}

.auth-mobile-brand .auth-product-label {
    color: #3974ce;
    border-left-color: #d5deea;
}

.auth-brand-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 590px;
    margin: 18px 0 0;
    padding: 0 0 14px;
}

.auth-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: #4f78bd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.auth-brand-content .auth-eyebrow {
    color: #68debd;
}

.auth-brand-content h1 {
    max-width: 570px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(32px, 2.6vw, 44px);
    line-height: 1.05;
    letter-spacing: -1.2px;
}

.auth-brand-content > p {
    max-width: 540px;
    margin: 23px 0 0;
    color: #c6d5ea;
    font-size: 15px;
    line-height: 1.65;
}

.auth-feature-list {
    display: grid;
    gap: 15px;
    max-width: 510px;
    margin-top: 34px;
}

.auth-feature {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.auth-feature-icon {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex: none;
    background: rgba(255, 255, 255, .07);
    color: #71dfc0;
    font-size: 9px;
    font-weight: 900;
}

.auth-feature strong,
.auth-feature small {
    display: block;
}

.auth-feature strong {
    color: #ffffff;
    font-size: 12px;
}

.auth-feature small {
    margin-top: 4px;
    color: #aebfda;
    font-size: 10.5px;
    line-height: 1.45;
}

.auth-security-note {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #dce7f8;
}

.auth-security-icon {
    width: 35px;
    height: 35px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .10);
    color: #62d7b8;
    font-weight: 900;
}

.auth-security-note strong,
.auth-security-note small {
    display: block;
}

.auth-security-note strong {
    font-size: 11px;
}

.auth-security-note small {
    margin-top: 3px;
    color: #98adcb;
    font-size: 9.5px;
}

.auth-form-panel {
    min-height: 100vh;
    padding: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 90% 12%, rgba(36, 104, 221, .08), transparent 23%), radial-gradient(circle at 7% 88%, rgba(62, 177, 100, .07), transparent 20%), var(--auth-bg);
}

.auth-form-card {
    width: 100%;
    max-width: 480px;
    padding: 38px 40px 30px;
    border: 1px solid rgba(215, 226, 239, .9);
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--auth-card-shadow);
}

.auth-mobile-brand {
    display: none;
    margin-bottom: 34px;
}

.auth-heading h2 {
    margin: 0;
    max-width: 390px;
    font-size: 29px;
    line-height: 1.17;
    letter-spacing: -.8px;
}

.auth-heading p {
    margin: 10px 0 0;
    color: var(--auth-muted);
    font-size: 13px;
}

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

.auth-field {
    margin-bottom: 18px;
}

    .auth-field label {
        display: block;
        margin-bottom: 8px;
        color: #293950;
        font-size: 11px;
        font-weight: 700;
    }

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

.auth-input-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    pointer-events: none;
}

    .auth-input-icon svg {
        width: 17px;
        height: 17px;
        fill: #8798b2;
    }

.auth-input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid var(--auth-border);
    border-radius: 11px;
    outline: none;
    color: var(--auth-text);
    background: #f8fbff;
    font-size: 13px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

    .auth-input.has-icon {
        padding-left: 43px;
    }

    .auth-input:hover {
        border-color: #c4d1e2;
        background: #ffffff;
    }

    .auth-input:focus {
        border-color: #5b89de;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(36, 104, 221, .11);
    }

.password-field .auth-input {
    padding-right: 66px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #3568b5;
    font-size: 10.5px;
    font-weight: 800;
    cursor: pointer;
}

.caps-lock-message {
    display: none;
    margin-top: 6px;
    color: #a56b00;
    font-size: 10px;
}

.auth-field-error,
.auth-error-list {
    color: var(--auth-error);
    font-size: 10.5px;
}

.auth-field-error {
    display: block;
    margin-top: 6px;
}

.auth-error {
    margin-bottom: 18px;
    padding: 12px 13px;
    border: 1px solid #efc8c8;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff3f3;
}

.auth-error-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: none;
    background: #fde2e2;
    color: var(--auth-error);
    font-size: 12px;
    font-weight: 900;
}

.auth-error strong {
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
}

.auth-error-list ul {
    margin: 0;
    padding-left: 17px;
}

.auth-options {
    margin: 2px 0 21px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.remember-option {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4d5c74;
    font-size: 10.5px;
    cursor: pointer;
}

    .remember-option input {
        width: 15px;
        height: 15px;
        margin: 0;
        accent-color: var(--auth-blue);
    }

.auth-help-text {
    max-width: 190px;
    color: #8793a7;
    font-size: 9.5px;
    text-align: right;
}

.auth-submit {
    width: 100%;
    height: 49px;
    padding: 0 17px;
    border: 0;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: linear-gradient(135deg, #2c73e8, #1f60d2);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(36, 104, 221, .24);
    transition: transform .15s, box-shadow .15s, opacity .15s;
}

    .auth-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 13px 28px rgba(36, 104, 221, .29);
    }

    .auth-submit:active {
        transform: translateY(0);
    }

    .auth-submit:disabled {
        cursor: wait;
        opacity: .78;
    }

.auth-submit-arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform .15s;
}

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

.auth-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e5ebf2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-footer-logo {
    width: 75px; /* was around 300px */
    max-width: 55%;
    height: auto;
    display: block;
    opacity: .92;
    transition: opacity .2s ease;
}

    .auth-footer-logo:hover {
        opacity: 1;
    }

    .auth-footer strong,
    .auth-footer span {
        display: block;
    }

    .auth-footer strong {
        color: #41516a;
        font-size: 10.5px;
    }

    .auth-footer span {
        margin-top: 4px;
        color: #8a96a9;
        font-size: 9.5px;
    }

.auth-trust-row {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #9aa4b4;
    font-size: 9px;
}

.auth-trust-divider {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #bbc5d3;
}

@media (max-width: 1050px) {
    .auth-shell {
        grid-template-columns: minmax(370px, 39%) minmax(500px, 61%);
    }

    .auth-brand-panel {
        padding-left: 38px;
        padding-right: 38px;
    }

    .auth-brand-content h1 {
        font-size: 39px;
    }

    .auth-feature-list {
        display: none;
    }
}

@media (max-width: 900px) {
    html,
    body {
        overflow-y: auto;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        display: none;
    }

    .auth-form-panel {
        min-height: 100vh;
        padding: 34px 22px;
    }

    .auth-form-card {
        max-width: 470px;
    }

    .auth-mobile-brand {
        display: flex;
    }

        .auth-mobile-brand .auth-logo {
            width: 190px;
        }
}

@media (max-width: 520px) {
    .auth-form-panel {
        align-items: flex-start;
        padding: 18px 14px;
    }

    .auth-form-card {
        padding: 28px 22px 24px;
        border-radius: 16px;
    }

    .auth-mobile-brand {
        margin-bottom: 28px;
    }

    .auth-heading h2 {
        font-size: 25px;
    }

    .auth-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .auth-help-text {
        max-width: none;
        text-align: left;
    }
}

.auth-brand-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 590px;
    margin: auto 0;
    padding: 8px 0 18px;
}

.auth-section-label {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 15px;
    color: #61dfbd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.auth-section-line {
    width: 34px;
    height: 2px;
    border-radius: 2px;
    background: #61dfbd;
}

.auth-brand-content h1 {
    max-width: 570px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 2.8vw, 48px);
    line-height: 1.06;
    letter-spacing: -1.35px;
}

.auth-brand-content > p {
    max-width: 520px;
    margin: 17px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.55;
}

.auth-capabilities {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 570px;
    margin-top: 22px;
}

.capability-item {
    min-height: 78px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 15px;
    background: linear-gradient( 135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .06) );
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
}

.capability-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: rgba(91, 224, 192, .15);
    color: #61dfbd;
}

    .capability-icon svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

.capability-copy strong,
.capability-copy small {
    display: block;
}

.capability-copy strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.capability-copy small {
    max-width: 430px;
    margin-top: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    line-height: 1.45;
}