@import url(
    "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap"
);

:root {
    --bg: #080b09;
    --surface: #0f1411;
    --surface-soft: #131916;
    --surface-hover: #171f1a;

    --border: #202923;
    --border-soft: #1a211d;

    --green: #32d583;
    --green-hover: #46df94;

    --text: #f2f5f3;
    --text-soft: #a3ada7;
    --muted: #69736d;

    --danger: #ff647c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    min-height: 100vh;

    background: var(--bg);

    color: var(--text);

    font-family:
        "Inter",
        sans-serif;

    overflow-x: hidden;
}


/* =========================================
   BACKGROUND
========================================= */

.page-background {
    position: fixed;

    inset: 0;

    z-index: -10;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(50, 213, 131, 0.04),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #090c0a,
            #070a08
        );
}


.grid {
    position: absolute;

    inset: -100px;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );

    background-size:
        72px
        72px;

    opacity: 0.65;

    animation:
        gridMove
        100s
        linear
        infinite;
}


@keyframes gridMove {

    from {
        transform:
            translate3d(
                0,
                0,
                0
            );
    }

    to {
        transform:
            translate3d(
                72px,
                72px,
                0
            );
    }

}


.mouse-light {
    position: fixed;

    left: 0;
    top: 0;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(50, 213, 131, 0.055),
            rgba(50, 213, 131, 0.018) 40%,
            transparent 70%
        );

    filter: blur(24px);

    transform:
        translate3d(
            -1000px,
            -1000px,
            0
        );

    will-change:
        transform;
}


/* =========================================
   TOPBAR
========================================= */

.topbar {
    width: 100%;

    min-height: 74px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0
        38px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.035);
}


.brand {
    display: flex;

    align-items: center;

    gap: 12px;
}


.brand-mark {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(50, 213, 131, 0.35);

    border-radius: 9px;

    background:
        rgba(50, 213, 131, 0.055);

    color:
        var(--green);

    font-family:
        "JetBrains Mono",
        monospace;

    font-weight: 600;

    font-size: 12px;
}


.brand-copy strong {
    display: block;

    color: var(--text);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 12px;

    letter-spacing: 1px;
}


.brand-copy span {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 8px;

    letter-spacing: 1.2px;
}


.system-status {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--text-soft);

    font-size: 10px;
}


.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--green);
}


.system-status small {
    margin-left: 7px;

    color: var(--muted);
}


/* =========================================
   PAGE
========================================= */

.page {
    min-height:
        calc(
            100vh - 118px
        );

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        46px
        28px;
}


/* =========================================
   AUTH SHELL
========================================= */

.auth-shell {
    width: 100%;

    max-width: 980px;

    display: grid;

    grid-template-columns:
        1fr
        440px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 16px;

    background:
        #0c100e;

    box-shadow:
        0 30px 100px
        rgba(0, 0, 0, 0.35);
}


/* =========================================
   LADO ESQUERDO
========================================= */

.auth-intro {
    position: relative;

    min-height: 590px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        56px
        54px;

    border-right:
        1px solid
        var(--border);

    background:
        linear-gradient(
            145deg,
            #101612,
            #0c110e
        );
}


.auth-intro::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    left: -100px;
    bottom: -120px;

    border-radius: 50%;

    background:
        rgba(50, 213, 131, 0.035);

    filter:
        blur(70px);

    pointer-events: none;
}


.intro-badge {
    width: fit-content;

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 32px;

    padding:
        7px
        10px;

    border:
        1px solid
        rgba(50, 213, 131, 0.18);

    border-radius: 999px;

    color:
        var(--green);

    background:
        rgba(50, 213, 131, 0.035);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    letter-spacing: 0.8px;
}


.intro-badge svg {
    width: 14px;
    height: 14px;
}


.auth-intro h1 {
    max-width: 480px;

    font-size:
        clamp(
            34px,
            4vw,
            48px
        );

    line-height: 1.08;

    letter-spacing:
        -1.7px;

    font-weight: 600;
}


