/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-accept {
    background: #2563EB;
    color: white;
}

.cookie-accept:hover {
    background: #1d4ed8;
}

.cookie-reject {
    background: transparent;
    color: #d1d5db;
    border: 1px solid #374151;
}

.cookie-reject:hover {
    background: #374151;
    color: white;
}

.cookie-customize {
    background: #7C3AED;
    color: white;
}

.cookie-customize:hover {
    background: #6d28d9;
}

.cookie-save {
    background: #10b981;
    color: white;
}

.cookie-save:hover {
    background: #059669;
}

.cookie-link {
    color: #93c5fd;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

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

/* Cookie Preferences Panel */
.cookie-preferences {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.cookie-preferences h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.cookie-category {
    margin-bottom: 1rem;
}

.cookie-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.cookie-label:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cookie-label input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

.cookie-label input[type="checkbox"]:disabled {
    opacity: 0.6;
}

.cookie-name {
    font-weight: 600;
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.cookie-description {
    font-size: 0.875rem;
    color: #d1d5db;
    line-height: 1.4;
}

.cookie-preference-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 0 16px;
    }
    
    .cookie-content p {
        text-align: center;
    }
    
    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-preference-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-preference-actions {
        flex-direction: column;
    }
}