/* public/css/login.css */
/* =======================================================
    🔐 STYLES DE LA PAGE DE LOGIN
    ======================================================= */

/* --- CONTENEUR PRINCIPAL --- */
.login-page-container {
    height: 100vh;
    width: 100vw;
    display: flex;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto; /* Permet de scroller si l'écran est petit */
    background-color: #f8f9fa;
}

.login-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 480px; 
    padding: 4rem; /* Votre padding spacieux d'origine */
    border-radius: 16px; 
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    text-align: center;
    margin: auto; /* C'est ceci qui centre la carte tout en permettant le scroll ! */
}

/* --- DESIGN DE L'EN-TETE --- */
.login-header {
    margin-bottom: 3.5rem; 
}

/* Le logo "B" */
.login-brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    background-color: #0d6efd;
    color: white;
    font-size: 2.8rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
}

.login-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.login-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

/* --- DESIGN DE L'ERREUR --- */
.login-alert-error {
    background-color: #fff2f2;
    color: #cc0000;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    border: 1px solid #ffcccc;
    font-weight: 600;
}

/* --- DESIGN DU BOUTON CAS --- */
.login-btn-cas {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: #0d6efd; 
    color: white;
    text-align: center;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 2rem;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.login-btn-cas:hover {
    background-color: #0855c9;
    color: white;
}

/* --- SÉPARATEUR ("ou") --- */
.login-separator {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.login-separator::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 1;
}

.login-separator span {
    background-color: #ffffff;
    padding: 0 15px;
    color: #6c757d;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* --- DESIGN DU FORMULAIRE ET DES INPUTS --- */
.login-form {
    text-align: left; 
}

.login-input-group {
    margin-bottom: 2rem; 
}

.login-label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

/* Design des inputs */
.login-input {
    width: 100%;
    padding: 14px 18px; 
    border: 2px solid #e0e0e0; 
    border-radius: 10px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.login-input:focus {
    border-color: #0d6efd; 
    outline: none; 
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15); 
}

/* --- DESIGN DU BOUTON DE SOUMISSION --- */
.login-btn-submit {
    width: 100%;
    padding: 16px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.2s ease;
}

.login-btn-submit:hover {
    background-color: #0855c9; 
}