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

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

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

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e2e8f0;
}

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

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: #ff7f39;
    color: white;
}

.cookie-btn.accept:hover {
    background: #e6723a;
    transform: translateY(-1px);
}

.cookie-btn.reject {
    background: transparent;
    color: #9ca3af;
    border: 1px solid #4b5563;
}

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

.cookie-btn.customize {
    background: #4ade80;
    color: #1a1f3a;
}

.cookie-btn.customize:hover {
    background: #22c55e;
    transform: translateY(-1px);
}

.cookie-link {
    color: #4ade80;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

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

/* Cookie Customization Panel */
.cookie-customization {
    background: #2d3748;
    border-top: 1px solid #4b5563;
    padding: 2rem 1.5rem 1.5rem;
    margin: 1.5rem -1.5rem -1.5rem;
}

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

.cookie-custom-content h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cookie-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cookie-category {
    background: #374151;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #4b5563;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cookie-category-header input[type="checkbox"] {
    margin-top: 0.25rem;
    transform: scale(1.2);
    accent-color: #ff7f39;
}

.cookie-category-header label {
    flex: 1;
    cursor: pointer;
    color: white;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cookie-category-header label strong {
    display: block;
    margin-bottom: 0.25rem;
}

.required {
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: normal;
}

.cookie-category p {
    color: #d1d5db;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-custom-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cookie-btn.decline {
    background: transparent;
    color: #9ca3af;
    border: 1px solid #4b5563;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .cookie-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .cookie-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cookie-category {
        padding: 1rem;
    }
    
    .cookie-custom-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-actions {
        width: 100%;
        gap: 0.5rem;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 0;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .cookie-link {
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }
    
    .cookie-customization {
        padding: 1.5rem 1rem 1rem;
        margin: 1rem -1rem -1rem;
    }
    
    .cookie-custom-content h3 {
        font-size: 1.1rem;
    }
}