/* VANILLA COOKIECONSENT - INTUSBAU CUSTOM */
:root {
    --cc-bg: #1a1a1a;
    --cc-text: #fff;
    --cc-btn-primary-bg: #FFD700;
    --cc-btn-primary-text: #000;
    --cc-btn-secondary-bg: transparent;
    --cc-btn-secondary-text: #fff;
    --cc-btn-secondary-border: #fff;
    --cc-overlay-bg: rgba(0, 0, 0, 0.7);
    --cc-border-color: #FFD700;
}

#cc-main {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cc_div {
    position: fixed;
    z-index: 9999;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--cc-bg);
    border-top: 3px solid var(--cc-border-color);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
    animation: cc-slideup 0.4s ease;
}

@keyframes cc-slideup {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cc_div.cc--hidden {
    animation: cc-slidedown 0.4s ease;
}

@keyframes cc-slidedown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cc_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cc_message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cc_text {
    flex: 1;
    min-width: 300px;
}

.cc_title {
    color: var(--cc-btn-primary-bg);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.cc_description {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cc_buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cc_btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.cc_btn.cc_accept_all {
    background: var(--cc-btn-primary-bg);
    color: var(--cc-btn-primary-text);
}

.cc_btn.cc_accept_all:hover {
    background: #FFC700;
    transform: translateY(-2px);
}

.cc_btn.cc_deny {
    background: var(--cc-btn-secondary-bg);
    color: var(--cc-btn-secondary-text);
    border: 2px solid var(--cc-btn-secondary-border);
}

.cc_btn.cc_deny:hover {
    background: rgba(255,255,255,0.1);
}

.cc_btn.cc_settings {
    background: transparent;
    color: var(--cc-btn-primary-bg);
    border: 2px solid var(--cc-btn-primary-bg);
}

.cc_btn.cc_settings:hover {
    background: rgba(255,215,0,0.1);
}

/* Settings Modal */
.cc_settings_modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cc-overlay-bg);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cc_settings_modal.cc--visible {
    display: flex;
}

.cc_modal_content {
    background: #fff;
    color: #000;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.cc_modal_title {
    color: #000;
    font-size: 1.5rem;
    margin: 0 0 20px 0;
}

.cc_category {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.cc_category_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cc_category_title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.cc_toggle {
    position: relative;
    width: 50px;
    height: 26px;
    cursor: pointer;
}

.cc_toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cc_toggle_slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 26px;
    transition: 0.4s;
}

.cc_toggle_slider:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.4s;
}

.cc_toggle input:checked + .cc_toggle_slider {
    background: var(--cc-btn-primary-bg);
}

.cc_toggle input:checked + .cc_toggle_slider:before {
    transform: translateX(24px);
}

.cc_toggle input:disabled + .cc_toggle_slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cc_category_description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.cc_modal_buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.cc_modal_buttons .cc_btn {
    flex: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cc_message {
        flex-direction: column;
        text-align: center;
    }
    
    .cc_buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cc_btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cc_modal_content {
        padding: 20px;
    }
    
    .cc_modal_buttons {
        flex-direction: column;
    }
}
