.cookie-popup, .cookie-modal {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 106000;
}
.cookie-popup a, .cookie-modal a{
    color: white;
}
.cookie-popup {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1900px;
    font-weight:300;
    font-size: 14px;
}
#cookie-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(39, 47, 53, 0.69);
    z-index: 10400;
}
.cookie-modal {
    display: none; 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    background: #fff;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    z-index: 106000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.cookie-modal h3{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
}
.cookie-modal .cookie-item{
    padding-left: 60px;
    position: relative;
    line-height: 30px;
    margin-bottom: 18px;
}
.cookie-btn {
    background-color: var(--color-2);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}
#back-to-popup,
.cookie-btn.decline {
    background-color:#5c5c5c;
}
.cookie-btn:hover {
    opacity: 0.8;
}
.cookie-block label{
    position: absolute;
    top: 0;
    left: 0;
}
.cookie-block input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 50px;
    height: 30px;
}
.cookie-block .cm-switch{
    position: absolute;
    left: 0;
    display: inline-block;
    width: 50px;
    height: 30px;
}
.cookie-item input + .cm-switch .slider{
    background-color: #f2f2f2;
    position: absolute;
    cursor: pointer;
    border-radius: 30px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.4s;
    width: 50px;
    display: inline-block;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 5px 5px 10px 0 rgba(0, 0, 0, 0.19);
}
.cookie-block input + .cm-switch .slider::before{
    background-color: #e6e6e6;
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 5px;
    bottom: 5px;
    transition: 0.4s;
}
.cookie-block input:checked + .cm-switch .slider {
    background-color: #fcb900;
    opacity: 1;
}
.cookie-block input.required:checked + .cm-switch .slider {
    background-color: rgba(252, 185, 0, 0.6);
    opacity: 0.8;
    cursor: not-allowed;
}
.cookie-block input +  .cm-switch .slider::before {
    border-radius: 50%;
   /* -ms-transform: translateX(10px);
    transform: translateX(10px);*/
}
.cookie-block input:checked + .cm-switch .slider::before {
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}
.cookie-block .cm-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 30px;
}
#decline-cookies {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    top:0;
    right: 0;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#decline-cookies svg{
    width: 20px;
    height: 21px;
}
@media (max-width: 768px) {
    .cookie-popup {
        width: 100%;
        left: 0;
        transform: none;
        bottom: 20px;
    }
    .cookie-info{
        display: block;
        max-height: 40px;
        overflow: scroll;
    }
    .cookie-modal {
        width: 90%;
    }
}