.oma-video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.oma-video-container video {
    width: 100%;
    height: auto;
    display: block;
}

#oma-video-state-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 24px;
    pointer-events: none;
    opacity: 0;
}

#oma-video-state-icon svg {
    width: 40px;
    height: 40px;
    fill: #ffffff;
    display: block;
}

#oma-video-state-icon.oma-animate-icon {
    animation: popAndFade 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

#oma-video-state-icon.oma-visible-paused {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

@keyframes popAndFade {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    30%  { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); }
}

.oma-video-controls {
    display: flex;
    gap: 10px;
    position: absolute;
    right: 20px;
    bottom: 20px;
}
.oma-volume-control, .oma-fullscreen-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 24px;
    padding: 6px 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    color: white;
    border: none;
}

.oma-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

#oma-video-container:fullscreen {
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

#oma-video-container:fullscreen video {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

#oma-mute-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

#oma-mute-toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

#oma-volume-slider {
    width: 80px;
    margin-left: 8px;
    cursor: pointer;
    transition: width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    accent-color: #ffffff;
    padding: 0;
}

.oma-hidden {
    display: none !important;
}

.oma-slider-hidden {
    width: 0 !important;
    opacity: 0 !important;
    margin-left: 0 !important;
    pointer-events: none;
}

.oma-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 20;
    margin: 0;
}

.oma-progress-hit-area {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    cursor: pointer;
    z-index: 21;
}

.oma-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffe0787a;
    transition: height 0.2s ease-out;
    pointer-events: none;
    box-shadow: 0px -8px 10px rgb(0 0 0 / 30%);
}

.oma-progress-fill {
    height: 100%;
    width: 0%;
    background-color: #ffe17e;
    pointer-events: none;
}

.oma-progress-tooltip {
    position: absolute;
    bottom: 25px;
    left: 0;
    background-color: #000000;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: bold;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    z-index: 22;
}

.oma-progress-container.is-dragging .oma-progress-track {
    height: 8px;
}

.oma-progress-container.is-dragging .oma-progress-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.oma-video-main {
    width: auto;
    aspect-ratio: 16 / 9;
    height: auto;
    align-self: center;
    max-width: 100%;
    max-height: 60vh;
}
