/* Cookie Consent Banner Styles */
.cc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a1a2e;
    color: #fff;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Open Sans', Arial, sans-serif;
    box-sizing: border-box;
    transform: translateY(100%);
    animation: cc-slide-up 0.4s ease forwards;
}

@keyframes cc-slide-up {
    to { transform: translateY(0); }
}

.cc-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.cc-banner-text h2 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.cc-banner-text p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #b0b0c0;
}

.cc-banner-text p a {
    color: #7c9df7;
    text-decoration: underline;
}

.cc-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
}

.cc-btn {
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.cc-btn:hover {
    opacity: 0.85;
}

.cc-btn-accept {
    background: #2563eb;
    color: #fff;
}

.cc-btn-reject {
    background: #3a3a4e;
    color: #d0d0e0;
}

.cc-btn-customize {
    background: transparent;
    color: #7c9df7;
    border: 1px solid #7c9df7;
}

.cc-btn-save {
    background: #2563eb;
    color: #fff;
    margin-top: 16px;
    width: 100%;
    flex: none;
}

/* Customize panel */
.cc-customize-panel {
    display: none;
    border-top: 1px solid #2a2a3e;
    padding: 16px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.cc-customize-panel.cc-open {
    display: block;
}

.cc-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #2a2a3e;
}

.cc-category:last-child {
    border-bottom: none;
}

.cc-category-info {
    flex: 1;
    padding-right: 16px;
}

.cc-category-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 2px 0;
}

.cc-category-desc {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* Toggle switch via checkbox */
.cc-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.cc-toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #555;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s;
}

.cc-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.cc-toggle input:checked + .cc-toggle-slider {
    background: #2563eb;
}

.cc-toggle input:checked + .cc-toggle-slider::before {
    transform: translateX(20px);
}

.cc-toggle input:disabled + .cc-toggle-slider {
    background: #2563eb;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .cc-banner-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px;
        gap: 14px;
    }

    .cc-buttons {
        flex-wrap: wrap;
    }

    .cc-btn {
        flex: 1;
        min-width: 0;
    }

    .cc-customize-panel {
        padding: 12px 20px;
    }
}