.auth-intro h1 span {
    display: block;

    margin-top: 6px;

    color:
        var(--green);
}


.intro-text {
    max-width: 455px;

    margin-top: 25px;

    color:
        var(--text-soft);

    font-size: 14px;

    line-height: 1.75;
}


.join-text {
    margin-top: 30px;

    color:
        var(--text);

    font-size: 13px;

    font-weight: 500;
}


.join-link {
    width: fit-content;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 8px;

    color:
        var(--green);

    text-decoration: none;

    font-size: 13px;

    font-weight: 500;
}


.join-link svg {
    width: 15px;
    height: 15px;

    transition:
        transform
        0.2s ease;
}


.join-link:hover svg {
    transform:
        translate(
            2px,
            -2px
        );
}


.intro-footer {
    display: flex;

    gap: 35px;

    margin-top: 58px;
}


.intro-stat strong {
    display: block;

    color:
        var(--text);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 11px;
}


.intro-stat span {
    display: block;

    margin-top: 4px;

    color:
        var(--muted);

    font-size: 10px;
}


/* =========================================
   PAINEL LOGIN
========================================= */

.auth-panel {
    padding:
        48px
        40px;

    background:
        var(--surface);
}


.auth-header {
    margin-bottom: 34px;
}


.auth-icon {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 20px;

    border:
        1px solid
        var(--border);

    border-radius: 9px;

    background:
        var(--surface-soft);

    color:
        var(--green);
}


.auth-icon svg {
    width: 18px;
    height: 18px;
}


.auth-header h2 {
    font-size: 22px;

    font-weight: 600;

    letter-spacing:
        -0.5px;
}


.auth-header p {
    margin-top: 7px;

    color:
        var(--muted);

    font-size: 12px;
}


/* =========================================
   FIELDS
========================================= */

.field {
    margin-bottom: 19px;
}


.field label {
    display: block;

    margin-bottom: 8px;

    color:
        var(--text-soft);

    font-size: 11px;

    font-weight: 500;
}


.field-label-row {
    display: flex;

    align-items: center;

    justify-content:
        space-between;
}


.field-label-row a {
    margin-bottom: 8px;

    color:
        var(--muted);

    text-decoration: none;

    font-size: 10px;
}


.field-label-row a:hover {
    color:
        var(--green);
}


/* =========================================
   FIELD CONTROL
========================================= */

.field-control {
    min-height: 48px;

    display: flex;

    align-items: center;

    border:
        1px solid
        var(--border);

    border-radius: 8px;

    background:
        #0b100d;

    transition:
        border-color
        0.18s ease,
        background
        0.18s ease;
}


.field-control:hover {
    border-color:
        #2a352e;
}


.field-control:focus-within {
    border-color:
        rgba(50, 213, 131, 0.65);

    background:
        #0c120f;

    box-shadow:
        0 0 0 3px
        rgba(50, 213, 131, 0.05);
}


.field-icon {
    width: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    color:
        #5f6c64;
}


.field-icon svg {
    width: 16px;
    height: 16px;

    stroke-width: 1.7;
}


.field-control:focus-within
.field-icon {
    color:
        var(--green);
}


.field-control input {
    flex: 1;

    min-width: 0;

    height: 46px;

    border: none;

    outline: none;

    background:
        transparent;

    color:
        var(--text);

    font-family:
        "Inter",
        sans-serif;

    font-size: 13px;

    padding-right: 12px;
}


.field-control input::placeholder {
    color:
        #48534c;
}


/* =========================================
   SENHA
========================================= */

.password-toggle {
    width: 44px;
    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border: none;

    background:
        transparent;

    color:
        #59655d;

    cursor: pointer;

    transition:
        color
        0.18s ease;
}


.password-toggle:hover {
    color:
        var(--green);
}


.password-toggle svg {
    width: 16px;
    height: 16px;
}


/* =========================================
   REMEMBER
========================================= */

