:root {
    --awlogin-navy: #0c1b3a;
    --awlogin-text: #172544;
    --awlogin-muted: #77839b;
    --awlogin-line: #dfe5f2;
    --awlogin-blue: #2f6df6;
    --awlogin-purple: #7545ef;
    --awlogin-pink: #eb3ba9;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body.awlogin-page {
    min-height: 100vh;
    margin: 0;
    padding: max(14px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    display: grid;
    place-items: center;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 4%, rgba(99, 94, 246, .15), transparent 30%),
        radial-gradient(circle at 94% 94%, rgba(235, 59, 169, .12), transparent 33%),
        #f4f6ff;
    color: var(--awlogin-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.awlogin-shell {
    width: min(100%, 960px);
    min-height: min(690px, calc(100vh - 28px));
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(390px, 1.08fr);
    overflow: hidden;
    border: 1px solid rgba(210, 218, 238, .9);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 85px rgba(32, 48, 99, .17);
}

.awlogin-showcase {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 42px 38px 36px;
    overflow: hidden;
    background:
        linear-gradient(155deg, rgba(13, 28, 61, .98), rgba(35, 48, 111, .96) 55%, rgba(91, 54, 189, .94));
    color: #fff;
}

.awlogin-showcase::before,
.awlogin-showcase::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(1px);
}

.awlogin-showcase::before {
    width: 310px;
    height: 310px;
    top: -115px;
    right: -145px;
    background: radial-gradient(circle, rgba(52, 147, 255, .7), rgba(52, 147, 255, 0) 68%);
}

.awlogin-showcase::after {
    width: 350px;
    height: 350px;
    bottom: -185px;
    left: -145px;
    background: radial-gradient(circle, rgba(240, 50, 177, .62), rgba(240, 50, 177, 0) 68%);
}

.awlogin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.awlogin-brand img {
    width: min(230px, 100%);
    max-height: 82px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .18));
}

.awlogin-showcase__copy {
    display: grid;
    gap: 18px;
    margin-block: 44px;
}

.awlogin-kicker,
.awlogin-eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    gap: 8px;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.awlogin-kicker {
    border: 1px solid rgba(255, 255, 255, .17);
    background: rgba(255, 255, 255, .09);
    color: #dce8ff;
}

.awlogin-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #45d985;
    box-shadow: 0 0 0 5px rgba(69, 217, 133, .12);
}

.awlogin-showcase h1 {
    max-width: 460px;
    margin: 0;
    font-size: clamp(31px, 4vw, 46px);
    line-height: 1.06;
    letter-spacing: -.04em;
}

.awlogin-showcase p {
    max-width: 420px;
    margin: 0;
    color: rgba(229, 237, 255, .8);
    font-size: 14px;
    font-weight: 560;
    line-height: 1.65;
}

.awlogin-features {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.awlogin-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(243, 247, 255, .9);
    font-size: 12px;
    font-weight: 720;
}

.awlogin-features li::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .11);
    color: #71e9ff;
}

.awlogin-showcase__foot {
    color: rgba(221, 229, 250, .55);
    font-size: 10px;
    font-weight: 700;
}

.awlogin-card {
    display: grid;
    align-content: center;
    padding: 44px clamp(30px, 6vw, 72px);
    background: #fff;
}

.awlogin-card__mobile-brand {
    display: none;
    justify-content: center;
    margin-bottom: 22px;
}

.awlogin-card__mobile-brand img {
    width: min(225px, 72vw);
    max-height: 78px;
    object-fit: contain;
}

.awlogin-eyebrow {
    background: #edf2ff;
    color: #4d5ed2;
}

.awlogin-card h2 {
    margin: 15px 0 7px;
    color: var(--awlogin-navy);
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -.025em;
}

.awlogin-subtitle {
    margin: 0 0 24px;
    color: var(--awlogin-muted);
    font-size: 13px;
    font-weight: 560;
    line-height: 1.5;
}

.awlogin-alert {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 18px;
    border: 1px solid #ffd2d8;
    border-radius: 13px;
    padding: 11px 12px;
    background: #fff4f6;
    color: #b82b42;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.4;
}

.awlogin-alert__icon {
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    border-radius: 50%;
    background: #ed4761;
    color: #fff;
    font-size: 11px;
}

.awlogin-form {
    display: grid;
    gap: 15px;
}

.awlogin-field {
    display: grid;
    gap: 7px;
}

.awlogin-field > label {
    color: #56617a;
    font-size: 11px;
    font-weight: 820;
}

.awlogin-input {
    position: relative;
    display: flex;
    align-items: center;
}

.awlogin-input__icon {
    position: absolute;
    left: 14px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 20px;
    color: #8a95ad;
    font-size: 16px;
    pointer-events: none;
}

.awlogin-input input {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--awlogin-line);
    border-radius: 13px;
    padding: 0 45px 0 44px;
    background: #f9faff;
    color: var(--awlogin-text);
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    outline: none;
    transition: .18s ease;
}

.awlogin-input input::placeholder {
    color: #9ca6b9;
}

.awlogin-input input:focus {
    border-color: #7c8df5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(80, 102, 244, .1);
}

.awlogin-pass-toggle {
    position: absolute;
    right: 7px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #8290a9;
    font-size: 17px;
    cursor: pointer;
}

.awlogin-pass-toggle:hover {
    background: #eef2fb;
}

.awlogin-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.awlogin-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #69758d;
    font-size: 11px;
    font-weight: 700;
}

.awlogin-remember input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--awlogin-purple);
}

.awlogin-link {
    color: #4f63dd;
    font-size: 11px;
    font-weight: 820;
    text-decoration: none;
}

.awlogin-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.awlogin-submit {
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(110deg, #285ff4 0%, #7047ef 63%, #df3daf 115%);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(77, 74, 226, .23);
    transition: transform .18s ease, box-shadow .18s ease;
}

.awlogin-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(77, 74, 226, .28);
}

.awlogin-install {
    min-height: 44px;
    border: 1px solid #dbe2f3;
    border-radius: 13px;
    background: #f7f9ff;
    color: #4053bd;
    font: inherit;
    font-size: 11px;
    font-weight: 820;
    cursor: pointer;
}

.awlogin-install[hidden] {
    display: none;
}

.awlogin-signup {
    margin: 22px 0 0;
    border-top: 1px solid #e8ecf5;
    padding-top: 18px;
    color: #7a859b;
    font-size: 11px;
    font-weight: 650;
    text-align: center;
}

.awlogin-signup a {
    color: var(--awlogin-pink);
    font-weight: 850;
    text-decoration: none;
}

.awlogin-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    color: #9aa4b7;
    font-size: 10px;
    font-weight: 700;
}

@media (max-width: 760px) {
    body.awlogin-page {
        place-items: stretch center;
        padding-inline: 8px;
    }

    .awlogin-shell {
        width: min(100%, 470px);
        min-height: auto;
        grid-template-columns: 1fr;
        margin: auto;
        border-radius: 24px;
    }

    .awlogin-showcase {
        display: none;
    }

    .awlogin-card {
        padding: 32px 24px 26px;
    }

    .awlogin-card__mobile-brand {
        display: flex;
    }

    .awlogin-card h2,
    .awlogin-subtitle {
        text-align: center;
    }

    .awlogin-eyebrow {
        margin-inline: auto;
    }
}

@media (max-width: 370px) {
    .awlogin-card {
        padding-inline: 18px;
    }

    .awlogin-options {
        align-items: flex-start;
        flex-direction: column;
    }
}
