#fvp-floating-video {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    width: 90px; /* Portrait mode */
    height: 160px;
    cursor: pointer;
    overflow: hidden;
}

#fvp-floating-video video {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

#fvp-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#fvp-video-modal-content {
    position: relative;
    width: 60%; /* Scale the modal to 60% of the screen width */
    height: auto;
    max-height: 90%; /* Prevent the modal from being too tall */
    background-color: #000;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px; /* Rounded corners */
    overflow: hidden;
}

#fvp-video-modal video {
    width: 100%;
    height: auto; /* Scale down the video to fit within the modal while keeping the aspect ratio */
    max-width: 100%; /* Ensure the video does not exceed the modal width */
    max-height: 100%; /* Ensure the video does not exceed the modal height */
    border-radius: 10px; /* Rounded corners for the video */
    object-fit: contain; /* Preserve aspect ratio */
}

#fvp-close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 50px;
    color: #fff; /* Use white color for better visibility */
}

