/* Appliquer uniquement sur la page de validation 2FA */
body.login.wp-2fa-login {
    background: linear-gradient(135deg, #2800a0 0%, #00d66c 100%) !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bloc principal */
body.login.wp-2fa-login #login {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 32px 28px;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(40, 0, 160, 0.10);
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

/* Logo */
body.login.wp-2fa-login h1 a {
    background-image: url('/wp-content/uploads/2024/04/TO_logoRoundGreenTRSP-4.png');
    width: 120px;
    height: 120px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

/* Texte du formulaire */
body.login.wp-2fa-login #login p {
    color: #2800a0;
    font-size: 14px;
    line-height: 1.5;
}

/* Champ de saisie */
body.login.wp-2fa-login input.input {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Bouton de connexion */
body.login.wp-2fa-login .button-primary {
    background-color: #2800a0;
    border-color: #2800a0;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    transition: background 0.3s ease;
}

body.login.wp-2fa-login .button-primary:hover {
    background-color: #1e007d;
    border-color: #1e007d;
}


