/* Cookie Banner Styling */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* Shift it back by half of its width for centering */
    max-width: 1200px; /* Set maximum width */
    width: 100%;
    background-color: #9DC209; /* Match site primary color */
    color: white;
    padding: 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
    font-family: 'Nunito', sans-serif;
}

#cookie-banner p {
    margin: 0;
    font-size: 1rem;
    flex-grow: 2;
    text-align: left;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
}

#cookie-banner .cookie-banner-button {
    padding: 6px 12px; /* Reduced padding */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
    width: 100px; /* Reduced width for smaller buttons */
    text-align: center; /* Ensure text is centered */
    box-sizing: border-box; /* Consistent sizing */
    display: inline-flex; /* Align items using flex properties */
    align-items: center; /* Vertically center text */
    justify-content: center; /* Horizontally center text */
}

/* Cookie Banner Button Colors */
#cookie-banner .cookie-banner-accept {
    background-color: #28a745; /* Green for Accept */
    color: #ffffff;
}

#cookie-banner .cookie-banner-reject {
    background-color: #DC381F; /* Red for Reject */
    color: #ffffff;
}

#cookie-banner .cookie-banner-settings {
    background-color: #000; /* Blue for Settings */
    color: #ffffff;
}

#cookie-banner a {
    color: white;
    text-decoration: underline;
    margin-left: 10px;
}

#cookie-banner a:hover {
    color: #DC381F; /* Hover color match with active link style */
}

/* Cookie Modal Styling */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ensure full screen */
    display: flex;
    justify-content: center;
    align-items: center; /* Center vertically */
    background-color: rgba(0, 0, 0, 0.7); /* Add a slight dark background to highlight the modal */
    z-index: 1001;
}

.modal-content {
    background-color: #ffffff;
    color: #333;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    padding: 25px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    font-family: 'Nunito', sans-serif;
}

.modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cookie-settings-modal .cookie-settings-button {
    padding: 6px 12px; /* Adjust padding */
    height: 40px; /* Fixed height for consistency */
    width: 100px; /* Fixed width for consistency */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.85rem;
    text-align: center;
    line-height: normal; /* Remove specific line height */
    box-sizing: border-box; /* Ensures consistent box-sizing behavior */
    display: inline-flex; /* Use flex properties */
    align-items: center; /* Vertically center the text */
    justify-content: center; /* Horizontally center the text */
}

/* Cookie Modal Button Colors */
.cookie-settings-modal .cookie-settings-save {
    background-color: #28a745; /* Green for Save */
    color: #ffffff;
}

.cookie-settings-modal .cookie-settings-close {
    background-color: #DC381F; /* Red for Close */
    color: #ffffff;
}

.cookie-options {
    margin: 25px 0;
    text-align: left;
}

.cookie-options label {
    display: block;
    margin: 15px 0;
    cursor: pointer;
}
