.login-register-block.login-block .field-group {
border:1px solid transparent
}
/* --- Bloc Principal de l'Inscription --- */
.login-register-block.login-block {
    font-family: var(--font);
    max-width: 600px; /* Largeur optimale pour un rendu sur deux colonnes */
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: calc(var(--border-radius) * 2); /* Un arrondi un peu plus doux pour la carte */
  
  border: 1px solid var(--color-border);
}

/* --- Titre du Formulaire --- */
.login-register-title h2 {
    color: #1a202c;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

/* Petite ligne décorative sous le titre "S'inscrire" */
.login-register-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--color-site-1); /* Utilisation de l'orange */
    border-radius: var(--border-radius);
}

/* --- Organisation des Champs en Grille (Grid) --- */
.field-group {

border:1px solid transparent;
    margin-bottom: 25px;
}

/* Les champs d'erreur s'ils existent prennent toute la largeur en dessous de l'input */
.input-icon {
    display: flex;
    flex-direction: column;
}

.login-register-block .input-icon+.input-icon {
    border-top: 1px solid transparent;
    margin-top:10px
}

/* --- Design des Inputs --- */
.field-group .form-control,
.field-group input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 10px 16px;
    font-size: 14px;
    font-family: var(--font);
    color: #2d3748;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* --- Effets au Focus (Clic sur le champ) --- */
.field-group .form-control:focus,
.field-group input[type="password"]:focus {
    background-color: #ffffff;
    border-color: var(--color-site-2); /* Changement vers le bleu principal */
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 125, 250, 0.15); /* Halo discret bleu */
}

/* Style des placeholders */
.field-group input::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

/* --- Gestion des inputs cachés antispam --- */
#website,
div[hidden] {
    display: none !important;
}

/* --- Message d'erreur sous les inputs --- */
.form_errors {
    color: #ef4444;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

/* --- Bouton Soumettre / S'inscrire --- */
#submit-validate.btn-primary {
    width: 100%;
    height: 50px;
    background-color: var(--color-site-2); /* Fond bleu par défaut */
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(40, 125, 250, 0.2);
}

#submit-validate.btn-primary:hover {
    background-color: var(--color-site-1); /* Devient Orange au survol */
    box-shadow: 0 6px 16px rgba(255, 110, 0, 0.3);
    transform: translateY(-1px);
}

#submit-validate.btn-primary:active {
    transform: translateY(1px);
}

/* --- Alerte Flash Message --- */
#flash-message.alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

/* --- Lien de redirection (Se connecter) --- */
a.back {
    display: block;
    color: #718096;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: 15px;
}

a.back:hover {
    color: var(--color-site-2); /* Survol bleu */
    text-decoration: underline;
}

/* --- Adaptabilité Mobile (Responsive) --- */
@media (max-width: 768px) {
    .login-register-block.login-block {
        padding: 25px 20px;
        margin: 20px 15px;
    }

}
     
 .tfa-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* Vert clair pour le fond (ex: #DCFCE7) */
    background: #DCFCE7; 
    /* Vert foncé pour le texte (ex: #16A34A) */
    color: #16A34A;      
    font-size: 14px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--border-radius);
    text-align: center;
    margin:10px 0
    
}

