/* ============================================
   TaskHub - Estilos de Autenticação
   ============================================ */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 16px;
}

.auth-container {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.auth-brand {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.auth-brand h1 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.auth-brand p {
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.6;
}

.auth-brand .brand-features {
    margin-top: 32px;
    list-style: none;
}

.auth-brand .brand-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
}

.auth-brand .brand-features li i {
    font-size: 1.1rem;
}

.auth-form-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.auth-form-section .subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-form .form-input {
    padding: 12px 14px;
    font-size: 0.95rem;
}

.auth-form .btn-primary {
    padding: 12px;
    font-size: 1rem;
    margin-top: 8px;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    padding: 0 12px;
}

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

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

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
}

@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        max-width: 420px;
    }
    
    .auth-brand {
        padding: 32px;
    }
    
    .auth-brand .brand-features {
        display: none;
    }
    
    .auth-form-section {
        padding: 24px;
    }
}
