.pmv-player-widget-b556c2be {
    font-family: sans-serif;
    color: #fff;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.pmv-player-layout {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .pmv-player-layout {
        flex-direction: row;
    }
    .pmv-player-main {
        flex: 1;
        min-width: 0;
    }
}

.pmv-player-container {
    position: relative;
    width: 100%;
    background: #000;
}

.pmv-video {
    width: 100%;
    display: block;
}

.pmv-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: center;
    padding: 15px 10px 10px;
    box-sizing: border-box;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.pmv-player-container:hover .pmv-controls {
    opacity: 1;
}

.pmv-control-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.pmv-control-btn svg {
    width: 24px;
    height: 24px;
}

.pmv-control-btn:hover {
    color: #e50914;
}

.pmv-timeline {
    position: relative;
    background: rgba(255,255,255,0.2);
    height: 5px;
    cursor: pointer;
    overflow: hidden;
}

.pmv-buffered {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: rgba(255,255,255,0.35);
    z-index: 1;
}

.pmv-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #fff; /* or your accent color */
    z-index: 2;
}

.pmv-timeline {
    flex-grow: 1;
    height: 6px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    position: relative;
    border-radius: 3px;
    transition: height 0.1s;
}
.pmv-timeline:hover {
    height: 8px;
}

.pmv-progress {
    height: 100%;
    background: #e50914;
    width: 0%;
    border-radius: 3px;
    position: relative;
}
.pmv-progress::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #e50914;
    border-radius: 50%;
    opacity: 0;
}
.pmv-timeline:hover .pmv-progress::after {
    opacity: 1;
}

.pmv-time {
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pmv-volume-container {
    display: flex;
    align-items: center;
    gap: 5px;
}
.pmv-volume-slider {
    width: 60px;
    cursor: pointer;
    accent-color: #e50914;
}

.pmv-video-details {
    padding: 20px;
}

.pmv-title-row {
    margin-bottom: 15px;
}

.pmv-title {
    margin: 0;
    font-size: 1.5em;
    color: white;
}

.pmv-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.pmv-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #bbb;
}

.pmv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}
.pmv-download-btn:hover {
    background: #444;
    color: white;
}
.pmv-download-btn svg {
    width: 18px;
    height: 18px;
}

/* Playlist Sidebar */
.pmv-playlist-sidebar {
    width: 100%;
    background: #222;
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .pmv-playlist-sidebar {
        width: 320px;
        flex-shrink: 0;
        border-left: 1px solid #333;
    }
}

.pmv-playlist-scroll-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 500px;
}

.pmv-playlist-header {
    margin: 0;
    padding: 15px 20px;
    font-size: 1.1em;
    border-bottom: 1px solid #333;
    flex-shrink: 0;
}

.pmv-playlist-items {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    flex-grow: 1;
}

/* Custom scrollbar for playlist */
.pmv-playlist-items::-webkit-scrollbar {
    width: 6px;
}
.pmv-playlist-items::-webkit-scrollbar-track {
    background: #1a1a1a;
}
.pmv-playlist-items::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}
.pmv-playlist-items::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.pmv-playlist-item {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #2a2a2a;
}
.pmv-playlist-item:hover, .pmv-playlist-item.active {
    background: #333;
}

.pmv-playlist-thumb {
    width: 100px;
    height: 56px;
    background-color: #000;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pmv-thumb-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.pmv-fullscreen {
	width: 100%;
  	height: 100%;
	object-fit: contain;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.pmv-playlist-play-icon {
    width: 24px;
    height: 24px;
    color: white;
    opacity: 0.8;
    z-index: 2;
    position: relative;
}

.pmv-playlist-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.pmv-playlist-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pmv-playlist-duration {
    font-size: 12px;
    color: #aaa;
}