.tfa-badge svg { 
    flex-shrink: 0; 
    /* Assure que l'icône prend la couleur du texte */
    fill: currentColor; 
}
   
 
        .security-badge {
            display: inline-block;
            background-color: #e8f5f2;
            color: #00a4e3;
            padding: 10px 20px;
            border-radius: var(--border-radius);
            font-weight: 500;
            font-size: 14px;
            margin-bottom: 30px;
        }
 
        .security-badge::before {
            content: '✓';
            display: inline-block;
            margin-right: 8px;
            font-weight: bold;
        }
 
        .security-info-box {
            background-color: #eef4fd;
            border-left: 4px solid var(--color-site-2);
            padding: 20px;
            margin-bottom: 30px;
            border-radius: var(--border-radius);
        }
 
        /* .security-info-box::before {
            content: '🔒';
            margin-right: 15px;
            font-size: 20px;
        } */
 
        .security-info-box p {
            margin: 0;
            font-size: 14px;
            line-height: 1.6;
        }
 
        .compatible-apps-title {
            text-align: center;
            color: var(--text-color);
            font-weight: 600;
            margin-bottom: 25px;
            font-size: 14px;
        }
 
        .compatible-apps {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }
 
        .app-item {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            flex:1
        }
 
        .app-logo {
            width: 50px;
            height: 50px;
            border-radius: var(--border-radius);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
            font-weight: bold;
            font-size: 24px;
        }
 
        .app-logo.google {
            background-color: #f0f0f0;
            color: #ea4335;
        }
 
        .app-logo.microsoft {
            background-color: #e8f4fd;
            color: var(--color-site-2);
        }
 
        .app-logo.authy {
            background-color: #ffe8e8;
            color: #e74c3c;
        }
 
        .app-name {
            font-size: 12px;
            font-weight: 500;
            color: var(--text-color);
        }
 
        .steps-container {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 40px;
        }
 
        @media (max-width: 991px) {
            .steps-container {
                flex-direction: column;
            }
        }
 
      .steps-container  .step {
            flex: 1;
            text-align: center;
        }
 
        .step-number {
            width: 50px;
            height: 50px;
            background-color: #e8f0ff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 20px;
            color: var(--color-site-2);
            margin: 0 auto 15px;
        }
 
        .step-title {
            font-weight: 600;
            font-size: 14px;
            color: var(--text-color);
            margin-bottom: 10px;
        }
 
        .step-description {
            font-size: 12px;
            color: #666666;
            line-height: 1.5;
        }
 
        .qr-container {
            background-color: #f5f5f5;
            padding: 30px;
            border-radius: var(--border-radius);
            text-align: center;
            margin-bottom: 30px;
        }
 
        .qr-container img {
            max-width: 220px;
            border: 3px solid #e0e0e0;
            border-radius: var(--border-radius);
        }
 
        .secret-key-section {
            background-color: #f5f5f5;
            padding: 20px;
            border-radius: var(--border-radius);
            margin-bottom: 30px;
        }
 
        .secret-key-label {
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 10px;
            display: block;
        }
 
        .secret-key-helper {
            font-size: 11px;
            color: #999999;
            margin-left: 5px;
        }
 
        .secret-key-container {
            display: flex;
            gap: 10px;
            align-items: center;
        }
 
        .secret-key-input {
            flex: 1;
            background-color: #ffffff;
            border: 1px solid var(--color-border);
            padding: 10px 12px;
            border-radius: var(--border-radius);
            font-family: 'Courier New', monospace;
            font-size: 12px;
            word-break: break-all;
       color: #c7254e;
  background-color: #f9f2f4;
        }
 
        .secret-key-input:focus {
            outline: none;
            border-color: var(--color-site-2);
            box-shadow: 0 0 0 2px rgba(40, 125, 250, 0.1);
        }
 
        .copy-button {
            background-color: transparent;
            border: none;
            color: var(--color-site-2);
            font-weight: 600;
            font-size: 12px;
            cursor: pointer;
            padding: 5px 10px;
            white-space: nowrap;
        }
 
        .copy-button:hover {
            color: #1e5ba8;
            text-decoration: none;
        }
 
        .code-input-label {
            text-align: center;
            font-size: 13px;
            color: var(--text-color);
            margin-bottom: 20px;
            display: block;
        }
 
        .code-inputs-container {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-bottom: 25px;
        }
 
        .code-input {
            width: 40px;
            height: 50px;
            text-align: center;
            font-size: 18px;
            font-weight: 700;
            border: 2px solid var(--color-border);
            border-radius: var(--border-radius);
            padding: 0;
        }
 
        .code-input:first-child {
            border-color: var(--color-site-2);
        }
 
        .code-input:focus {
            outline: none;
            border-color: var(--color-site-2);
            box-shadow: 0 0 0 2px rgba(40, 125, 250, 0.1);
        }
 
        .btn-activate {
            width: 100%;
            background-color: var(--color-site-2);
            border: none;
            color: #ffffff;
            font-weight: 600;
            padding: 12px 20px;
            border-radius: var(--border-radius);
            font-size: 14px;
            margin-bottom: 20px;
            transition: background-color 0.3s ease;
        }
 
        .btn-activate:hover {
            background-color: #1e5ba8;
            color: #ffffff;
        }
 
        .btn-activate::before {
            content: '✓';
            margin-right: 8px;
        }
 
        .divider {
            display: flex;
            align-items: center;
            gap: 15px;
            margin: 25px 0;
        }
 
        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background-color: #e0e0e0;
        }
 
        .divider-text {
            font-size: 12px;
            color: #999999;
        }
 
        .back-link {
            text-align: center;
            margin-top: 20px;
        }
 
        .back-link a {
            color: var(--color-site-2);
            font-weight: 600;
            font-size: 13px;
            text-decoration: none;
        }
 
        .back-link a:hover {
            text-decoration: underline;
        }
 
        .back-link a::before {
            content: '←';
            margin-right: 8px;
        }

