/* ==================== COOKIE CONSENT BANNER ==================== */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#cookie-consent-banner.cc-visible {
    transform: translateY(0);
}

.cc-content {
    max-width: 720px;
    margin: 0 auto 24px;
    padding: 28px 32px;
    background: #1a1a2e;
    color: #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-left: 16px;
    margin-right: 16px;
}

.cc-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #fff;
}

.cc-content p {
    margin-bottom: 8px;
    color: #b0b0c0;
}

.cc-privacy-link {
    color: #c5918e;
    text-decoration: underline;
    font-size: 0.85rem;
}

.cc-privacy-link:hover {
    color: #e8ccc9;
}

/* Categories */
.cc-details {
    margin: 16px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.cc-category {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
}

.cc-category+.cc-category {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cc-category input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cc-checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #555;
    border-radius: 4px;
    margin-top: 2px;
    transition: all 0.2s;
    position: relative;
}

.cc-category input:checked+.cc-checkmark {
    background: #c5918e;
    border-color: #c5918e;
}

.cc-category input:checked+.cc-checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cc-locked {
    opacity: 0.7;
    cursor: default;
}

.cc-cat-info strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
}

.cc-cat-info small {
    color: #999;
    font-size: 0.8rem;
}

/* Buttons */
.cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.cc-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.cc-btn-accept {
    background: linear-gradient(135deg, #c5918e, #a8706d);
    color: white;
    flex: 1;
}

.cc-btn-accept:hover {
    background: linear-gradient(135deg, #a8706d, #8c5553);
}

.cc-btn-necessary {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    flex: 1;
}

.cc-btn-necessary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cc-btn-details {
    background: transparent;
    color: #c9a96e;
    border: 1px solid rgba(201, 169, 110, 0.3);
}

.cc-btn-details:hover {
    background: rgba(201, 169, 110, 0.1);
}

.cc-btn-save {
    background: linear-gradient(135deg, #c5918e, #a8706d);
    color: white;
    width: 100%;
}

.cc-btn-save:hover {
    background: linear-gradient(135deg, #a8706d, #8c5553);
}

/* Placeholder for blocked content */
.cc-blocked-placeholder {
    background: linear-gradient(135deg, #fef4f0, #f5e6e4);
    border: 2px dashed #e8ccc9;
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    color: #7a6b72;
    font-size: 0.95rem;
    font-family: inherit;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cc-blocked-placeholder p {
    margin-bottom: 12px;
}

.cc-blocked-placeholder button {
    padding: 10px 24px;
    background: linear-gradient(135deg, #c5918e, #a8706d);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    font-family: inherit;
}

.cc-blocked-placeholder button:hover {
    background: linear-gradient(135deg, #a8706d, #8c5553);
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 640px) {
    .cc-content {
        padding: 20px 16px;
        margin: 0 8px 8px;
        border-radius: 12px;
    }

    .cc-actions {
        flex-direction: column;
    }

    .cc-btn {
        width: 100%;
        text-align: center;
    }
}