/* style.css for 21 English Buttons Redirect */
.english-bouton-wrapper {
    text-align: center;
    margin: 20px 0;
}

.english-bouton-redirect {
    display: inline-block;
    padding: 10px 30px;
    background-color: #fff;
    color: #000;
    border: 2px solid #000; /* Bordure noire */
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.english-bouton-redirect:hover {
    background-color: #f0f0f0;
}

.english-bouton-redirect.processing {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.english-bouton-redirect.completed {
    padding: 15px 40px; /* Plus large et haut */
    background-color: #d4edda !important; /* Fond vert */
    border: 1px solid #155724 !important; /* Bordure verte */
    border-radius: 30px !important; /* Plus rond */
    color: #155724;
}

.final-message {
    display: inline-block;
    background: none !important;
    color: #155724;
    border: none !important;
}

.final-message a.redirect-link {
    color: #155724;
    text-decoration: underline;
}

/* Style pour le spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #155724;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-right: 10px;
}

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

/* Responsive adjustments */
@media (max-width: 480px) {
    .english-bouton-wrapper {
        margin: 10px 0;
    }
    .english-bouton-redirect {
        padding: 8px 20px;
        font-size: 14px;
    }
    .english-bouton-redirect.completed {
        padding: 10px 25px;
    }
    .final-message {
        font-size: 12px;
    }
    .spinner {
        width: 16px;
        height: 16px;
        border-width: 2px;
    }
}