.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    color: #000;
    padding: 1.5em;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-family: Arial, sans-serif;
    text-align: center;
}

.cookie-banner p {
    margin: 0.5em 0;
}

.cookie-buttons {
    margin-top: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    justify-content: center;
}

.cookie-banner button {
    padding: 0.6em 1.2em;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.cookie-banner a {
    color: #0000ee;
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: var(--hover-color, #0000ee);
}

/* Section personnalisation */
#custom-options {
    margin-top: 1em;
    text-align: left;
    background: #f9f9f9;
    padding: 1em;
    border-radius: 8px;
    border: 1px solid #ddd;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95em;
}

#custom-options label {
    display: block;
    margin-bottom: 0.5em;
}

#custom-options button {
    margin-top: 1em;
    padding: 0.6em 1.2em;
    border-radius: 5px;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 600px) {
    .cookie-banner {
        padding: 1em;
        font-size: 0.9em;
    }

    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cookie-banner button {
        width: 100%;
        max-width: 300px;
    }

    #custom-options {
        width: 100%;
        font-size: 0.9em;
    }

    #custom-options button {
        width: 100%;
        margin-top: 0.5em;
    }
}
/* Lien de réinitialisation des préférences */
.ccm-manage-link {
    display: inline-block;
    margin-top: 1em;
    font-size: 0.95rem;
    color: #007BFF;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s;
}

.ccm-manage-link:hover {
    color: #0056b3;
}

/* Variante : lien fixe en bas à droite */
.ccm-manage-link-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 10000;
    color: #007BFF;
}

.ccm-manage-link-fixed:hover {
    color: #0056b3;
}

/* Responsive mobile */
@media (max-width: 600px) {
    .ccm-manage-link-fixed {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 14px;
    }
}
/* Lien de réinitialisation des préférences dans le footer avec couleur personnalisée */
.ccm-manage-link-footer {
    display: inline-block;
    color: var(--footer-link-color, #ffffff); /* Utilisation de la couleur personnalisée */
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 15px;
    background-color: #333333;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s, color 0.3s;
}

.ccm-manage-link-footer:hover {
    color: var(--footer-link-hover-color, #ffffff); /* Couleur au survol */
    background-color: #007BFF;
}

/* Responsive pour mobile */
@media (max-width: 600px) {
    .ccm-manage-link-footer {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}
