.hls-player-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}

/* Player vidéo */
.hls-player-wrapper .video-js {
    width: 100%;
    height: 100%;
}

/* Formulaire mot de passe */
.hls-password-form {
    width: 100%;
    aspect-ratio: 16/9;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hls-password-inner {
    text-align: center;
    color: #fff;
    padding: 30px;
    max-width: 300px;
    width: 100%;
}

.hls-lock-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.hls-password-inner p {
    margin-bottom: 16px;
    color: #ccc;
    font-size: 14px;
}

.hls-pass-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #2a2a3e;
    color: #fff;
    font-size: 15px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.hls-pass-input::placeholder { color: #888; }
.hls-pass-input:focus { outline: none; border-color: #4a90d9; }

.hls-pass-btn {
    width: 100%;
    padding: 10px;
    background: #4a90d9;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.hls-pass-btn:hover { background: #357abd; }

.hls-pass-error {
    margin-top: 10px;
    color: #ff6b6b;
    font-size: 13px;
    min-height: 20px;
}

/* Contrôles Video.js */
.hls-player-wrapper .vjs-control-bar,
.hls-player-wrapper .video-js .vjs-control-bar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    background: rgba(0,0,0,0.7) !important;
}

.no-poster {
    background: #1a1a2e;
    color: #fff;
    font-size: 2.5rem;
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hls-player-error {
    color: #f66;
    font-size: 14px;
    padding: 8px;
    text-align: center;
}
