
.video-wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    visibility: visible !important;
    opacity: 1 !important;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    flex-wrap: wrap;
}

.video-controls.visible {
    opacity: 1;
    pointer-events: auto;
}

.video-controls button,
.video-controls select {
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    padding: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

.video-controls button:hover,
.video-controls select:hover {
    color: #1ab7ea;
}

.video-controls input[type="range"] {
    accent-color: #1ab7ea;
}

.video-controls input.progress {
    flex-grow: 1;
    height: 6px;
    background-color: #fff;
    border-radius: 3px;
    cursor: pointer;
    min-width: 100px;
}

.video-controls label {
    display: flex;
    align-items: center;
    gap: 0.3em;
    font-size: 0.9rem;
    flex-shrink: 0;
    white-space: nowrap;
}
