/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 55, 72, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

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

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

.cookie-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: white;
}

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

.cookie-text a {
    color: #68D391;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #9AE6B4;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-accept,
.cookie-reject,
.cookie-customize {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-accept {
    background: #38A169;
    color: white;
}

.cookie-accept:hover {
    background: #2F855A;
}

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

.cookie-reject:hover {
    background: #C53030;
}

.cookie-customize {
    background: transparent;
    color: #CBD5E0;
    border: 1px solid #4A5568;
}

.cookie-customize:hover {
    background: #4A5568;
    color: white;
}

/* Cookie Customization Panel */
.cookie-customization {
    background: white;
    color: #2D3748;
    border-top: 1px solid #E2E8F0;
    padding: 2rem 0;
}

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

.cookie-custom-content h4 {
    margin: 0 0 1.5rem 0;
    font-size: 1.2rem;
    color: #2D3748;
}

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

.cookie-category {
    background: #F7FAFC;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

.cookie-label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-label input[type="checkbox"] {
    margin-right: 0.5rem;
}

.cookie-name {
    font-weight: 600;
    color: #2D3748;
    font-size: 1rem;
}

.cookie-desc {
    font-size: 0.9rem;
    color: #4A5568;
    line-height: 1.4;
}

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

.cookie-save,
.cookie-cancel {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-save {
    background: #38A169;
    color: white;
}

.cookie-save:hover {
    background: #2F855A;
}

.cookie-cancel {
    background: #E2E8F0;
    color: #4A5568;
}

.cookie-cancel:hover {
    background: #CBD5E0;
}

/* Responsive design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-accept,
    .cookie-reject,
    .cookie-customize {
        flex: 1;
        min-width: 100px;
    }
    
    .cookie-categories {
        grid-template-columns: 1fr;
    }
    
    .cookie-custom-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-save,
    .cookie-cancel {
        width: 200px;
    }
}