:root {
    --popup-bg: rgba(12, 29, 48, 0.95); /* Couleur de fond principale */
    --popup-text: #ffffff; /* Couleur du texte */
    --button-bg: #078fff; /* Couleur du bouton */
    --button-hover-bg: #005ea6; /* Couleur du bouton au survol */
    --link-color: #ffdd57; /* Couleur du lien */
    --link-hover: #ffc107; /* Couleur du lien au survol */
}

/* Popup Cookie */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: var(--popup-bg);
    color: var(--popup-text);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeIn 0.5s ease-in-out;
}

/* Texte et lien */
.cookie-popup p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    flex: 1;
    color: var(--popup-text);
}

.cookie-popup a {
    color: var(--link-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s;
}

.cookie-popup a:hover {
    color: var(--link-hover);
}

/* Bouton */
.cookie-btn {
    background: var(--button-bg);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    background: var(--button-hover-bg);
    transform: scale(1.05);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cacher la popup */
.cookie-popup.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-popup {
        flex-direction: column;
        padding: 15px;
    }

    .cookie-popup p {
        margin-bottom: 15px;
        text-align: center;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}
