/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    border-top: 2px solid #0066FF;
    padding: 1.5rem 0;
    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;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    color: #e0e0e0;
    margin: 0;
    line-height: 1.5;
}

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

.cookie-text a:hover {
    text-shadow: 0 0 10px rgba(0, 255, 127, 0.5);
}

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

.cookie-btn {
    padding: 10px 20px;
    border: 2px solid;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.9rem;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #00FF7F, #00CC66);
    color: #1a1a1a;
    border-color: #00FF7F;
}

.cookie-btn.accept:hover {
    background: linear-gradient(135deg, #00CC66, #009952);
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.4);
}

.cookie-btn.reject {
    background: transparent;
    color: #0066FF;
    border-color: #0066FF;
}

.cookie-btn.reject:hover {
    background: #0066FF;
    color: white;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

.cookie-btn.customize {
    background: transparent;
    color: #00FF7F;
    border-color: #00FF7F;
}

.cookie-btn.customize:hover {
    background: rgba(0, 255, 127, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.2);
}

.cookie-btn.secondary {
    background: transparent;
    color: #ccc;
    border-color: #666;
}

.cookie-btn.secondary:hover {
    background: #666;
    color: white;
}

/* Cookie Customization Panel */
.cookie-customization {
    background: rgba(26, 26, 26, 0.98);
    border-top: 1px solid rgba(0, 255, 127, 0.3);
    padding: 2rem 0;
}

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

.cookie-custom-content h3 {
    color: #00FF7F;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.cookie-category {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    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: #666;
    transition: 0.3s;
    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%;
}

input:checked + .slider {
    background-color: #00FF7F;
}

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

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

.cookie-info h4 {
    color: #0066FF;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

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

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

/* Responsive design for cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-categories {
        grid-template-columns: 1fr;
    }
    
    .cookie-custom-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem 0;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        max-width: none;
    }
    
    .cookie-customization {
        padding: 1.5rem 0;
    }
}