/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.cookie-consent-overlay.show {
    opacity: 1;
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.cookie-consent-content {
    max-width: 800px;
    margin: 0 auto;
}

.cookie-consent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cookie-consent-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.cookie-consent-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    color: #6b7280;
    transition: all 0.2s ease;
}

.cookie-consent-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.cookie-consent-body {
    margin-bottom: 24px;
}

.cookie-consent-description {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 0 20px 0;
}

.cookie-consent-link {
    color: #3b82f6;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-consent-link:hover {
    color: #1d4ed8;
}

.cookie-consent-details {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

.cookie-consent-category {
    margin-bottom: 20px;
}

.cookie-consent-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    margin-bottom: 8px;
}

.cookie-category-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
}

.cookie-category-toggle input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

.cookie-category-toggle input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-category-name {
    font-size: 1rem;
}

.cookie-category-description {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6b7280;
    margin: 0;
    padding-left: 30px;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    min-width: 120px;
}

.cookie-consent-btn-primary {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.cookie-consent-btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
}

.cookie-consent-btn-secondary {
    background: white;
    color: #374151;
    border-color: #d1d5db;
}

.cookie-consent-btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-container {
        padding: 16px;
    }
    
    .cookie-consent-header {
        margin-bottom: 12px;
    }
    
    .cookie-consent-title {
        font-size: 1.125rem;
    }
    
    .cookie-consent-description {
        font-size: 0.875rem;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-consent-btn {
        width: 100%;
        min-width: auto;
    }
    
    .cookie-consent-details {
        padding: 16px;
    }
    
    .cookie-category-description {
        padding-left: 0;
        margin-top: 8px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .cookie-consent-banner {
        background: rgba(17, 24, 39, 0.98);
        border-top-color: #374151;
    }
    
    .cookie-consent-title {
        color: #f9fafb;
    }
    
    .cookie-consent-description {
        color: #d1d5db;
    }
    
    .cookie-consent-close {
        color: #9ca3af;
    }
    
    .cookie-consent-close:hover {
        background: #374151;
        color: #f3f4f6;
    }
    
    .cookie-consent-details {
        background: #1f2937;
        border-color: #374151;
    }
    
    .cookie-category-toggle {
        color: #f3f4f6;
    }
    
    .cookie-category-description {
        color: #9ca3af;
    }
    
    .cookie-consent-btn-secondary {
        background: #374151;
        color: #f3f4f6;
        border-color: #4b5563;
    }
    
    .cookie-consent-btn-secondary:hover {
        background: #4b5563;
        border-color: #6b7280;
    }
}
