/* Cookie Consent Banner Styles - Dark Theme */

.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-consent-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1e1e1e;
    border-top: 1px solid #333;
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-consent-header i {
    font-size: 24px;
    color: #4dabf7;
}

.cookie-consent-header h4 {
    margin: 0;
    color: #e0e0e0;
    font-size: 18px;
    font-weight: 600;
}

.cookie-consent-text {
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-consent-text a {
    color: #4dabf7;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #74c0fc;
}

/* Cookie Categories */
.cookie-categories {
    display: none;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #252525;
    border-radius: 8px;
    border: 1px solid #333;
}

.cookie-categories.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.cookie-category {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #333;
}

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

.cookie-category input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #4dabf7;
    cursor: pointer;
}

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

.cookie-category-info {
    flex: 1;
}

.cookie-category-info label {
    display: block;
    color: #e0e0e0;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 4px;
}

.cookie-category-info label.required {
    cursor: default;
}

.cookie-category-info label.required::after {
    content: " (erforderlich)";
    color: #a0a0a0;
    font-weight: 400;
    font-size: 12px;
}

.cookie-category-info p {
    color: #888;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* Buttons */
.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #4dabf7, #339af0);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #339af0, #228be6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 171, 247, 0.3);
}

.cookie-btn-reject {
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #444;
}

.cookie-btn-reject:hover {
    background-color: #444;
    border-color: #555;
}

.cookie-btn-settings {
    background-color: transparent;
    color: #4dabf7;
    border: 1px solid #4dabf7;
}

.cookie-btn-settings:hover {
    background-color: rgba(77, 171, 247, 0.1);
}

.cookie-btn-save {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
}

.cookie-btn-save:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Cookie Settings Link in Footer */
.cookie-settings-link {
    cursor: pointer;
    color: #a0a0a0 !important;
    transition: color 0.3s ease;
}

.cookie-settings-link:hover {
    color: #4dabf7 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 15px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-consent-header h4 {
        font-size: 16px;
    }
    
    .cookie-consent-text {
        font-size: 13px;
    }
}
