﻿.cookie-banner {
    position: fixed;
    inset: auto 12px 12px 12px;
    max-width: 90%;
    background: linear-gradient(#fff,#e7f1f7);
    border: 1px solid #ccc;
    padding: 7px;
    border-radius: 12px;
    display: none; /* controlled by JS */
    gap: 12px;
    align-items: center;
    z-index: 9999;
}
.chb {
    font-size: 13px;
    color: #000
}
.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;
}
    .cookie-banner .text > h3 {
        font-size: 1.15rem;
    }
.cookie-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.c_btn {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-primaryc {
    background: #00B3C7;
    color: #fff;
}
    .btn-primaryc:hover, .btn-primaryc:active {
        padding: 8px 12px;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        font-weight: 600;
        background: #fff;
        color: #00B3C7;
        transform: none;
        border: solid 1px #00B3C7
    }

.btn-ghost {
    background: transparent;
    color: #00B3C7;
    border: 1px solid transparent;
}

.link {
    background: transparent;
    border: none;
    color: #0091d9;
    cursor: pointer;
    font-weight: 600;
    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: #00B3C7;
    font-weight: 400
}
    .prefs-panel>a:hover {
        text-decoration: underline;
    }
.debug-reset {
    position: fixed;
    left: 13px;
    bottom: 4rem;
    z-index: 20000;
    background: #00B3C7;
    border: 1px solid #000;
    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: #ccc;
    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: #00B3C7;
}

    .toggle input:checked + .slider:before {
        transform: translateX(24px);
    }
.cookie-banner .text img {
    display: none !important;
}

@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;
    }
}
