.vaya-floating-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 320px;
    min-width: 200px;
    max-width: 80vw;
    height: auto;
    aspect-ratio: 16 / 9;
    z-index: 99999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    resize: both;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: grab;
}

.vaya-floating-widget:active {
    cursor: grabbing;
}

.vaya-floating-widget video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.vaya-fw-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    display: flex;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.vaya-floating-widget:hover .vaya-fw-controls {
    opacity: 1;
}

.vaya-fw-close {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    padding: 0 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.vaya-fw-close:hover {
    background: rgba(255, 0, 0, 0.8);
}

.vaya-fw-resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    cursor: nwse-resize;
    z-index: 10;
}

.vaya-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    backdrop-filter: blur(5px);
}

.vaya-overlay-buttons {
    display: flex;
    gap: 30px;
}

.vaya-btn-overlay {
    background: transparent;
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 30px;
    transition: all 0.2s ease;
    min-width: 140px;
}

.vaya-btn-overlay:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.vaya-btn-overlay svg {
    width: 32px;
    height: 32px;
}

.vaya-btn-overlay.primary {
    background: #2C7EEA;
    border-color: #2C7EEA;
}

.vaya-btn-overlay.primary:hover {
    background: #1a6ad4;
}