/* Botón flotante */
#fvb-floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    padding: 15px 25px;
    border-radius: 50px;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

#fvb-floating-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

#fvb-floating-button .fvb-icon {
    font-size: 20px;
}

#fvb-floating-button .fvb-text {
    font-size: 16px;
}

/* Modal */
#fvb-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

#fvb-video-modal.active {
    display: flex;
}

.fvb-modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    animation: fvbFadeIn 0.3s ease;
}

@keyframes fvbFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#fvb-video-container {
    position: relative;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
}

#fvb-video-container iframe,
#fvb-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#fvb-video-container video {
    background: #000;
}

/* Botón cerrar */
.fvb-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.fvb-close:hover {
    transform: rotate(90deg);
    color: #ff6b6b;
}

/* Responsive */
@media (max-width: 768px) {
    #fvb-floating-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    #fvb-floating-button .fvb-icon {
        font-size: 16px;
    }
    
    #fvb-floating-button .fvb-text {
        font-size: 14px;
    }
    
    .fvb-modal-content {
        width: 95%;
    }
    
    .fvb-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }
}

/* Scrollbar personalizada para el modal */
.fvb-modal-content::-webkit-scrollbar {
    width: 8px;
}

.fvb-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.fvb-modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.fvb-modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}