/* ============================================================
   wpForo Media Vault — player.css
   Dark skin overlay on top of Video.js vjs-default-skin
   ============================================================ */

.wpfa-player-wrap {
    margin: 12px 0;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 4px 24px rgba(0,0,0,.5);
}

/* Video.js container */
.wpfa-player.video-js {
    width: 100%;
    border-radius: 12px 12px 0 0;
    background-color: #000;
}

/* Big play button */
.wpfa-player .vjs-big-play-button {
    border-radius: 50%;
    width: 64px;
    height: 64px;
    line-height: 64px;
    border: 3px solid rgba(255,255,255,.8);
    background: rgba(0,0,0,.5);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    transition: background .2s, transform .15s;
}
.wpfa-player:hover .vjs-big-play-button {
    background: rgba(59,130,246,.75);
    transform: translate(-50%, -50%) scale(1.08);
}
.wpfa-player .vjs-big-play-button .vjs-icon-placeholder::before {
    font-size: 2rem;
    line-height: 60px;
}

/* Progress bar accent */
.wpfa-player .vjs-play-progress,
.wpfa-player .vjs-volume-level {
    background: #3b82f6;
}
.wpfa-player .vjs-play-progress::before {
    color: #3b82f6;
}
.wpfa-player .vjs-load-progress { background: rgba(59,130,246,.25); }

/* Control bar */
.wpfa-player .vjs-control-bar {
    background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
    height: 40px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    border-radius: 0 0 12px 12px;
}

/* Time display */
.wpfa-player .vjs-current-time,
.wpfa-player .vjs-duration,
.wpfa-player .vjs-time-divider {
    display: block;
    font-size: 12px;
    line-height: 40px;
    padding: 0 4px;
    color: rgba(255,255,255,.85);
}

/* PiP button */
.wpfa-player .vjs-picture-in-picture-control { display: block; }

/* ---- Meta bar below the player ---------------------------- */
.wpfa-player-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: #0f172a;
    border-top: 1px solid #1e293b;
    border-radius: 0 0 12px 12px;
}
.wpfa-player-title {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65%;
}
.wpfa-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 11px;
    text-decoration: none;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.wpfa-dl-btn:hover { background: #334155; color: #e2e8f0; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 480px) {
    .wpfa-player .vjs-playback-rate { display: none; }
}
