/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--moss-green);
    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.4s ease;
    max-height: 80vh;
    overflow-y: auto;
}

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

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

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

.cookie-banner-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
}

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

.cookie-banner-text a {
    color: var(--persimmon-orange);
    text-decoration: underline;
}

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

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

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

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

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

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

.cookie-btn-reject:hover {
    background: white;
    color: var(--moss-green);
}

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

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

.cookie-btn-save {
    background: var(--persimmon-orange);
    color: white;
}

.cookie-btn-save:hover {
    background: #e55a2b;
}

/* Cookie Customization Panel */
.cookie-customization {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #5a6d2a;
}

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

.cookie-category {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
}

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

.cookie-category-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    accent-color: var(--persimmon-orange);
}

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

.cookie-category-name {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.cookie-category-desc {
    font-size: 0.85rem;
    color: #d0d0d0;
    line-height: 1.4;
    margin-left: 1.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cookie-banner-text {
        min-width: auto;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 80px;
    }
    
    .cookie-categories {
        grid-template-columns: 1fr;
    }
    
    .cookie-customization-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-customization-actions {
        flex-direction: column;
    }
    
    .cookie-customization-actions .cookie-btn {
        width: 100%;
    }
}