#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px;
    text-align: center;
    z-index: 10000;
        color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);

    p {
        color:white;
        float:left;
        margin-bottom:0;
        margin-top:5px;
    }
}

#cookie-banner button {
    margin-left: 10px;
    padding: 5px 15px;
    border: none;
    background: #007bff;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    float:right;
    font-size:12px;
    font-weight: bold;
}

#cookie-banner button[onclick="openPreferencesModal()"] {
        color: rgb(255, 255, 255);
    border-color: rgb(146, 14, 12);
    background-color: rgb(0, 0, 0);
    border:2px solid rgb(146, 14, 12);
}

#cookie-banner button[onclick="acceptAllCookies()"] {
    color: white;
    border-color: transparent;
    background-color: rgb(146, 14, 12);
    outline: none;
    border-radius: 3px;
    border:2px solid rgb(146, 14, 12);
}

#cookie-preferences-modal {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(0, 0, 0);
    padding: 20px;
    z-index: 10001;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    max-width: 650px;

    button {
        float:right;
        color:white;
        margin-left:10px;
    }

    p, small, span, label, h3 {
        color:white;
    }

    small {
        font-size:12px;
    }
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 15px;
    float:right;
}

.toggle-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;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: rgb(146, 14, 12);
}

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

.cookie-pref-row {
    margin-bottom: 20px;
}


