/* auth.css — Layout de autenticação centrado */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--color-bg);
}

.auth-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 440px;
}

.auth-card .app-logo {
    display: flex;
    justify-content: center;
    padding-top: 16px;
    margin-bottom: 36px;
}

.auth-card .app-logo img {
    width: 180px;
    height: auto;
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 4px;
    font-size: 1.5rem;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    font-size: 0.9375rem;
}

.auth-card .form-group:last-of-type {
    margin-bottom: 24px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.auth-links a {
    font-weight: 600;
}

/* Password Strength */
.password-strength {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.password-strength-bar {
    height: 4px;
    flex: 1;
    border-radius: 2px;
    background: var(--color-border);
    transition: background 0.3s;
}

.password-strength-bar.active.weak { background: var(--color-danger); }
.password-strength-bar.active.medium { background: #FFA500; }
.password-strength-bar.active.strong { background: var(--color-success); }

.password-strength-text {
    font-size: 0.75rem;
    margin-top: 4px;
    color: var(--color-text-secondary);
}

/* 2FA */
.totp-qr {
    text-align: center;
    margin: 24px 0;
}

.totp-qr img {
    border-radius: var(--radius-sm);
    border: 2px solid var(--color-border);
}

.totp-secret {
    text-align: center;
    font-family: monospace;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    background: var(--color-bg);
    padding: 12px;
    border-radius: var(--radius-sm);
    word-break: break-all;
    margin-bottom: 24px;
}

.totp-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 8px;
    font-weight: 700;
}
