/* Cookie Banner Styling - Simple Sticky Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: #FFD700;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: slideUp 0.5s ease-in-out forwards;
    z-index: 9998; /* Ensure it's below Astra's return-to-top button */
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px; /* Adjust as needed */
    background: #222;
    color: #FFD700;
    text-align: center;
    padding: 10px 20px;
    border-top: 2px solid #FFD700;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none !important; 
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}






@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Center-align text */
.cookie-banner p {
    margin-bottom: 10px;
    text-align: center;
}

/* Button container to prevent overlap with Astra theme's return-to-top button */
.cookie-banner .button-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    position: relative;
    z-index: 9999; /* Ensure buttons appear above return-to-top */
}


/* Buttons in Banner */
.cookie-banner button {
    background: #FFD700;
    border: none;
    color: #222;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    z-index: 9999; /* Keep above Astra's return button */
}



.cookie-banner button:hover {
    background: #e6c200;
}
/* ✅ Cookie Preferences Modal */
.cookie-modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: #222;
    color: #ffcc00;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.cookie-modal-content {
    text-align: center;
}

.cookie-options {
    margin-top: 15px;
    text-align: left;
}

.cookie-options label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.cookie-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.cookie-buttons button {
    background: #ffcc00;
    color: #222;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-buttons button:hover {
    background: #e6b800;
}