.remember {
    width: fit-content;

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 2px;

    margin-bottom: 22px;

    color:
        var(--muted);

    font-size: 11px;

    cursor: pointer;
}


.remember input {
    width: 13px;
    height: 13px;

    accent-color:
        var(--green);
}


/* =========================================
   SUBMIT
========================================= */

.submit-button {
    width: 100%;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border: none;

    border-radius: 8px;

    background:
        var(--green);

    color:
        #07110b;

    font-family:
        "Inter",
        sans-serif;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background
        0.18s ease,
        transform
        0.18s ease;
}


.submit-button:hover {
    background:
        var(--green-hover);

    transform:
        translateY(-1px);
}


.submit-button svg {
    width: 16px;
    height: 16px;

    transition:
        transform
        0.18s ease;
}


.submit-button:hover svg {
    transform:
        translateX(2px);
}


/* =========================================
   MENSAGEM
========================================= */

#mensagem {
    margin-top: 13px;

    text-align: center;

    font-size: 11px;
}


.erro {
    color:
        var(--danger);
}


.sucesso {
    color:
        var(--green);
}


/* =========================================
   DIVISOR
========================================= */

.auth-divider {
    display: flex;

    align-items: center;

    gap: 12px;

    margin:
        28px
        0
        18px;
}


.auth-divider span {
    flex: 1;

    height: 1px;

    background:
        var(--border-soft);
}


.auth-divider small {
    color:
        #56625b;

    font-size: 8px;

    letter-spacing: 0.7px;
}


/* =========================================
   REGISTER LINK
========================================= */

.register-link {
    min-height: 58px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 15px;

    padding:
        11px
        13px;

    border:
        1px solid
        var(--border);

    border-radius: 8px;

    color:
        var(--text);

    text-decoration: none;

    transition:
        background
        0.18s ease,
        border-color
        0.18s ease;
}


.register-link:hover {
    background:
        var(--surface-hover);

    border-color:
        #2a352e;
}


.register-link strong {
    display: block;

    font-size: 11px;

    font-weight: 500;
}


.register-link span {
    display: block;

    margin-top: 3px;

    color:
        var(--muted);

    font-size: 9px;
}


.register-link > svg {
    width: 16px;
    height: 16px;

    color:
        var(--muted);
}


/* =========================================
   FOOTER
========================================= */

.footer {
    height: 44px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    padding:
        0
        38px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.025);

    color:
        #4f5953;

    font-size: 9px;
}


/* =========================================
   AUTOFILL
========================================= */

.field-control input:-webkit-autofill,
.field-control input:-webkit-autofill:hover,
.field-control input:-webkit-autofill:focus {
    -webkit-text-fill-color:
        var(--text);

    -webkit-box-shadow:
        0 0 0
        1000px
        #0b100d
        inset;

    transition:
        background-color
        9999s
        ease-in-out
        0s;
}


/* =========================================
   RESPONSIVO
========================================= */

@media (
    max-width: 850px
) {

    .auth-shell {
        max-width: 480px;

        grid-template-columns:
            1fr;
    }


    .auth-intro {
        min-height: auto;

        padding:
            36px
            32px;

        border-right: none;

        border-bottom:
            1px solid
            var(--border);
    }


    .auth-intro h1 {
        font-size: 32px;
    }


    .intro-text {
        font-size: 13px;
    }


    .intro-footer {
        display: none;
    }


    .auth-panel {
        padding:
            36px
            32px;
    }

}


