/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2B2B2B;
    border-top: 2px solid #00FF41;
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-banner-text {
    flex: 1;
    color: #E5E7EB;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #00FF41;
    text-decoration: none;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cookie-btn-accept {
    background-color: #00FF41;
    color: #1A1A1A;
}

.cookie-btn-accept:hover {
    background-color: #00E63A;
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background-color: transparent;
    color: #B3B3B3;
    border: 1px solid #3A3A3A;
}

.cookie-btn-decline:hover {
    background-color: #3A3A3A;
    color: #FFFFFF;
}

.cookie-btn-customize {
    background-color: #2B2B2B;
    color: #00FF41;
    border: 1px solid #00FF41;
}

.cookie-btn-customize:hover {
    background-color: #00FF41;
    color: #2B2B2B;
}

.cookie-btn-save {
    background-color: #00FF41;
    color: #1A1A1A;
}

.cookie-btn-save:hover {
    background-color: #00E63A;
}

.cookie-btn-back {
    background-color: transparent;
    color: #B3B3B3;
    border: 1px solid #3A3A3A;
}

.cookie-btn-back:hover {
    background-color: #3A3A3A;
    color: #FFFFFF;
}

/* Cookie Preferences Panel */
.cookie-preferences {
    padding: 1.5rem 0;
    border-top: 1px solid #3A3A3A;
    margin-top: 1rem;
}

.cookie-preferences-content h3 {
    color: #00FF41;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #3A3A3A;
}

.cookie-category:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.cookie-category-header {
    margin-bottom: 0.5rem;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 0.75rem;
}

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

.toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: #3A3A3A;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

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

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

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

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    background-color: #00FF41;
    opacity: 0.6;
}

.toggle-label {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.95rem;
}

.cookie-category-desc {
    color: #B3B3B3;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    padding-left: 3.25rem;
}

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

/* Responsive design for cookie banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
    
    .cookie-preferences-actions {
        justify-content: center;
    }
    
    .cookie-category-desc {
        padding-left: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-btn {
        width: 100%;
        max-width: none;
    }
    
    .cookie-preferences-actions {
        flex-direction: column;
    }
}