/* ===== PAGE DE CONNEXION ===== */

/* Layout de la page de connexion */
.login-page {
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 82vh;
}

/* Formulaire de connexion */
.form-signin {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    max-width: 400px;
    width: 100%;
}

.form-signin h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-signin .form-control {
    margin-bottom: 20px;
    margin-top: 10px;
}

.form-signin .btn {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: #222222;
    color: white;
}

.form-signin .btn:hover {
    background-color: #333333;
}

/* Messages d'erreur */
.form-signin .alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f1aeb5;
    color: #842029;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.1);
}

.form-signin .alert-danger::before {
    content: "⚠️ ";
    margin-right: 8px;
}

/* Labels cachés pour l'accessibilité */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Message mot de passe oublié */
.forgot-password {
    text-align: center;
    font-size: 0.875rem;
    color: #6c757d;
    margin: 1rem 0;
}
