/*
 * Css for the cookie consent overlay
 * @version $Id: cookieconsent.css 66350 2025-02-03 14:20:09Z anders $
*/
#cookieConsentOverlay {
    position: fixed;
    top: 50%; /* Position at the vertical center */
    left: 10px; /* A few pixels from the left edge */
    transform: translateY(-50%); /* Center vertically */
    width: 300px; /* Set a fixed width */
    max-height: 70%; /* Limit height to 60% of the viewport */
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

#cookieConsentOverlay.active {
    opacity: 1;
    visibility: visible;
}

#cookieConsentOverlay h3 {
    margin-top: 0;
    font-size: 18px;
    text-align: center;
    color: #000; /* Ensure the header text is black */
}

#cookieConsentOverlay p {
    text-align: center;
    line-height: 1.5;
}

#cookieConsentOverlay button {
    padding: 10px;
    margin-top: 10px;
    width: 100%;
    background-color: #28a745; /* Green for both buttons */
    color: #fff; /* White text */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

#cookieConsentOverlay button:hover {
    background-color: #1e7e34; /* Darker green on hover */
}