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

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 1.5rem;
}

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

.cookie-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

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

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

.cookie-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    min-width: 80px;
}

.cookie-btn.accept {
    background: var(--accent-color);
    color: white;
}

.cookie-btn.accept:hover {
    background: #d4441f;
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn.decline:hover {
    background: rgba(255,255,255,0.1);
}

.cookie-btn.customize {
    background: var(--secondary-color);
    color: white;
}

.cookie-btn.customize:hover {
    background: #236b47;
}

/* Cookie Customization Panel */
.cookie-customization {
    background: white;
    border-top: 2px solid var(--accent-color);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 8px 8px 0 0;
}

.cookie-custom-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cookie-categories {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-category {
    padding: 1rem;
    background: var(--background-color);
    border-radius: 6px;
    border-left: 3px solid var(--accent-color);
}

.cookie-label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: start;
    cursor: pointer;
}

.cookie-label input[type="checkbox"] {
    margin-top: 2px;
}

.cookie-name {
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.3rem;
}

.cookie-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
}

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

/* Responsive design for cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.2rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        min-width: 90px;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .cookie-categories {
        gap: 0.8rem;
    }
    
    .cookie-custom-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}