/* Styles spécifiques à la page de login */

/* Styles des formulaires */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #333;
}

.form-input {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-input:focus {
    border-color: #0a2e57;
    outline: 0;
}

.form-input.has-error {
    border-color: #e74a3b;
}

.error-message {
    color: #e74a3b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.alert-message {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.alert-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Bouton de connexion */
.btn-login {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
    color: white;
    background-color: #0a2e57;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1.5rem;
}

.btn-login:hover, .btn-login:focus {
    background-color: #2176ae;
    color: white;
}

/* Lien mot de passe oublié */
.forgot-password {
    text-align: center;
    margin-top: 1.5rem;
}

.forgot-password a {
    color: #0a2e57;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.forgot-password a:hover {
    color: #2176ae;
    text-decoration: underline;
}

.alert {
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
}
