.auth-page {
    min-height: 100vh;
    background: var(--ink);
}

.auth-topbar {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 5vw;
    border-bottom: 1px solid var(--line);
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
}

.auth-brand > span:first-child {
    display: grid;
    width: 27px;
    height: 30px;
    place-items: center;
    background: var(--lime);
    color: var(--ink);
    font-size: 27px;
    transform: skew(-6deg);
}

.auth-brand .auth-brand-dot {
    margin-left: -7px;
    color: var(--lime);
}

.auth-home {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
}

.auth-home:hover,
.auth-form-wrap a:not(.button):hover {
    color: var(--lime);
}

.auth-layout {
    display: grid;
    min-height: calc(100vh - 132px);
    grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr);
}

.auth-aside {
    position: relative;
    display: flex;
    min-height: 480px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 64px clamp(28px, 7vw, 110px);
    border-right: 1px solid var(--line);
    background: radial-gradient(ellipse at 12% 92%, rgba(112, 216, 233, 0.10), transparent 42%), linear-gradient(155deg, #18211a 0%, #111713 64%);
    isolation: isolate;
}

.auth-aside::after {
    position: absolute;
    z-index: -1;
    right: -44px;
    bottom: -120px;
    color: rgba(199, 243, 107, 0.045);
    content: "5";
    font-family: var(--font-display);
    font-size: 440px;
    font-weight: 800;
    line-height: 1;
}

.auth-aside-label,
.auth-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--lime);
    font-size: 10px;
    font-weight: 800;
}

.auth-aside-label span {
    width: 18px;
    height: 1px;
    background: currentColor;
}

.auth-aside h1 {
    max-width: 480px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(54px, 6vw, 82px);
    font-weight: 700;
    line-height: 0.9;
    text-transform: uppercase;
}

.auth-aside h1 em {
    color: var(--lime);
    font-style: normal;
}

.auth-aside > p:not(.auth-aside-label) {
    max-width: 360px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.8;
}

.auth-lives {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--lime);
    font-size: 18px;
}

.auth-lives small {
    margin-left: 7px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 700;
}

.auth-form-side {
    display: grid;
    align-items: center;
    justify-items: center;
    padding: 42px 28px;
}

.auth-form-wrap {
    width: min(100%, 500px);
}

.auth-eyebrow {
    margin-bottom: 7px;
    text-transform: uppercase;
}

.auth-form-wrap h2 {
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 43px;
    font-weight: 700;
    line-height: 0.98;
    text-transform: uppercase;
}

.auth-lead {
    max-width: 440px;
    margin: 11px 0 24px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.7;
}

.auth-form {
    display: grid;
    gap: 15px;
    margin-top: 23px;
}

.auth-field,
.auth-field-group {
    display: grid;
    min-width: 0;
    gap: 6px;
}

.auth-field > span,
.auth-field-group > span {
    color: #dfe7dc;
    font-size: 10px;
    font-weight: 800;
}

.auth-field input,
.auth-field select {
    width: 100%;
    min-height: 43px;
    padding: 0 12px;
    border: 1px solid rgba(224, 239, 222, 0.17);
    border-radius: var(--radius-sm);
    background: #151c17;
    color: var(--text);
    font: inherit;
    font-size: 12px;
}

.auth-password-control {
    position: relative;
    display: block;
}

.auth-password-control input {
    padding-right: 46px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 7px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    transform: translateY(-50%);
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
    border-color: rgba(199, 243, 107, 0.28);
    background: rgba(199, 243, 107, 0.08);
    color: var(--lime);
}

.auth-eye {
    position: relative;
    width: 18px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 999px 999px 7px 7px;
    transform: rotate(-2deg);
}

.auth-eye::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%);
}

.auth-password-toggle[aria-pressed="true"] .auth-eye::after {
    position: absolute;
    top: 50%;
    left: -3px;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    transform: rotate(-38deg);
}

.auth-field input::placeholder {
    color: #788477;
}

.auth-field input:focus-visible,
.auth-field select:focus-visible {
    border-color: var(--lime);
}

.auth-field-hint,
.field-error {
    margin: 0;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.5;
}

.field-error {
    color: var(--coral);
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 7px 0 0;
    color: var(--lime);
    font-size: 10px;
    font-weight: 800;
}

