/* Styles pour l'authentification */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 40px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

.toggle-password:hover {
    color: #333;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox input[type="checkbox"] {
    width: auto;
}

.checkbox label {
    margin-bottom: 0;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

.text-center {
    text-align: center;
    margin-top: 20px;
}

.text-center a {
    color: #4a6cf7;
    text-decoration: none;
}

.text-center a:hover {
    text-decoration: underline;
}

small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 20px;
    }
}

/* Styles pour le modal de vérification */
.verification-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.verification-actions a {
    display: inline-block;
    margin: 5px 0;
    color: #4CAF50;
    text-decoration: none;
}

.verification-actions a:hover {
    text-decoration: underline;
}

/* Animation pour le champ de code */
#verificationCode {
    font-size: 24px;
    text-align: center;
    letter-spacing: 5px;
    font-family: monospace;
}

/* Style pour les messages de vérification */
.verification-message {
    background-color: #e8f5e9;
    border-left: 4px solid #4CAF50;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.verification-message.error {
    background-color: #ffebee;
    border-left-color: #f44336;
}


/* Styles pour la vérification email */
#verificationCode {
    font-family: 'Courier New', monospace;
    font-size: 24px !important;
    letter-spacing: 10px !important;
    text-align: center !important;
    height: 50px !important;
}

.verification-info {
    background: #e8f5e9;
    border: 1px solid #4CAF50;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
}

.verification-info i {
    color: #4CAF50;
    margin-right: 8px;
}

.verification-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

.verification-actions a {
    color: #4CAF50;
    text-decoration: none;
    margin: 0 10px;
}

.verification-actions a:hover {
    text-decoration: underline;
}

/* Animation pour le spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Messages */
.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 12px;
    margin: 10px 0;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 12px;
    margin: 10px 0;
}
/* CSS Document */