@media (
    max-width: 600px
) {

    .topbar {
        min-height: 66px;

        padding:
            0
            18px;
    }


    .brand-copy span {
        display: none;
    }


    .system-status small {
        display: none;
    }


    .page {
        padding:
            28px
            14px;
    }


    .auth-shell {
        border-radius: 12px;
    }


    .auth-intro {
        padding:
            30px
            24px;
    }


    .auth-intro h1 {
        font-size: 28px;
    }


    .intro-badge {
        margin-bottom: 22px;
    }


    .auth-panel {
        padding:
            30px
            24px;
    }


    .footer {
        padding:
            0
            18px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (
    prefers-reduced-motion:
    reduce
) {

    .grid {
        animation: none;
    }

}

/* =========================================
   REGISTRO
========================================= */

.back-login {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--muted);

    text-decoration: none;

    font-size: 11px;

    transition:
        color 0.18s ease;
}

.back-login svg {
    width: 15px;
    height: 15px;
}

.back-login:hover {
    color: var(--text);
}


/* PÁGINA */

.register-page {
    min-height:
        calc(
            100vh - 118px
        );

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        42px
        28px;
}


/* CONTAINER */

.register-shell {
    width: 100%;
    max-width: 1050px;

    display: grid;

    grid-template-columns:
        1fr
        500px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 16px;

    background:
        #0c100e;

    box-shadow:
        0 30px 100px
        rgba(0, 0, 0, 0.35);
}


/* =========================================
   INTRO
========================================= */

.register-intro {
    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        58px
        56px;

    border-right:
        1px solid
        var(--border);

    background:
        linear-gradient(
            145deg,
            #101612,
            #0b100d
        );
}


.register-intro::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -150px;
    bottom: -150px;

    border-radius: 50%;

    background:
        rgba(50, 213, 131, 0.035);

    filter:
        blur(80px);

    pointer-events: none;
}


/* KICKER */

.register-kicker {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 28px;

    color:
        var(--green);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    letter-spacing: 1px;
}


.register-kicker-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--green);
}


/* TÍTULO */

.register-intro h1 {
    max-width: 450px;

    font-size:
        clamp(
            35px,
            4vw,
            48px
        );

    line-height: 1.08;

    letter-spacing:
        -1.7px;

    font-weight: 600;
}


.register-intro h1 span {
    display: block;

    color:
        var(--green);
}


.register-description {
    max-width: 430px;

    margin-top: 20px;

    color:
        var(--text-soft);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================
   BENEFÍCIOS
========================================= */

.register-points {
    display: flex;

    flex-direction: column;

    gap: 17px;

    margin-top: 38px;
}


.register-point {
    display: flex;

    align-items: center;

    gap: 14px;
}


.point-icon {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border:
        1px solid
        var(--border);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.018);

    color:
        var(--green);
}


.point-icon svg {
    width: 17px;
    height: 17px;
}


.register-point strong {
    display: block;

    color:
        var(--text);

    font-size: 11px;

    font-weight: 500;
}


.register-point span {
    display: block;

    margin-top: 3px;

    color:
        var(--muted);

    font-size: 10px;
}


/* NOTA */

.register-note {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: 42px;

    padding-top: 20px;

    border-top:
        1px solid
        var(--border-soft);
}


.register-note svg {
    width: 15px;
    height: 15px;

    margin-top: 1px;

    color:
        var(--muted);

    flex-shrink: 0;
}


.register-note p {
    max-width: 390px;

    color:
        var(--muted);

    font-size: 10px;

    line-height: 1.55;
}


/* =========================================
   PAINEL
========================================= */

.register-panel {
    padding:
        46px
        42px;

    background:
        var(--surface);
}


/* HEADER */

.register-header {
    margin-bottom: 30px;
}


.register-step {
    display: block;

    margin-bottom: 10px;

    color:
        var(--green);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1px;
}


.register-header h2 {
    font-size: 23px;

    font-weight: 600;

    letter-spacing:
        -0.5px;
}


.register-header p {
    margin-top: 6px;

    color:
        var(--muted);

    font-size: 11px;
}


/* =========================================
   CAMPOS
========================================= */

.register-field {
    margin-bottom: 17px;
}


.register-field label {
    display: block;

    margin-bottom: 7px;

    color:
        var(--text-soft);

    font-size: 11px;

    font-weight: 500;
}


