/* Cookie Consent Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #141414;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-text h4 {
    color: #e6e6e6;
    font-size: 1rem;
    margin-bottom: 8px;
}

.cookie-text p {
    color: #9a9a9a;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.cookie-btn-accept {
    background: #f44444;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #ff5555;
}

.cookie-btn-reject {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #9a9a9a;
}

.cookie-btn-reject:hover {
    border-color: rgba(255,255,255,0.4);
    color: #e6e6e6;
}

.cookie-btn-settings {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #9a9a9a;
}

.cookie-btn-settings:hover {
    border-color: #f44444;
    color: #f44444;
}

/* Cookie Modal */
#cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#cookie-modal.visible {
    opacity: 1;
}

.cookie-modal-content {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    color: #e6e6e6;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #0a0a0a;
    border-radius: 8px;
    margin-bottom: 12px;
}

.cookie-option-info h4 {
    color: #e6e6e6;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cookie-option-info p {
    color: #7a7a7a;
    font-size: 0.8rem;
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

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

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

.cookie-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.cookie-toggle input:checked + .cookie-slider {
    background: #f44444;
}

.cookie-toggle input:checked + .cookie-slider::before {
    transform: translateX(24px);
}

.cookie-toggle.disabled {
    opacity: 0.6;
}

.cookie-toggle.disabled .cookie-slider {
    cursor: not-allowed;
}

.cookie-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}
