/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 95, 107, 0.98);
    backdrop-filter: blur(15px);
    color: white;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--secondary-color, #7CB342);
}

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

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

.cookie-text {
    flex: 1;
}

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

.cookie-text p {
    margin: 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

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

.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;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

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

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

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

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

.cookie-btn.customize {
    background: var(--accent-color, #8B7D6B);
    color: white;
}

.cookie-btn.customize:hover {
    background: #6d6b5f;
}

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

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

.cookie-link {
    color: #7CB342;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 0;
}

.cookie-link:hover {
    text-decoration: underline;
    color: #689f33;
}

/* Cookie Customization Panel */
.cookie-customization {
    background: rgba(44, 95, 107, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 0;
}

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

.cookie-options h4 {
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-align: center;
}

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

.cookie-toggle {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    width: 100%;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    width: 50px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
    background: #7CB342;
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(26px);
}

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    background: #7CB342;
    opacity: 0.7;
}

.cookie-info {
    flex: 1;
}

.cookie-info strong {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.cookie-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
}

.cookie-custom-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: left;
        gap: 1.5rem;
        padding: 1.2rem 15px;
    }
    
    .cookie-buttons {
        justify-content: flex-start;
        width: 100%;
    }
    
    .cookie-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        flex: 1;
        text-align: center;
        min-width: 80px;
    }
    
    .cookie-link {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .cookie-toggle {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .toggle-slider {
        align-self: flex-start;
    }
    
    .cookie-custom-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .cookie-custom-buttons .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}