/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #8DB596 0%, #7ca085 100%);
    color: white;
    padding: 1.5rem 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

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

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

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

.cookie-banner-text a {
    color: #FFB5A7;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #ff9f8f;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
}

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

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

.cookie-btn.accept:hover {
    background: #ff9f8f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 181, 167, 0.3);
}

.cookie-btn.reject {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
}

.cookie-btn.reject:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-2px);
}

.cookie-btn.customize {
    background: rgba(255,255,255,0.15);
    color: #8DB596;
    border: 2px solid rgba(255,255,255,0.3);
}

.cookie-btn.customize:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Cookie Customization Panel */
.cookie-customization {
    background: rgba(255,255,255,0.95);
    color: #333;
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
}

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

.cookie-category {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

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

.cookie-category-label input[type="checkbox"] {
    align-self: flex-start;
    margin-bottom: 0.5rem;
}

.cookie-category-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.cookie-category-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
}

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

.cookie-btn.save {
    background: #8DB596;
    color: white;
}

.cookie-btn.save:hover {
    background: #7ca085;
    transform: translateY(-2px);
}

.cookie-btn.cancel {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.cookie-btn.cancel:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem 0;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
    }
    
    .cookie-banner-text {
        min-width: auto;
    }
    
    .cookie-banner-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 70px;
        padding: 0.7rem 1rem;
    }
    
    .cookie-categories {
        grid-template-columns: 1fr;
    }
    
    .cookie-customization-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-customization-buttons .cookie-btn {
        width: 100%;
    }
}