﻿/* ===== CLASES PROPIAS (scoped) ===== */
.lg-video-modal .modal-content {
    background: rgba(20,20,26,.45);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
    overflow: hidden;
}

.lg-video-modal .lgm-header {
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: .5rem .75rem; /* header más bajo */
    min-height: 0;
}

.lg-video-modal .lgm-title {
    font-weight: 600;
    font-size: .95rem;
    margin: 0;
    line-height: 1.2;
}

.lg-video-modal .lgm-body {
    padding: .75rem;
}

.lg-video-modal .lgm-item-title {
    font-size: .9rem;
    font-weight: 600;
    opacity: .95;
    margin: 0 0 .5rem 0;
}

.lg-video-modal .lgm-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
}

    .lg-video-modal .lgm-video-wrap iframe,
    .lg-video-modal .lgm-video-wrap video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* Controles abajo (no encima del video) */
.lg-video-modal .lgm-controls {
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    align-items: center;
    padding-top: .65rem;
}

.lg-video-modal .lgm-ctrl-btn {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: #fff;
    border-radius: 12px;
    padding: .45rem .7rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

    .lg-video-modal .lgm-ctrl-btn:hover {
        background: rgba(255,255,255,.10);
    }

.lg-video-modal .lgm-count {
    font-size: .85rem;
    opacity: .8;
}
