.pvm-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    line-height: 0;
    margin: 0 auto;
}

.pvm-frame {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    pointer-events: none;
    user-select: none;
    position: relative;
    z-index: 1;
}

/* Screen area - percentage based, isliye har device par proportionally theek rehta hai */
.pvm-screen {
    position: absolute;
    top: 11%;
    left: 31%;
    right: 31%;
    bottom: 11%;
    overflow: hidden;
    border-radius: 28px;
    background: #000;
}

.pvm-video-holder,
.pvm-admin-warning.pvm-inside {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pvm-thumb {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
}

.pvm-thumb-empty {
    width: 100%;
    height: 100%;
    background: #111;
}

.pvm-video-holder {
    cursor: pointer;
}

.pvm-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.pvm-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(0, 0, 0, 0.7);
}

.pvm-video-holder iframe,
.pvm-video-holder video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    border: 0 !important;
    display: block !important;
    object-fit: cover !important;
    margin: 0 !important;
}

.pvm-wrapper,
.pvm-screen,
.pvm-video-holder {
    z-index: 2;
}

.pvm-admin-warning {
    padding: 20px;
    text-align: center;
    background: #fff3cd;
    color: #856404;
    font-size: 14px;
    border-radius: 8px;
}

.pvm-admin-warning.pvm-inside {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
}
