
/* AUTENTICAÇÃO */

.auth-page {
    min-height: 100vh;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
}

.auth-layout {
    min-height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin: 0;
}

.auth-brand-panel {
    min-width: 0;
    background:
        radial-gradient(circle at 75% 25%, rgba(139,124,246,.16), transparent 35%),
        #11131b;
    padding: 42px 8%;
    display: flex;
    flex-direction: column;
    color: #f3f3f7;
}

.auth-hero {
    margin: auto 0;
    max-width: 540px;
}

.auth-hero h1 {
    font-size: clamp(36px, 4.2vw, 58px);
    line-height: 1.12;
    letter-spacing: -2px;
    font-weight: 800;
    margin: 18px 0;
}

.auth-hero h1 span {
    color: #a99dfb;
}

.auth-hero p {
    max-width: 390px;
    color: #a2a6b4;
    line-height: 1.8;
    font-size: 14px;
}

.auth-panel-footer {
    font-size: 11px;
    color: #777d8e;
}

.auth-form-panel {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 25px;
    background: var(--bg);
}

.auth-form-wrap {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
}

.form-heading {
    margin-bottom: 27px;
}

.form-heading h2 {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 9px 0;
}

.auth-switch {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    margin-top: 24px;
}

.auth-switch a,
.text-link {
    color: var(--primary);
    font-weight: 700;
}

.auth-mobile-brand {
    display: none;
    margin-bottom: 40px;
}

.password-wrap {
    position: relative;
}

.password-wrap .form-control {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: none;
    color: var(--muted);
}

.form-hint {
    font-size: 10px;
    color: var(--muted);
    margin-top: 6px;
}

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

    .auth-brand-panel {
        display: none;
    }

    .auth-form-panel {
        min-height: 100vh;
        padding: 35px 24px;
    }

    .auth-mobile-brand {
        display: block;
    }
}
