/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2a2a2a;
    border-top: 2px solid #00D9FF;
    padding: 1rem;
    z-index: 1500;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

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

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

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    color: #00D9FF;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0;
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cookie-btn.accept {
    background-color: #00D9FF;
    color: #1a1a1a;
}

.cookie-btn.accept:hover {
    background-color: #00B8CC;
}

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

.cookie-btn.reject:hover {
    background-color: #555555;
    color: #ffffff;
}

.cookie-btn.customize {
    background-color: #3a3a3a;
    color: #00D9FF;
    border: 1px solid #00D9FF;
}

.cookie-btn.customize:hover {
    background-color: #00D9FF;
    color: #1a1a1a;
}

.cookie-btn.save {
    background-color: #00D9FF;
    color: #1a1a1a;
}

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

.cookie-btn.cancel {
    background-color: transparent;
    color: #cccccc;
    border: 1px solid #555555;
}

.cookie-btn.cancel:hover {
    background-color: #555555;
    color: #ffffff;
}

.cookie-link {
    color: #00D9FF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

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

/* Cookie Customization Panel */
.cookie-customization {
    display: none;
    max-width: 1200px;
    margin: 1rem auto 0;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #3a3a3a;
}

.cookie-customization.show {
    display: block;
}

.cookie-customization h4 {
    color: #00D9FF;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

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

.cookie-category {
    background-color: #2a2a2a;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #3a3a3a;
}

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

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

.toggle-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: #555555;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.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: #00D9FF;
}

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

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

.cookie-info {
    flex: 1;
}

.cookie-info strong {
    color: #f5f5f5;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

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

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

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

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