/* Cookie Banner and Preference Center Styles */
#cookie-banner,
#cookie-preference-center {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #344C64;
    color: white;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Noto Sans', sans-serif;
}

.cookie-banner-content,
.cookie-preference-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

#cookie-preference-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    bottom: auto;
    border-radius: 4px;
    max-height: 90vh;
    overflow-y: auto;
}

#cookie-banner h3,
#cookie-preference-center h3 {
    color: white;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

#cookie-banner p,
#cookie-preference-center p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.5;
}

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

.cookie-button {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.9375rem;
    transition: background-color 180ms ease-in-out;
    font-weight: 400;
}

.cookie-button-primary {
    background-color: #3DC2EC;
    color: white;
}

.cookie-button-primary:hover {
    background-color: #2aa8d8;
}

.cookie-button-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Cookie Options */
.cookie-options {
    margin: 20px 0;
}

.cookie-option {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.cookie-option-title {
    font-weight: 400;
    margin-left: 10px;
}

.cookie-option-description {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
}

input:checked + .cookie-slider {
    background-color: #3DC2EC;
}

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cookie-banner-buttons,
    .cookie-preference-buttons {
        flex-direction: column;
    }

    .cookie-button {
        width: 100%;
        margin-bottom: 5px;
    }

    #cookie-preference-center {
        width: 95%;
        max-height: 80vh;
    }
}
