/* The Cookie Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: #fff;
    padding: 20px 25px; /* Added a bit more horizontal padding */
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    z-index: 9999;
    
    /* --- Layout & Fonts --- */
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 15px; /* Slightly larger for readability */
    font-weight: 400;
    line-height: 1.6;
    
    /* Use Flexbox for alignment */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; /* Space between text and button */

    /* Hide by default, JS will show it */
    display: none; 
}

/* The text content */
#cookie-consent-banner p {
    margin: 0;
    flex-grow: 1; /* Allows text to take available space */
    text-align: left;
}

#cookie-consent-banner p a {
    color: #fff; /* White looks better on the dark bg */
    font-weight: 600; /* Bolder link */
    text-decoration: underline;
    text-decoration-color: #1133AF; /* Subtle underline color */
    text-underline-offset: 3px;
}

#cookie-consent-banner p a:hover {
    color: #fff;
    text-decoration-color: #fff; /* Underline becomes white on hover */
}

/* The "Accept" button */
#cookie-consent-accept,
#cookie-consent-reject {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 12px 25px; /* Slightly larger button */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    white-space: nowrap; /* Prevents button text from wrapping */
    transition: background-color 0.2s ease, color 0.2s ease;
}

#cookie-consent-accept {
    background-color: #1133AF;
    color: #fff;
}

#cookie-consent-accept:hover {
    background-color: #0d278a; /* A slightly darker shade of your brand color */
}

#cookie-consent-reject {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.65);
}

#cookie-consent-reject:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Simple responsive style for small screens */
@media (max-width: 680px) {
    #cookie-consent-banner {
        flex-direction: column;
        text-align: center;
    }
    
    #cookie-consent-banner p {
        text-align: center;
        margin-bottom: 15px;
    }

    #cookie-consent-accept,
    #cookie-consent-reject {
        width: 100%;
    }
}
