﻿.cookie-banner {
    position: fixed;
    inset: auto 12px 20px 12px;
    background: linear-gradient(#fff,#ccc);
    border: 1px solid #ccc;
    padding: 7px;
    border-radius: 12px;
    display: none; /* controlled by JS */
    gap: 12px;
    align-items: center;
    z-index: 10001;
    direction: rtl;
}
.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-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.c_btn {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

a.btn-primaryc {
    background: #F36F21;
    color: #FFF !important; 
}
    a.btn-primaryc:hover, a.btn-primaryc:active {
        padding: 8px 12px;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        font-weight: 600;
        background: #3c606d;
        color: #fff !important;
        transform: none;
    }

.btn-ghost {
    background: transparent;
    color: #F36F21;
    border: 1px solid #3c606d;
}
    .btn-ghost:hover {
        background: #3c606d;
        color: #fff !important;
        border: 1px solid #3c606d;
    }

.link {
    background: transparent;
    border: none;
    color: #3ae8a1;
    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;
}

.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: #F36F21;
    font-weight: 400
}
    .prefs-panel>a:hover {
        text-decoration: underline;
    }
.debug-reset {
    position: fixed;
    left: 13px;
    bottom: 20px;
    z-index: 20000;
    background: #fff;
    border: 1px solid #F36F21;
    padding: 10px;
    border-radius: 50%;
    font-size: 13px;
    z-index: 6;
    box-shadow: 0 0 7px #F36F21; cursor:pointer
}
    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: #F36F21;
}

    .toggle input:checked + .slider:before {
        transform: translateX(24px);
    }
body[data-wcaglang="ltr"] .cookie-row > div {
    text-align: left
}
@media (max-width:520px) {
    .debug-reset {
        left: 9px !important;
        bottom: 70px !important;
    }
}
    @media (max-width:520px) {
        .cookie-banner {
            flex-direction: column;
            align-items: stretch;
        }

        .cookie-actions {
            justify-content: center;
        }
    }
    /*.cookie-toast {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #e7f1f7;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 2px 0 0 0 rgba(0,0,0,0.2);
    z-index: 1000; font-size:15px
}

    .cookie-toast.hidden {
        display: none;
    }

.cookie-message {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    align-content: space-between;
    align-items: flex-start;
}
.c_btn {
    background: #3ae8a1;
    color: #fff;
    cursor: pointer;
    padding: .6rem 1rem;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: .6rem;
}

.cn_btn {
    background: #fff;
    color: #000;
    border: none;
    padding: .6rem 1rem;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: .6rem;
}

.cookie-message > i {
    font-size: 20px;
    font-style: normal;
}
*/