/*
=====================================================
    COOKIE BANNER STYLES
=====================================================
*/

/* Main Banner Container - Full-width, fixed at the bottom */
.cookie-banner-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2000; /* Ensure it floats above all other fixed/sticky elements (z-index 1000) */
    background: rgba(0, 0, 0, 0.9); /* Dark overlay to match your promo block background */
    backdrop-filter: blur(4px); /* Modern touch for a soft background */
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.7);
    padding: 12px 0; /* Reduced vertical padding */
    display: none; /* Hidden by default, JS shows it if no consent cookie is found */
    box-sizing: border-box;
}

/* Inner content area to constrain text/buttons on large screens */
.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Reduced horizontal padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Use Montserrat for buttons only, system font for main text below */
    font-family: 'Montserrat', sans-serif;
}

/* Text styling - Uses a System Font Stack to guarantee non-bold weight */
.cookie-banner-text {
    color: #FFFFFF;
    font-size: clamp(0.75em, 1vw, 0.9em); /* ADJUSTED: Made smaller */
    /* Changed font-family to system stack for guaranteed normal weight */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 400; /* Explicitly set to Normal weight (400) */
    margin: 0 0 12px 0; /* Reduced margin */
    line-height: 1.4;
}

.policy-link {
    color: #FFEB3B; /* Yellow from your existing design */
    font-weight: 600; /* Semi-Bold (600) */
    text-decoration: underline;
    margin-left: 5px;
    transition: color 0.3s;
}

.policy-link:hover {
    color: #FF416C; /* Pink/Red hover effect */
    text-decoration: none;
}

/* Button Container */
.cookie-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Reduced gap between buttons */
}

/* Base button style - Keeps Montserrat for styling consistency on buttons */
.cookie-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; /* Semi-Bold (600) for a clean, visible button text */
    font-size: clamp(0.8em, 1.5vw, 0.95em); /* ADJUSTED: Made smaller */
    padding: 8px 18px; /* Reduced padding slightly to match smaller text */
    border: none;
    border-radius: 50px; /* Fully rounded like your other elements */
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    text-transform: uppercase;
}

/* Primary Button: Accept All (Use your prominent color scheme) */
.cookie-accept-btn {
    background: #FFEB3B; /* Main Yellow color */
    color: #FF416C; /* Main Pink/Red color */
    box-shadow: 0 4px 15px rgba(255, 235, 59, 0.4);
    border: 2px solid #FFEB3B;
}

.cookie-accept-btn:hover {
    transform: translateY(-2px) scale(1.05);
    background: #FFFFFF;
    box-shadow: 0 6px 20px rgba(255, 65, 108, 0.6);
}

/* Secondary Button: Reject/Manage (Use a subdued, transparent style) */
.cookie-reject-btn {
    background: transparent;
    color: #FFEB3B;
    border: 2px solid #FFEB3B; /* Yellow border for visibility */
    box-shadow: 0 4px 15px rgba(255, 235, 59, 0.2);
}

.cookie-reject-btn:hover {
    transform: translateY(-2px) scale(1.05);
    background: #FFEB3B;
    color: #000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}

/* Desktop Layout Adjustment */
@media (min-width: 768px) {
    .cookie-banner-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .cookie-banner-text {
        text-align: left;
        margin: 0;
        margin-right: 20px; /* Reduced margin */
        flex-grow: 1; /* Allows text to take up more space */
    }
    .cookie-banner-buttons {
        flex-shrink: 0;
    }
}