/* =========================================================
   VBQQ — Video-Based Qualification Questions
   Shared styles for term_details.html and vbqq_videos.html
   ========================================================= */

.vbqq-thumb-wrap {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.vbqq-thumb-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
}

/* term_details uses a fixed-width layout — override aspect-ratio there */
.vbqq-thumb-wrap.vbqq-inline video {
    width: 100%;
    height: auto;
    aspect-ratio: unset;
    opacity: 0.85;
}

.vbqq-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(33, 191, 115, 0.9);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.2s;
}

.vbqq-thumb-wrap:hover .vbqq-play-btn {
    background: rgba(33, 191, 115, 1);
}

/* Unpublished video — dimmed for owner view */
.vbqq-unpublished {
    opacity: 0.55;
}

.vbqq-unpublished .vbqq-play-btn {
    background: rgba(100, 100, 100, 0.85);
}

/* Modal video player */
#videoPlayerModal .modal-content {
    background: #000;
    border: none;
}

#videoPlayerModal .modal-header {
    border: none;
    padding: 0.5rem 1rem;
}

#modalVideoPlayer {
    width: 100%;
    max-height: 70vh;
    display: block;
    background: #000;
}

/* Info banner — green accent, no Bootstrap blue */
.vbqq-info-banner {
    background: #f0faf6;
    border-left: 4px solid #21bf73;
    border-radius: 6px;
    padding: 10px 16px;
    color: #14274e;
    font-size: 0.88rem;
}
