/* input(289,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&'
input(497,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&' */
:root {
    --bg-0: #05060a;
    --bg-1: #070a12;
    --panel: #ffffff;
    --ink: #0b1020;
    --muted: #6b7280;
    --stroke: rgba(17,24,39,.12);
    --soft: #f3f4f6;
    --soft2: #f8fafc;
    --accent: #47DD68;
    --shadow: 0 24px 70px rgba(0,0,0,.45);
    --shadow2: 0 16px 50px rgba(0,0,0,.30);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", Helvetica, sans-serif;
    background: radial-gradient(1200px 600px at 20% 30%, rgba(198,86,251,.16), transparent 60%), radial-gradient(900px 500px at 70% 35%, rgba(71,221,104,.12), transparent 55%), radial-gradient(900px 700px at 45% 80%, rgba(252,132,107,.12), transparent 60%), linear-gradient(180deg, var(--bg-0), var(--bg-1));
    color: #fff;
    background-repeat: no-repeat;
    background-color: #070A12;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 20px 60px;
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.layout {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 44px;
    align-items: center;
}

/* Left Hero */
.hero {
    position: relative;
    padding: 26px 10px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    opacity: .98;
}

    .brand a {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
    }

    .brand img {
        width: 130px;
        height: auto;
        object-fit: contain;
        background: none;
        border: none;
        padding: 0;
    }

    .brand .name {
        font-weight: 650;
        letter-spacing: .2px;
        font-size: 18px;
        color: rgba(255,255,255,.92);
    }

.headline {
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.05;
    margin: 0 0 12px 0;
    letter-spacing: -0.9px;
    font-weight: 850;
}

    .headline .dim {
        color: rgba(255,255,255,.92);
    }

    .headline .glow {
        color: #ffffff;
        text-shadow: 0 0 24px rgba(71,221,104,.20);
    }

.tagline {
    margin: 0 0 18px 0;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,.78);
}

/* Steps */
.steps {
    margin-top: 26px;
    display: grid;
    gap: 14px;
    max-width: 560px;
}

.step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    background: rgba(20,22,30,.58);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: var(--shadow2);
    backdrop-filter: blur(10px);
}

.badge {
    min-width: 98px;
    height: 44px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 850;
    letter-spacing: .2px;
    color: #0c1410;
    background: linear-gradient(180deg, rgba(71,221,104,1), rgba(46,196,89,1));
    box-shadow: 0 10px 20px rgba(71,221,104,.20);
    flex: 0 0 auto;
}

.step h4 {
    margin: 0 0 2px 0;
    font-size: 14px;
    font-weight: 800;
    color: rgba(255,255,255,.96);
}

.step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255,255,255,.72);
}

/* Right Auth Card */
.auth {
    position: relative;
    padding: 10px;
}

.card {
    background: rgba(255,255,255,.96);
    color: var(--ink);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 22px 22px 18px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.45);
}

.wm {
    position: absolute;
    inset: -120px -160px auto auto;
    width: 520px;
    height: 520px;
    opacity: .10;
    transform: rotate(20deg);
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.45), transparent 55%), radial-gradient(circle at 70% 70%, rgba(255,255,255,.22), transparent 60%);
    pointer-events: none;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    margin: 6px auto 18px;
}

.pill {
    background: #0b1535;
    border-radius: 999px;
    padding: 6px;
    display: flex;
    gap: 6px;
    box-shadow: 0 14px 30px rgba(11,21,53,.18);
}

.tab {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 750;
    font-size: 13px;
    background: transparent;
    color: rgba(255,255,255,.78);
    min-width: 110px;
    transition: all .15s ease;
    text-decoration: none;
    text-align: center;
}

    .tab[aria-selected="true"] {
        background: #ffffff;
        color: #0b1535;
        box-shadow: 0 10px 18px rgba(0,0,0,.20);
    }

.formTitle {
    font-size: 24px;
    margin: 4px 0 6px;
    font-weight: 900;
    letter-spacing: -.3px;
}

.formHint {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.form {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

    .row.two {
        grid-template-columns: 1fr 1fr;
    }

.field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: #fff;
    box-shadow: 0 6px 16px rgba(15,23,42,.06);
}

.ico {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(71,221,104,.10);
    border: 1px solid rgba(71,221,104,.20);
    color: #0f3a21;
    flex: 0 0 auto;
}

.field input, .field select {
    width: 100%;
    border: 0;
    outline: none;
    font-size: 14px;
    background: #fff;
    color: #0b1020;

    &:autofill {
        background-color: #fff !important;
    }
}

    .field input::placeholder {
        color: rgba(15,23,42,.45);
    }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #0b1020;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
}


.field .rightIcon {
    margin-left: auto;
    opacity: .55;
    cursor: pointer;
    user-select: none;
}

.meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
}

.link {
    color: #0b1535;
    text-decoration: none;
    font-weight: 750;
}

    .link:hover {
        text-decoration: underline;
    }

.check {
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

    .check input {
        transform: translateY(1px);
    }

.btn {
    border: 0;
    cursor: pointer;
    width: 100%;
    padding: 13px 14px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: .2px;
    background: linear-gradient(180deg, rgba(71,221,104,1), rgba(46,196,89,1));
    color: #07100a;
    box-shadow: 0 16px 32px rgba(71,221,104,.22);
    transition: transform .12s ease, box-shadow .12s ease;
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 36px rgba(71,221,104,.26);
    }

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 10px;
    color: rgba(107,114,128,.9);
    font-size: 12px;
}

    .divider:before, .divider:after {
        content: "";
        height: 1px;
        flex: 1;
        background: rgba(17,24,39,.12);
    }

.google {
    width: 100%;
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(17,24,39,.14);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 850;
    color: #111827;
    box-shadow: 0 10px 22px rgba(15,23,42,.06);
}

.fineprint {
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(107,114,128,.92);
    text-align: center;
}

/* Consent box: harmonized with the form (no harsh black block) */
.consentBox {
    background: var(--soft2);
    border: 1px solid rgba(17,24,39,.12);
    border-radius: 14px;
    padding: 14px 14px;
    box-shadow: 0 6px 16px rgba(15,23,42,.06);
    display: grid;
    gap: 10px;
}

.consentItem {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.5;
    color: #374151;
}

    .consentItem input {
        margin-top: 3px;
        width: 16px;
        height: 16px;
        accent-color: var(--accent);
        flex: 0 0 auto;
    }

    .consentItem a {
        color: var(--accent);
        text-decoration: none;
        font-weight: 900;
        margin-left: 6px;
        white-space: nowrap;
    }

        .consentItem a:hover {
            text-decoration: underline;
        }

/* Responsive */
@media (max-width: 980px) {
    .layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .auth {
        order: -1;
    }

    .hero {
        padding-top: 0;
    }

    .steps {
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .row.two {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 18px 16px 14px;
    }

    .tab {
        min-width: 120px;
    }

    .consentItem a {
        white-space: normal;
    }
}

.field-validation-error, .field-validation-valid {
    font-size: 12px;
    font-weight: 500;
    color: #e30000;
}

.field-validation-valid, .field-validation-error {
    display: none;

    &:not(:empty) {
        display: block;
    }
}

.row:has(.field-validation-valid, .field-validation-error) {
    display: none;
}

.row:has(.field-validation-valid:not(:empty), .field-validation-error:not(:empty)) {
    display: block;
}

.icon-svg {
    background-color: #fff;
}

.toast-error {
    background: #d60000;
}