/* cookieChoice.css */

/* Overlay couvrant toute la fenêtre */
.cookie-modal-overlay {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenu de la modal */
.cookie-modal-content {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    animation: fadeIn 0.4s ease-out;
}

/* Animation d'apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bouton de fermeture (icône « × ») */
.cookie-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
}

    .cookie-modal-close:hover {
        color: #000;
    }

/* Texte du message */
.cookie-modal-text {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Bouton d'acceptation */
.cookie-modal-accept {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

    .cookie-modal-accept:hover {
        background-color: #45a049;
    }

/* Lien d'information */
.cookie-modal-info {
    display: block;
    margin-top: 10px;
    text-decoration: underline;
    font-size: 14px;
    color: #007BFF;
    margin-bottom: 15px;
}
