@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    .cookie-banner .checkbox-wrapper input[type=checkbox] {
        --active: #e50046; ;
        --active-inner: #fff;
        --focus: 2px rgba(254, 39, 39, 0.3);
        --border: #BBC1E1;
        --border-hover: #c5003c; ;
        --background: #fff;
        --disabled: #F6F8FF;
        --disabled-inner: #E1E6F9;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 21px;
        outline: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin: 0;
        cursor: pointer;
        border: 1px solid var(--bc, var(--border));
        background: var(--b, var(--background));
        transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    }
    .cookie-banner .checkbox-wrapper input[type=checkbox]:after {
        content: "";
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    }
    .cookie-banner .checkbox-wrapper input[type=checkbox]:checked {
        --b: var(--active);
        --bc: var(--active);
        --d-o: .3s;
        --d-t: .6s;
        --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
    }
    .cookie-banner .checkbox-wrapper input[type=checkbox]:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: 0.9;
    }
    .cookie-banner .checkbox-wrapper input[type=checkbox]:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--border);
    }

    .cookie-banner .checkbox-wrapper input[type=checkbox]:hover:not(:checked):not(:disabled) {
        --bc: var(--border-hover);
    }
    .cookie-banner .checkbox-wrapper input[type=checkbox]:focus {
        box-shadow: 0 0 0 var(--focus);
    }
    .cookie-banner .checkbox-wrapper input[type=checkbox]:not(.switch) {
        width: 21px;
    }
    .cookie-banner .checkbox-wrapper input[type=checkbox]:not(.switch):after {
        opacity: var(--o, 0);
    }
    .cookie-banner .checkbox-wrapper input[type=checkbox]:not(.switch):checked {
        --o: 1;
    }

    .cookie-banner .checkbox-wrapper input[type=checkbox]:not(.switch) {
        border-radius: 7px;
    }
    .cookie-banner .checkbox-wrapper input[type=checkbox]:not(.switch):after {
        width: 5px;
        height: 9px;
        border: 2px solid var(--active-inner);
        border-top: 0;
        border-left: 0;
        left: 7px;
        top: 4px;
        transform: rotate(var(--r, 20deg));
    }
    .cookie-banner .checkbox-wrapper input[type=checkbox]:not(.switch):checked {
        --r: 43deg;
    }
    .cookie-banner .checkbox-wrapper input[type=checkbox].switch {
        width: 38px;
        border-radius: 11px;
    }
    .cookie-banner  .checkbox-wrapper input[type=checkbox].switch:after {
        left: 1px;
        top: 1px;
        border-radius: 50%;
        width: 17px;
        height: 17px;
        background: var(--ab, var(--border));
        transform: translateX(var(--x, 0));
    }
    .cookie-banner  .checkbox-wrapper input[type=checkbox].switch:checked {
        --ab: var(--active-inner);
        --x: 17px;
    }
    .cookie-banner .checkbox-wrapper input[type=checkbox].switch:disabled:not(:checked):after {
        opacity: 0.6;
    }
}

.cookie-banner .checkbox-wrapper * {
    box-sizing: inherit;
}
.cookie-banner .checkbox-wrapper *:before,
.cookie-banner .checkbox-wrapper *:after {
    box-sizing: inherit;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #212121;
    padding: 10px 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: inherit;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner:before{
    position: absolute;
    content: '';
    width:100%;
    height:100vh;
    background: rgba(0,0,0,0.5);
    bottom: 0;
    z-index: -1
}

.cookie-banner label{
    display:flex;
    color: #F6F6F6;
    gap:8px;
}


.cookie-banner p{
    color: #F6F6F6;
}

.cookie-content {
    max-width: 1400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.cookie-banner .btn {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-banner .btn-primary {
    background-color: #e50046;
    color: white !important;
    border: none;
}

.cookie-banner .btn-secondary {
    background-color: #666 !important;
    color: white !important;
    border: none;
}

.cookie-banner .btn-outline {
    background: transparent;
    color: #F6F6F6;
    border:2px solid #F6F6F6;
}

.cookie-customize-panel {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 6px;
    margin-top: 10px;
    max-width: 600px;
    width: 100%;
    text-align: left;
    max-height: 70vh;
    overflow-y: auto;
}
.customize-text{
    color: #F6F6F6;
}

@media screen and (max-width: 1000px) {
    .cookie-content p {
        font-size: 13px;
    }
}

@media screen and (max-width: 600px) {
    .cookie-banner {
        padding: 8px;
    }
    .cookie-content p {
        font-size: 12px;
        line-height: 16px;
    }
    .btn {
        font-size: 13px;
        padding: 8px 14px;
    }
}