/* Styles communs pour les formulaires d'authentification */

/* Styles des champs de formulaire */
.form-control-auth {
    border: 1px solid #dee2e6 ;
    height: 40px; 
    padding: 0.375rem 0.75rem;
    font-size: 0.95rem;
}

.form-control-auth::placeholder {
    color: #a5a5a5;
}

.form-control:focus {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 0.15rem rgba(var(--mud-palette-primary-rgb), 0.25);
}

.form-floating > label {
    padding: 0.375rem 0.75rem;
    font-size: 0.95rem;
}

/* Label au-dessus du champ */
.field-label {
    font-size: 0.8rem;
    color: var(--bs-secondary, #6c757d);
    margin-bottom: 0.25rem;
    display: block;
}
/* Label au-dessus du champ */
.form-label {
    font-size: 0.8rem;
    color: #a5a5a5;
    margin-bottom: 0.25rem;
    display: block;
}

.auth-subtitle {
    color: var(--bs-secondary, #6c757d);
    margin-bottom: 0;
}

/* Style des liens */
.auth-link {
    color: var(--mud-palette-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-link:hover {
    text-decoration: underline;
    color: var(--mud-palette-primary-darken);
}

/* Style du séparateur */
.auth-separator {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-separator hr {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0;
}

.auth-separator span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Style des messages de validation */
.validation-message {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Style de la case à cocher */
.form-check-input:checked {
    background-color: var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
}

.form-check-input:focus {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 0.15rem rgba(var(--mud-palette-primary-rgb), 0.25);
}

/* Ajustements pour les écrans mobiles */
@media (max-width: 768px) {
    .auth-submit-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}
