/* Conteneur principal des formulaires */
.diandid-form-container {
    max-width: 400px;
    margin: 2em auto;
    padding: 2em;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(145, 136, 136, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Titres */
.diandid-form-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #e0d5d5;
    text-align: center;
}

/* Labels */
.diandid-form-container label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

/* Champs de saisie (Input) - CORRECTION PRINCIPALE ICI */
.diandid-form-container input[type="text"],
.diandid-form-container input[type="email"],
.diandid-form-container input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    
    /* On force ces couleurs pour écraser celles du thème */
    background-color: #ffffff !important;
    color: #ad9090 !important;
    font-size: 16px;
}

/* Style au clic dans le champ (Focus) */
.diandid-form-container input[type="text"]:focus,
.diandid-form-container input[type="email"]:focus,
.diandid-form-container input[type="password"]:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px #0073aa;
    
    /* On maintient les couleurs au focus */
    background-color: #ffffff !important;
    color: #887b7b !important;
}

/* Bouton Valider */
.diandid-form-container input[type="submit"] {
    width: 100%;
    background: #0073aa;
    color: white !important;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.diandid-form-container input[type="submit"]:hover {
    background: #005177;
}

/* Message d'erreur ou de succès (optionnel) */
.diandid-message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}
.diandid-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.diandid-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Bloc contenu restreint */
.diandid-restricted {
    background: #fff3cd;
    padding: 20px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
    border-radius: 4px;
}

/* Bouton connexion dans le bloc restreint */
.diandid-btn {
    display: inline-block;
    margin-top: 10px;
    background: #0073aa;
    color: white !important;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}
.diandid-btn:hover {
    background: #005177;
    color: white !important;
}
+