.auth-divider::after {
    height: 1px;
    flex: 1;
    background: var(--line);
    content: "";
}

.auth-checks {
    display: grid;
    gap: 10px;
    padding: 13px;
    border: 1px solid var(--line);
}

.auth-check {
    display: grid;
    grid-template-columns: 17px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.6;
}

.auth-check input {
    width: 15px;
    height: 15px;
    margin: 2px 0 0;
    accent-color: var(--lime);
}

.auth-check a,
.auth-form-wrap a:not(.button) {
    color: var(--lime);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-notice {
    margin-top: 16px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 120, 101, 0.34);
    background: rgba(255, 120, 101, 0.07);
    color: #ffd0c9;
    font-size: 10px;
    line-height: 1.65;
}

.form-notice-success {
    border-color: rgba(199, 243, 107, 0.35);
    background: rgba(199, 243, 107, 0.07);
    color: #e3f9bd;
}

.auth-submit {
    width: 100%;
    min-height: 45px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--lime);
    color: var(--ink);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}

.auth-submit:hover {
    background: #dcff9c;
}

.auth-submit-link {
    display: grid;
    align-items: center;
    justify-items: center;
    margin-top: 12px;
    color: var(--ink) !important;
    text-decoration: none !important;
}

.auth-secondary {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 10px;
    font-weight: 800;
}

.auth-switch {
    margin: 17px 0 0;
    color: var(--text-muted);
    font-size: 10px;
    text-align: center;
}

.auth-footer {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 5vw;
    border-top: 1px solid var(--line);
    color: #829081;
    font-size: 9px;
}

.auth-footer span:first-child {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 760px) {
    .auth-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-aside {
        min-height: 0;
        padding: 34px 24px 30px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .auth-aside h1 {
        font-size: 54px;
    }

    .auth-aside > p:not(.auth-aside-label) {
        margin-block: 12px;
    }

    .auth-form-side {
        padding: 34px 22px 44px;
    }
}

@media (max-width: 420px) {
    .auth-topbar {
        min-height: 60px;
        padding-inline: 18px;
    }

    .auth-aside {
        padding-inline: 20px;
    }

    .auth-form-side {
        padding-inline: 18px;
    }

    .auth-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding-block: 10px;
    }
}

/* Atalho de acessibilidade: só aparece ao navegar com Tab. */
.skip-link {
    position: fixed;
    z-index: 20;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    transform: translateY(-150%);
    background: var(--lime);
    color: var(--ink);
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

/* Recuperação de senha por código */
.auth-spam-tip {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--lime);
    border-radius: 8px;
    background: rgba(199, 243, 107, 0.06);
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
}

.auth-spam-tip strong {
    display: block;
    margin-bottom: 2px;
    color: var(--text);
}

.auth-code-input {
    font-family: Consolas, Menlo, monospace;
    font-size: 24px;
    letter-spacing: 8px;
    text-align: center;
}

.auth-resend {
    font-size: 14px;
    margin-top: 14px;
    text-align: center;
}

.auth-link-button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--lime);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

/* Tamanhos de letra legíveis (alinhados ao site: texto base 14–16px). */
.auth-home { font-size: 14px; }
.auth-eyebrow { font-size: 12px; }
.auth-aside > p:not(.auth-aside-label) { font-size: 15px; }
.auth-lives small { font-size: 12px; }
.auth-lead { font-size: 15px; }
.auth-field > span,
.auth-field-group > span { font-size: 13px; }
.auth-field input,
.auth-field select,
.auth-field textarea { font-size: 15px; }
.auth-field-hint,
.field-error { font-size: 12px; }
.auth-divider { font-size: 12px; }
.auth-check { font-size: 14px; }
.form-notice { font-size: 14px; line-height: 1.5; }
.auth-submit { font-size: 15px; }
.auth-secondary { font-size: 14px; }
.auth-switch { font-size: 14px; }
.auth-footer { font-size: 12px; }
.auth-spam-tip { font-size: 14px; }
.auth-error-list { margin: 8px 0 0; padding-left: 18px; }
.auth-error-list li { margin: 4px 0; }
.auth-error-list a { color: var(--lime); font-weight: 700; }
