/*--------------------------------------------------------------
# Cookie Banner
--------------------------------------------------------------*/
.cc-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10000;
    display: none;
    width: 340px;
    max-width: calc(100% - 32px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 18px 20px 14px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}

.cc-banner.cc-visible {
    display: block;
    animation: cc-fade-in 0.3s ease-out;
}

.cc-banner [hidden] {
    display: none !important;
}

@keyframes cc-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cc-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.cc-text {
    margin: 0 0 12px;
    color: #666;
}

.cc-prefs {
    margin: 0 0 12px;
    border-top: 1px solid #ececec;
}

.cc-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
    cursor: pointer;
}

.cc-option-text {
    flex: 1;
}

.cc-option-text strong {
    display: block;
    font-weight: 600;
    color: #333;
}

.cc-option-text small {
    display: block;
    font-size: 12px;
    color: #666;
}

.cc-option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.cc-switch {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 18px;
    background: #bababa;
    border-radius: 9px;
    transition: background 0.2s;
}

.cc-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.cc-option input:checked + .cc-switch {
    background: #1dc8cd;
}

.cc-option input:checked + .cc-switch::after {
    transform: translateX(16px);
}

.cc-option input:disabled + .cc-switch {
    opacity: 0.6;
}

.cc-option input:disabled ~ * {
    cursor: default;
}

.cc-option input:focus-visible + .cc-switch {
    outline: 2px solid #0195b0;
    outline-offset: 2px;
}

.cc-actions {
    display: flex;
    gap: 8px;
}

.cc-btn {
    flex: 1;
    padding: 7px 12px;
    background: #f1b450;
    border: 1px solid #f1b450;
    border-radius: 20px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

.cc-btn:hover,
.cc-btn:focus-visible {
    background: #dc9f3c;
    border-color: #dc9f3c;
}

.cc-btn-secondary {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #e9e9e9;
    border-radius: 20px;
    font-family: inherit;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
}

.cc-btn-secondary:hover,
.cc-btn-secondary:focus-visible {
    border-color: #f1b450;
    color: #333;
}

.cc-btn:focus-visible,
.cc-btn-secondary:focus-visible {
    outline: 2px solid #0195b0;
    outline-offset: 2px;
}

.cc-links {
    margin: 10px 0 0;
    font-size: 11px;
    text-align: center;
    color: #b3b3b3;
}

.cc-links a {
    color: #666;
}

.cc-links a:hover {
    color: #f1b450;
}

@media (max-width: 480px) {
    .cc-banner {
        right: 16px;
        left: 16px;
        bottom: 16px;
        width: auto;
        max-width: none;
    }
}
