/**
 * Precatorize Enterprise - Login Design V7.0
 * Localização: assets/css/login.css
 * Estilo: Fintech Security / Minimalist & Authority
 */

/* --- 1. SEÇÃO E CONTAINER --- */
.login-section {
    min-height: calc(100vh - 80px);
    background-color: #fcfdfe;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

/* --- 2. CARD DE ACESSO (PREMIUM) --- */
.card-premium {
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    animation: fadeInScale 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- 3. TIPOGRAFIA E RÓTULOS --- */
.label-login {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #94a3b8; /* Slate 400 */
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

/* --- 4. INPUTS DE SEGURANÇA --- */
.form-control-lg {
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.1rem 1.4rem;
    background-color: #f8fafc;
    border: 2px solid #edf2f7;
    color: #0f172a;
    transition: all 0.3s ease;
}

.form-control-lg:focus {
    background-color: #ffffff;
    border-color: #0056b3;
    box-shadow: 0 0 0 5px rgba(0, 86, 179, 0.08);
}

.form-control-lg::placeholder {
    color: #cbd5e1;
    font-weight: 400;
}

/* --- 5. BOTÃO DE AUTENTICAÇÃO --- */
.btn-premium-primary {
    background: linear-gradient(135deg, #0056b3 0%, #0f172a 100%);
    border: none;
    border-radius: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-premium-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.25);
}

.btn-premium-primary:active {
    transform: translateY(-1px);
}

/* --- 6. ALERTAS DE ERRO --- */
.alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #b91c1c;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* --- 7. UTILITÁRIOS DE NAVEGAÇÃO --- */
.text-primary {
    color: #0056b3 !important;
}

.text-primary:hover {
    color: #004494 !important;
    text-decoration: underline !important;
}

.bg-light {
    background-color: #f8fafc !important;
}

/* --- 8. RESPONSIVIDADE PWA --- */
@media (max-width: 576px) {
    .login-section {
        padding: 20px 15px;
    }
    
    .card-premium {
        padding: 40px 25px !important;
    }

    .form-control-lg {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    h3.fw-800 {
        font-size: 1.5rem;
    }
}