/* VTO Popup Styles */
.vto-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vto-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.vto-popup-container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.vto-popup-overlay.active .vto-popup-container {
    transform: scale(1);
}

.vto-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 4px 10px 7px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.vto-close-btn:hover {
    background: #cc0000;
}

#my-fitmix-container {
    width: 660px;
    height: 560px;
    max-width: 100%;
    max-height: calc(90vh - 60px);
}

@media (max-width: 768px) {
    #my-fitmix-container {
        width: 100%;
        height: 400px;
    }
    
    .vto-popup-container {
        padding: 15px;
    }
}
