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

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

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

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

.cookie-text a {
    color: #39FF14;
    text-decoration: none;
    font-weight: 600;
    font-weight: 600;
}

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

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

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
    min-width: 100px;
    font-size: 0.95rem;
    white-space: nowrap;
    min-width: 100px;
}

.cookie-btn.accept {
    background: #39FF14;
    color: #2C2C2C;
    box-shadow: 0 2px 8px rgba(57, 255, 20, 0.3);
    box-shadow: 0 2px 8px rgba(57, 255, 20, 0.3);
}

.cookie-btn.accept:hover {
    background: #32E612;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 255, 20, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 255, 20, 0.4);
}

.cookie-btn.reject {
    background: #ff4757;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.cookie-btn.reject:hover {
    background: #ff3742;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.cookie-btn.customize {
    background: transparent;
    color: white;
    border: 2px solid #0066FF;
}

.cookie-btn.customize:hover {
    background: #0066FF;
    transform: translateY(-2px);
    transform: translateY(-2px);
}

.cookie-btn.decline {
    background: #6c757d;
    color: white;
}

.cookie-btn.decline:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.cookie-btn.decline {
    background: #6c757d;
    color: white;
}

.cookie-btn.decline:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Cookie Customization Panel */
.cookie-customization {
    background: #f8f9fa;
    color: #2C2C2C;
    padding: 2rem;
    border-top: 1px solid #ddd;
    max-height: 400px;
    overflow-y: auto;
    max-height: 400px;
    overflow-y: auto;
}

.cookie-customization h3 {
    margin: 0 0 1.5rem 0;
    color: #0066FF;
    font-size: 1.3rem;
    text-align: center;
    font-size: 1.3rem;
    text-align: center;
}

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

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

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-category-info h4 {
    margin: 0 0 0.5rem 0;
    color: #2C2C2C;
    font-size: 1rem;
    font-size: 1rem;
}

.cookie-category-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #39FF14;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: #0066FF;
    cursor: not-allowed;
}

input:disabled + .slider {
    background-color: #0066FF;
    cursor: not-allowed;
}

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

/* Responsive design for cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
        gap: 0.5rem;
    }
    
    .cookie-btn {
        min-width: 90px;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .cookie-customization {
        padding: 1.5rem;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .cookie-custom-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
    }
    
    .cookie-btn {
        min-width: 90px;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .cookie-customization {
        padding: 1.5rem;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .cookie-custom-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem 0;
    }
    
    .cookie-content {
        padding: 0 15px;
        gap: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-banner {
        padding: 1rem 0;
    }
    
    .cookie-content {
        padding: 0 15px;
        gap: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-btn {
        min-width: 80px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .cookie-customization {
        padding: 1rem;
        max-height: 300px;
    }
    
    .cookie-customization h3 {
        font-size: 1.1rem;
    }
    
    .cookie-btn {
        min-width: 80px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .cookie-customization {
        padding: 1rem;
        max-height: 300px;
    }
    
    .cookie-customization h3 {
        font-size: 1.1rem;
    }
}