﻿:root {
    --as-navy: #071832;
    --as-teal: #009c9a;
    --as-teal-dark: #008783;
    --as-teal-soft: #e7f8f7;
    --as-text: #294461;
    --as-muted: #647895;
    --as-border: #dce6ec;
    --as-bg: #fbfcfb;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    color: var(--as-navy);
    background: var(--as-bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

/* PAGE */
.account-shell {
    min-height: 100vh;
    position: relative;
    background: #ffffff;
}

/* HEADER - MATCHES ONBOARDING */

/* HEADER - MATCH ONBOARDING */

.account-topbar {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    width: min(1460px, calc(100% - 56px));
    height: 92px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
}

.account-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    color: var(--as-navy) !important;
    font-size: 27px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .045em !important;
    text-decoration: none !important;
}

    .account-brand::before {
        content: "✦";
        color: #12c8c2;
        font-size: 34px;
        line-height: 1;
        letter-spacing: 0;
    }

.account-secure {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 10px;
    color: #344b68;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

    .account-secure svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #183a72;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* MAIN SPLIT */

.account-content {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 37% 63%;
}

.account-left {
    position: relative;
    min-height: 100vh;
    padding: 96px 64px 56px;
    overflow: hidden;
    border-right: 1px solid rgba(220,230,236,.75);
    background: radial-gradient(circle at 18% 12%, rgba(0,156,154,.16), transparent 34%), radial-gradient(circle at -10% 100%, rgba(0,156,154,.18), transparent 46%), linear-gradient(180deg, #f8ffff 0%, #eef9f8 100%);
}

.account-right {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 96px 72px 58px;
    background: #ffffff;
}

.account-copy {
    width: min(430px, 100%);
    margin: 132px auto 0;
}

    .account-copy h1 {
        position: relative;
        margin: 0 0 28px;
        font-size: clamp(40px, 3.6vw, 54px);
        line-height: 1.08;
        letter-spacing: -.055em;
        font-weight: 800;
    }

        .account-copy h1 span {
            color: var(--as-teal);
        }

        .account-copy h1 i {
            position: absolute;
            width: 112px;
            height: 13px;
            left: 91px;
            bottom: -8px;
            border-bottom: 5px solid rgba(0,156,154,.58);
            border-radius: 50%;
            transform: rotate(-4deg);
        }

    .account-copy > p {
        max-width: 410px;
        margin: 0;
        color: var(--as-text);
        font-size: 17px;
        line-height: 1.65;
        font-weight: 500;
    }

.account-benefits {
    display: grid;
    gap: 32px;
    margin-top: 50px;
}

.account-benefit {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.benefit-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 35% 25%, #ffffff, rgba(231,248,247,.95));
    color: var(--as-teal);
}

    .benefit-icon.star {
        font-size: 32px;
        line-height: 1;
    }

    .benefit-icon svg {
        width: 28px;
        height: 28px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.account-benefit strong {
    display: block;
    color: var(--as-navy);
    font-size: 15px;
    font-weight: 800;
}

.account-benefit p {
    margin: 6px 0 0;
    color: var(--as-text);
    font-size: 15px;
    line-height: 1.55;
    font-weight: 500;
}

.account-doodle {
    position: absolute;
    left: 78px;
    bottom: -82px;
    width: 390px;
    height: 245px;
    border-left: 1px dashed rgba(0,156,154,.54);
    border-top: 1px dashed rgba(0,156,154,.54);
    border-radius: 80% 0 0 0;
    transform: rotate(8deg);
}

    .account-doodle::after {
        content: "✦  ✦";
        position: absolute;
        right: -54px;
        top: -54px;
        color: var(--as-teal);
        font-size: 24px;
        letter-spacing: 25px;
        transform: rotate(-14deg);
    }

/* LOGIN CARD */

.login-card {
    width: min(640px, 100%);
    padding: 52px 76px 34px;
    border: 1px solid rgba(218,228,235,.95);
    border-radius: 24px;
    background: rgba(255,255,255,.90);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 48px rgba(7,24,50,.055), 0 2px 8px rgba(7,24,50,.035);
}

.login-orb {
    width: 108px;
    height: 108px;
    margin: -4px auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    background: radial-gradient(circle, rgba(255,255,255,.98) 0%, rgba(245,251,251,.96) 100%);
    box-shadow: inset 0 0 0 1px rgba(222,234,238,.75);
}

    .login-orb::before {
        content: "";
        position: absolute;
        inset: -11px;
        border-radius: 50%;
        border: 1px dashed rgba(0,156,154,.28);
    }

    .login-orb::after {
        content: "";
        position: absolute;
        inset: 18px;
        border-radius: 50%;
        background: rgba(255,255,255,.58);
    }

    .login-orb span {
        position: relative;
        z-index: 1;
        color: var(--as-teal);
        font-size: 42px;
        line-height: 1;
    }

.login-card h2 {
    margin: 0;
    text-align: center;
    color: var(--as-navy);
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -.04em;
    font-weight: 800;
}

.login-card-subtitle {
    margin: 10px 0 34px;
    text-align: center;
    color: #50698d;
    font-size: 15px;
    font-weight: 500;
}

/* ERRORS */

.login-error,
.validation-summary-errors {
    margin: 0 0 22px;
    padding: 13px 15px;
    border-radius: 12px;
    border: 1px solid rgba(180,35,24,.16);
    background: #fff5f5;
    color: #912018;
    font-size: 13px;
    font-weight: 700;
}

    .login-error:empty,
    .validation-summary-valid {
        display: none;
    }

.login-validation {
    color: #912018;
    font-size: 12px;
    font-weight: 700;
}

/* FIELDS */

.login-field {
    display: grid;
    gap: 9px;
    margin-bottom: 22px;
}

    .login-field label {
        color: var(--as-navy);
        font-size: 13px;
        font-weight: 800;
    }

.login-input-wrap {
    height: 50px;
    border: 1px solid #dbe4ea;
    border-radius: 12px;
    background: #fff;
    display: grid;
    grid-template-columns: 50px minmax(0,1fr) 48px;
    align-items: center;
    transition: border-color .18s ease, box-shadow .18s ease;
}

    .login-input-wrap:focus-within {
        border-color: rgba(0,156,154,.45);
        box-shadow: 0 0 0 4px rgba(0,156,154,.08);
    }

    .login-input-wrap > span {
        height: 100%;
        display: grid;
        place-items: center;
        color: #7b8eaa;
    }

    .login-input-wrap svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .login-input-wrap input {
        width: 100%;
        height: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--as-navy);
        font-size: 14px;
        font-weight: 500;
    }

        .login-input-wrap input::placeholder {
            color: #7487a4;
        }

.login-password-toggle {
    width: 48px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #7b8eaa;
    cursor: pointer;
    display: grid;
    place-items: center;
}

    .login-password-toggle svg {
        width: 20px;
        height: 20px;
    }

/* OPTIONS */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 2px 0 28px;
    color: #183a72;
    font-size: 14px;
    font-weight: 600;
}

.login-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

    .login-check input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .login-check span {
        width: 18px;
        height: 18px;
        border-radius: 5px;
        display: grid;
        place-items: center;
        background: var(--as-teal);
    }

        .login-check span::after {
            content: "✓";
            color: #fff;
            font-size: 13px;
            font-weight: 800;
            line-height: 1;
        }

    .login-check input:not(:checked) + span {
        background: #fff;
        border: 1px solid #cfdce4;
    }

        .login-check input:not(:checked) + span::after {
            content: "";
        }

.login-options a,
.login-register a {
    color: var(--as-teal);
    font-weight: 800;
}

/* SUBMIT */

.login-submit {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #0fb4af, #009c9a);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr 24px;
    align-items: center;
    padding: 0 24px;
    transition: transform .18s ease, filter .18s ease;
}

    .login-submit:hover {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }

    .login-submit span {
        justify-self: center;
        padding-left: 24px;
    }

    .login-submit svg {
        justify-self: end;
        width: 24px;
        height: 24px;
        fill: none;
        stroke: #fff;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* SOCIALS */

.login-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin: 30px 0 24px;
    color: #536d91;
    font-size: 14px;
    font-weight: 500;
}

    .login-divider span {
        height: 1px;
        background: #dfe7ec;
    }

    .login-divider em {
        font-style: normal;
    }

.login-socials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.social-btn {
    height: 52px;
    border: 1px solid #dbe4ea;
    border-radius: 12px;
    background: #fff;
    color: var(--as-navy);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

    .social-btn:hover {
        border-color: rgba(0,156,154,.34);
        background: #fbfefe;
        transform: translateY(-1px);
    }

    .social-btn svg {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
    }

.login-register {
    margin: 28px 0 0;
    text-align: center;
    color: var(--as-text);
    font-size: 14px;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 1120px) {
    .account-topbar {
        height: 72px;
        padding: 0 22px;
    }

    .account-brand {
        gap: 10px;
        font-size: 18px;
        letter-spacing: 0;
    }

        .account-brand::before {
            font-size: 24px;
        }

    .account-secure {
        font-size: 13px;
        font-weight: 700;
        gap: 10px;
    }

        .account-secure svg {
            width: 18px;
            height: 18px;
            stroke: #183a72;
        }

    .account-content {
        min-height: calc(100vh - 72px);
        grid-template-columns: 1fr;
    }

    .account-left {
        display: none;
    }

    .account-right {
        min-height: calc(100vh - 72px);
        padding: 34px 22px 38px;
    }

    .login-card {
        padding: 42px 28px 28px;
    }
}

@media (max-width: 560px) {
    .account-topbar {
        padding: 0 18px;
    }

    .account-secure span {
        display: none;
    }

    .account-secure {
        gap: 0;
    }

    .account-right {
        padding: 24px 18px 30px;
        place-items: start center;
    }

    .login-card {
        padding: 32px 20px 24px;
        border-radius: 20px;
    }

    .login-orb {
        width: 96px;
        height: 96px;
    }

        .login-orb span {
            font-size: 38px;
        }

    .login-card h2 {
        font-size: 23px;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .login-socials {
        grid-template-columns: 1fr;
    }
}
