/* DSGVO Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-surface, #ffffff);
    border-top: 1px solid var(--color-card-border, #e0e0e0);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    animation: slideUp 0.3s ease-out;
}

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

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: var(--color-text, #333);
}

.cookie-banner-text p {
    margin: 0 0 12px 0;
    color: var(--color-text-secondary, #666);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-link {
    color: var(--color-primary, #1e3a5f);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-banner-options {
    margin: 16px 0;
    padding: 16px;
    background: var(--color-background, #f9f9f9);
    border-radius: 8px;
}

.cookie-category {
    margin-bottom: 12px;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--color-text, #333);
}

.cookie-category input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.cookie-category input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-category small {
    display: block;
    margin-left: 28px;
    color: var(--color-text-secondary, #999);
    font-size: 0.85rem;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.cookie-banner-buttons button {
    flex: 1;
    min-width: 120px;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--color-primary, #1e3a5f);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark, #152a45);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary, #1e3a5f);
    border: 1px solid var(--color-primary, #1e3a5f);
}

.btn-secondary:hover {
    background: var(--color-primary, #1e3a5f);
    color: white;
}

.btn-tertiary {
    background: transparent;
    color: var(--color-text-secondary, #666);
    border: 1px solid var(--color-text-secondary, #ccc);
}

.btn-tertiary:hover {
    border-color: var(--color-text, #333);
    color: var(--color-text, #333);
}

/* Responsive */
@media (max-width: 768px) {
    #cookie-banner {
        padding: 16px;
    }

    .cookie-banner-buttons {
        flex-direction: column;
    }

    .cookie-banner-buttons button {
        width: 100%;
    }
}

@media (prefers-color-scheme: dark) {
    #cookie-banner {
        background: var(--color-surface, #1a1a1a);
        border-top-color: var(--color-card-border, #333);
    }

    .cookie-banner-text p,
    .cookie-category small {
        color: var(--color-text-secondary, #aaa);
    }
}
