.recaptcha-container {
    max-width: 350px;
}

.form-note {
    font-size: 0.85em;
    color: #666;
}

/* Styles pour la bannière de consentement aux cookies */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #002244;
    color: white;
    padding: 15px;
    z-index: 1000;
    display: none; /* Cacher par défaut, afficher avec JavaScript */
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-consent-banner.visible {
    display: block;
    transform: translateY(0);
}

.cookie-consent-banner p {
    margin: 0 0 10px;
    font-size: 16px;
}

.cookie-consent-banner button {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 5px 12px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Ajoute une ombre discrète au texte */
}

.cookie-consent-banner button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Effet pour les boutons lorsqu'ils sont cliqués */
.cookie-consent-banner button.clicked {
    transform: scale(1.1);
    cursor: default;
}

/* Styles spécifiques pour les petits écrans */
@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 10px;
        font-size: 12px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cookie-consent-banner p {
        margin: 0 0 8px;
        font-size: 12px;
    }

    .cookie-consent-banner button {
        padding: 8px 10px;
        font-size: 12px;
        margin: 5px 0;
    }
}

/* Animation pour l'effet rideau */
.cookie-consent-banner.visible {
    transform: translateY(0);
}

.cookie-consent-banner.hidden {
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

/* Effets différenciés pour boutons acceptés et rejetés */
.cookie-consent-banner button.accepted {
    background-color: transparent;
    border-color: #6B8E23;
    color: #6B8E23;
    transform: scale(1.05);
    font-weight: bold;
    cursor: default;
}

.cookie-consent-banner button.rejected {
    background-color: transparent;
    border-color: #f44336;
    color: #f44336;
    transform: scale(1.05);
    font-weight: bold;
    cursor: default;
}
