﻿.cookie-banner {
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
    position: fixed;
    inset: auto 0 0 0;
    max-width: 100%;
    background: #fff;
    padding: 7px 3rem;
    display: none; /* controlled by JS */
    gap: 12px;
    align-items: center;
    z-index: 9999;
    font: 14px / 16px 'South Regular', sans-serif;
    font-weight: normal;
}
.chb {
    font-size: 13px;
    color: #000
}
.cookie-banner .text {
    flex: 1;
    color: #000;
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap;
    align-content: space-between;
    align-items: center;
}
    .cookie-banner .text > h3 {
        font-size: 18px;
        margin-top: 1px;
    }
.cookie-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.c_btn {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.btn-primaryc {
    background: #2077bc;
    color: #fff;
    border: 1px solid transparent;
}
    .btn-primaryc:hover, .btn-primaryc:active {
        padding: 8px 12px;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        background: #fff;
        color: #000;
        transform: none;
        border: 1px solid #565656;
    }

.btn-ghost {
    background: transparent;
    color: #000;
    border: 1px solid transparent;
}

.link {
    background: transparent;
    border: none;
    color: #000;
    cursor: pointer;
    text-decoration: underline;
}

.prefs-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    background: rgba(10,10,12,0.35);
    padding: 20px;
}

.prefs-panel {
    background: #fff;
    width: 100%;
    max-width: 720px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(10,20,40,0.12);
    direction: rtl;
}
    .prefs-panel h2 { background: #fff; color:#000    }
.cookie-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px dashed #eee;
}

    .cookie-row:first-of-type {
        border-top: none;
    }

footer {
    padding: 20px;
    text-align: center;
    color: #666;
}
.prefs-panel > a {
    display: block;
    margin-top: 10px;
    color: #2077bc;
    font-weight: 400
}
    .prefs-panel>a:hover {
        text-decoration: underline;
    }
.debug-reset {
    position: fixed;
    left: 12px;
    bottom: 4rem;
    z-index: 20000;
    background: #fff;
    border: 1px solid #2077bc;
    padding: 8px;
    border-radius: 50%;
    font-size: 13px;
    z-index: 99;
}
i {
    font-size: 20px;
    font-style: normal;
}
.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

    .toggle input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color:#565656;
    transition: .3s;
    border-radius: 26px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .3s;
        border-radius: 50%;
    }

.toggle input:checked + .slider {
    background-color: #2077bc;
}

    .toggle input:checked + .slider:before {
        transform: translateX(24px);
    }
@media (max-width:520px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions {
        justify-content: center;
    }
    .cookie-banner .text {
        flex: 1;
        font-size: 14px;
        color: #000;
        display: flex;
        gap: 1rem;
        flex-wrap: nowrap;
        align-content: space-between;
        align-items: flex-start;
        flex-direction: column;
        align-items: center;
    }
}
