.cookie-card{
    width: 100%;
    padding: 32px;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999999;
    box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.1);
    display: none;
}

.cookie-card-container{
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.cookie-card .cookie-left-content{
    width: calc(80% - 32px);
    gap: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-card .cookie-right-content{
    width: 20%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-card .cookie-right-content .actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.cookie-logo{
    height: 56px;
    width: auto;
    object-fit: contain;
}

.cookie-card .title{
    display: block;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
}

.cookie-card .description{
    font-size: 14px;
    max-width: 75%;
    text-wrap: balance;
}

.cookie-card button{
    width: 100%;
    padding: 14px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
}

.cookie-card button.accept_all{
    background-color: #000;
    color: #fff;
}

.cookie-card button.accept_selected {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
}

.cookie-card button.denied{
    background-color: #fff;
    color: #c8c8c8;
}

/* The switch - the box around the slider */
.cookie-card .switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

/* Hide default HTML checkbox */
.cookie-card .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.cookie-card .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #B0B0B0;
    border: 1px solid #B0B0B0;
    transition: .4s;
    border-radius: 32px;
    outline: none;
}

.cookie-card .slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    border-radius: 50%;
    outline: 2px solid #B0B0B0;
    left: -1px;
    bottom: -1px;
    background-color: #fff;
    transition: transform .25s ease-in-out 0s;
}


.cookie-card input:checked + .slider {
    background-color: #222222;
}

.cookie-card input:required + .slider {
    background-color: #B0B0B0;
    cursor: not-allowed;
}


.cookie-card input:checked + .slider:before {
    transform: translateX(1.5em);
    outline-color: #181818;
}

.cookie-card input:required + .slider:before{
    outline-color: #B0B0B0;
}

.cookie-config{
    height: 32px;
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.cookie-config .cookie-config-item{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cookie-config .cookie-config-item .cookie-config-item-title{
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.cookie-config-item-description{
    display: none;
}

@media (max-width: 767px){
    .cookie-card{
        bottom: unset;
        top: 50%;
        left: 50%;
        width: 90%;
        height: 90%;
        max-width: 624px;
        max-height: 624px;
        transform: translate(-50%, -50%);
        padding: 32px 16px 0;
    }
    .cookie-card-container{
        height: 100%;
    }
    .cookie-card img,.cookie-card .description{
        display: none;
    }
    .cookie-card .cookie-left-content, .cookie-card .cookie-right-content{
        width: 100%;
        height: 40%;
        justify-content: center;
    }
    .cookie-card .cookie-left-content{
        height: 60%;
    }
    .cookie-card .left-content-info{
        display: flex;
        flex-wrap: wrap;
        max-width: 100%;
        max-height: 100%;
        overflow: hidden;
        height: 100%;
    }
    .cookie-card .cookie-config{
        display: flex;
        flex-wrap: wrap;
        margin-top: 0;
        padding: 16px 0 32px;
        height: 100%;
        overflow-y: auto;
    }

    .cookie-config-item:not(:last-child){
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 16px;
    }

    .cookie-config-item-checkbox{
        display: flex;
        gap: 24px;
        flex-direction: row-reverse;
        width: 100%;
        justify-content: flex-end;
    }
    .cookie-config-item-description{
        width: 100%;
        display: block;
    }
    .cookie-config-item-description p{
        margin: 0;
    }
    .cookie-card + .overflow{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        filter: blur(2);
        z-index: 999998;
        display: none;
    }
}