/**
 * Estilos de Autenticação - port62-controlefinanceiro
 * Login, Register, Forgot, Reset Password
 */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--bg-body) 0%, var(--bg-header) 100%);
}

.auth-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
}

.auth-logo {
    text-align: center;
    margin-bottom: var(--space-6);
}

.auth-logo h1 {
    font-size: var(--fs-3xl);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.auth-logo h1 span {
    color: var(--btn-primary);
}

.auth-logo p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin: 0;
}

.auth-form {
    margin-top: var(--space-6);
}

.auth-divider {
    text-align: center;
    margin: var(--space-6) 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
}

.auth-divider span {
    background-color: var(--bg-card);
    padding: 0 var(--space-4);
    position: relative;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin: 0;
}

.auth-footer a {
    color: var(--btn-primary);
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Checkbox customizado */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--btn-primary);
}

.custom-checkbox label {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    cursor: pointer;
    margin: 0;
}

/* Link esqueci senha */
.forgot-link {
    text-align: right;
    margin-top: var(--space-2);
}

.forgot-link a {
    font-size: var(--fs-xs);
    color: var(--text-secondary);
}

.forgot-link a:hover {
    color: var(--btn-primary);
}

@media (max-width: 480px) {
    .auth-card {
        padding: var(--space-6);
    }
    
    .auth-logo h1 {
        font-size: var(--fs-2xl);
    }
}
