.hidden {
    display: none !important;
}

#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    border-radius: 50px;
    border: 2px solid #F1F0F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    z-index: 10000;
    gap: 20px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#cookie-banner p {
    margin: 0;
    color: #333;
    font-size: 15px;
}

#cookie-banner a {
    color: #333;
    text-decoration: underline;
}

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

#cookie-banner button {
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: background-color 0.3s ease;
}

#accept-all-btn {
    background-color: #ff9021;
    color: white;
}

#accept-all-btn:hover {
    background-color: #ff9021;
}

#customize-btn {
    background-color: white;
    color: #ff9021;
    border: 1px solid #ff9021;
}

#customize-btn:hover {
    background-color: #fff8ed;
}

#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
}

#cookie-preferences-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background-color: #fff;
    color: white;
    padding: 30px;
    border-radius: 12px;
    border: 3px solid #F1F0F0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 10002;
}

#cookie-preferences-modal h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 22px;
    color: #00263A;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cookie-option label {
    font-size: 16px;
    color: #00263A;
    font-weight: 600;
}

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

.modal-actions button {
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    width: 165px;
}

#save-prefs-btn {
    background-color: #ff9021;
    color: white;
}

#cancel-btn {
    color: #ff9021;
    background-color: transparent
}

#cancel-btn:hover {
    background-color: #fff8ed !important;
}


.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

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

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

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

input:checked + .slider {
    background-color: #ff9021;
}

input:disabled + .slider {
    background-color: #ff9021;
    cursor: not-allowed;
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

@media screen and (max-width: 991px) {
    #cookie-banner button {
        font-size: 13px;
    }

    #cookie-banner p {
        font-size: 11px;
        line-height: 1.5;
    }

    #cookie-preferences-modal {
        width: 95%;
        max-width: none;
        padding: 20px;
    }
}

@media screen and (max-width: 767px) {
    #cookie-banner {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        border-radius: 20px;
        gap: 20px;
        text-align: center;
    }

    #cookie-banner .cookie-actions {
        gap: 10px;
    }

    #cookie-preferences-modal {
        width: 90%;
        max-width: none;
        padding: 20px;
    }
}