.register-control {
    min-height: 48px;

    display: flex;

    align-items: center;

    border:
        1px solid
        var(--border);

    border-radius: 8px;

    background:
        #0b100d;

    transition:
        border-color
        0.18s ease,
        background
        0.18s ease,
        box-shadow
        0.18s ease;
}


.register-control:hover {
    border-color:
        #2a352e;
}


.register-control:focus-within {
    border-color:
        rgba(50, 213, 131, 0.65);

    background:
        #0c120f;

    box-shadow:
        0 0 0 3px
        rgba(50, 213, 131, 0.05);
}


.register-control > svg {
    width: 16px;
    height: 16px;

    margin-left: 14px;
    margin-right: 11px;

    flex-shrink: 0;

    color:
        #5c6860;

    stroke-width: 1.7;
}


.register-control:focus-within > svg {
    color:
        var(--green);
}


.register-control input {
    flex: 1;

    min-width: 0;

    height: 46px;

    border: none;

    outline: none;

    background:
        transparent;

    color:
        var(--text);

    font-family:
        "Inter",
        sans-serif;

    font-size: 12px;
}


.register-control input::placeholder {
    color:
        #48534c;
}


/* =========================================
   PASSWORD
========================================= */

/* =========================================
   SENHAS - REGISTRO
========================================= */

.password-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 13px;

    width: 100%;
}

.password-grid .register-field {
    min-width: 0;
    width: 100%;
}

.register-control {
    width: 100%;
    min-width: 0;
    min-height: 48px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: #0b100d;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.register-control input {
    flex: 1;

    width: 100%;
    min-width: 0;

    height: 46px;

    border: none;
    outline: none;

    background: transparent;

    color: var(--text);

    font-family: "Inter", sans-serif;
    font-size: 12px;

    padding-right: 6px;
}

.register-eye {
    width: 40px;
    min-width: 40px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border: none;

    background: transparent;

    color: #566159;

    cursor: pointer;
}

.register-eye svg {
    width: 15px;
    height: 15px;
}

.register-eye:hover {
    color: var(--green);
}

/* HINT */

.password-hint {
    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: -3px;
    margin-bottom: 20px;

    color:
        var(--muted);

    font-size: 9px;
}


.password-hint svg {
    width: 13px;
    height: 13px;

    color:
        var(--green);
}


/* =========================================
   BOTÃO
========================================= */

.register-submit {
    width: 100%;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border: none;

    border-radius: 8px;

    background:
        var(--green);

    color:
        #07110b;

    font-family:
        "Inter",
        sans-serif;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background
        0.18s ease,
        transform
        0.18s ease;
}


.register-submit:hover {
    background:
        var(--green-hover);

    transform:
        translateY(-1px);
}


.register-submit svg {
    width: 16px;
    height: 16px;
}


/* =========================================
   LOGIN TEXT
========================================= */

.register-login-text {
    margin-top: 24px;

    text-align: center;

    color:
        var(--muted);

    font-size: 10px;
}


.register-login-text a {
    margin-left: 4px;

    color:
        var(--green);

    text-decoration: none;
}


.register-login-text a:hover {
    text-decoration: underline;
}


/* =========================================
   RESPONSIVO
========================================= */

@media (max-width: 900px) {

    .register-shell {
        max-width: 520px;

        grid-template-columns:
            1fr;
    }


    .register-intro {
        padding:
            36px
            32px;

        border-right: none;

        border-bottom:
            1px solid
            var(--border);
    }


    .register-points,
    .register-note {
        display: none;
    }


    .register-intro h1 {
        font-size: 31px;
    }


    .register-panel {
        padding:
            36px
            32px;
    }

}


@media (max-width: 600px) {

    .back-login {
        font-size: 0;
    }


    .back-login svg {
        width: 18px;
        height: 18px;
    }


    .register-page {
        padding:
            28px
            14px;
    }


    .register-intro {
        padding:
            28px
            24px;
    }


    .register-panel {
        padding:
            30px
            24px;
    }


    .password-grid {
        grid-template-columns:
            1fr;

        gap: 0;
    }

}