/* --- Styles for the cookie banner --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1A1A21; /* Dark background */
    color: #E2E8F0; /* Light text */
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center; /* Center content */
    align-items: center;
    flex-wrap: wrap; /* Allow elements to wrap on small screens */
    gap: 15px; /* Space between elements */
    z-index: 999999999; /* Very high to be on top of Tawk.to and Discord */
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cookie-consent-banner p {
    margin: 0;
    flex-grow: 1; /* Allow paragraph to take available space */
    text-align: center; /* Center text on one line */
}

.cookie-consent-banner .cookie-buttons {
    display: flex;
    gap: 10px; /* Space between buttons */
    flex-shrink: 0; /* Prevent buttons from shrinking */
}

.cookie-consent-banner button {
    background-color: #E84393; /* Main acceptance button */
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cookie-consent-banner button:hover {
    background-color: #C2277B; /* Darker shade on hover */
    transform: translateY(-1px);
}

.cookie-consent-banner button.deny {
    background-color: #4A5568; /* Deny button (gray) */
    color: #E2E8F0;
}

.cookie-consent-banner button.deny:hover {
    background-color: #2D3748; /* Darker shade on hover */
    transform: translateY(-1px);
}

/* Hide banner by default if JS is disabled or consent not given */
.cookie-consent-banner.hidden {
    display: none;
}

/* Media queries for smaller screens */
@media (max-width: 600px) {
    .cookie-consent-banner {
        flex-direction: column; /* Stack elements on small screens */
        text-align: center;
    }
    .cookie-consent-banner .cookie-buttons {
        width: 100%; /* Full width buttons */
        justify-content: center;
    }
}
