/* ==========================================================================
   Podcast & Video Manager - Premium Frontend CSS Stylesheet
   Theme Colors: Primary (#e3120b), Dark Glassmorphism, Font: El Messiri
   ========================================================================== */

/* Font family & variables */
.pvm-wrapper {
    font-family: 'El Messiri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
    --primary: #e3120b;
    --primary-glow: rgba(227, 18, 11, 0.45);
    --primary-light: rgba(227, 18, 11, 0.15);
    --glass-bg: rgba(20, 20, 22, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #a0a0ab;
    --card-bg: #18181b;
}

.pvm-wrapper *, .pvm-wrapper *::before, .pvm-wrapper *::after {
    box-sizing: inherit;
}

/* ==========================================================================
   1. Podcast Player Component (Redesigned v2 - Al-Mal Style)
   ========================================================================== */
.pvm-podcast-player-v2 {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 25px;
    color: var(--text-main);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* Horizontal Top Navigation Tabs */
.pvm-podcast-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 25px;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.pvm-podcast-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.pvm-podcast-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: 'El Messiri', sans-serif !important;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 10px;
    position: relative;
    outline: none;
    white-space: nowrap;
}

.pvm-podcast-tab:hover {
    color: #fff;
}

.pvm-podcast-tab.active {
    color: #fff;
}

.pvm-podcast-tab.active::after {
    content: '';
    position: absolute;
    bottom: -14px; /* Align precisely over the border */
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary-glow);
}

/* Two-Column Grid Area */
.pvm-podcast-grid-v2 {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
}

@media (max-width: 991px) {
    .pvm-podcast-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* Left Column: Main Player Stage */
.pvm-podcast-main-stage {
    display: flex;
    flex-direction: column;
}

.pvm-podcast-media-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pvm-podcast-media-wrapper .pvm-cover-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.pvm-podcast-media-wrapper .pvm-cover-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Central Play Overlay */
.pvm-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 3;
    transition: background 0.3s ease;
}

.pvm-podcast-player-v2.playing .pvm-play-overlay {
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
}

.pvm-podcast-player-v2:hover .pvm-play-overlay {
    opacity: 1;
    pointer-events: auto;
}

.pvm-btn-play-overlay {
    background: var(--primary);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px var(--primary-glow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
}

.pvm-btn-play-overlay:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(227, 18, 11, 0.7);
}

.pvm-btn-play-overlay svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    margin-right: -2px; /* Center alignment adjustment */
}

/* Glassmorphic Audio Controls Bar */
.pvm-audio-bar-v2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 17, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 20px;
    z-index: 10;
    transition: transform 0.3s ease;
}

.pvm-podcast-player-v2.playing .pvm-audio-bar-v2 {
    transform: translateY(100%);
}

.pvm-podcast-player-v2.playing:hover .pvm-audio-bar-v2 {
    transform: translateY(0);
}

.pvm-bar-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pvm-btn-play-v2 {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
    padding: 5px;
}

.pvm-btn-play-v2:hover {
    color: var(--primary);
}

.pvm-btn-play-v2 svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.pvm-bar-extra {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto; /* Push controls left in RTL */
}

/* Metadata below the video box */
.pvm-podcast-active-meta {
    margin-top: 20px;
}

.pvm-podcast-active-meta h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
    color: #fff;
}

.pvm-podcast-active-meta p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Right Column: Scrollable Playlist Sidebar (Single Column) */
.pvm-podcast-sidebar-list {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    max-height: 450px;
}

@media (max-width: 991px) {
    .pvm-podcast-sidebar-list {
        max-height: 350px;
        margin-top: 20px;
    }
}

.pvm-playlist-side-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.1);
}

.pvm-playlist-side-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.pvm-podcast-scroll-list {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

/* Track item redesigned */
.pvm-track-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    margin-bottom: 10px;
}

.pvm-track-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-4px);
}

.pvm-track-item.active {
    background: var(--primary-light);
    border-color: var(--primary-glow);
}

.pvm-track-thumb {
    width: 85px;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #09090b;
}

.pvm-track-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pvm-track-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.pvm-track-title {
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.pvm-track-item.active .pvm-track-title {
    color: var(--primary);
}

.pvm-track-meta {
    display: flex;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.pvm-track-item.active .pvm-track-meta {
    color: rgba(255, 255, 255, 0.6);
}


/* ==========================================================================
   2. Video Player Component
   ========================================================================== */
.pvm-video-player {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    margin-bottom: 40px;
    color: var(--text-main);
}

.pvm-video-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
}

@media (max-width: 991px) {
    .pvm-video-inner {
        grid-template-columns: 1fr;
    }
}

/* Video Stage Area */
.pvm-video-stage {
    position: relative;
    background: #000;
}

.pvm-video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.pvm-video-responsive-wrapper video,
.pvm-video-responsive-wrapper iframe,
.pvm-video-responsive-wrapper object,
.pvm-video-responsive-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pvm-video-meta-area {
    padding: 20px;
    background: rgba(255, 255, 255, 0.01);
}

.pvm-video-active-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.pvm-video-active-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Video Playlist Sidebar */
.pvm-video-sidebar {
    background: rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    max-height: 480px; /* Limits size to align with video */
}

@media (max-width: 991px) {
    .pvm-video-sidebar {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        max-height: 300px;
    }
}

.pvm-playlist-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.1);
}

.pvm-playlist-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pvm-playlist-header span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pvm-video-playlist {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.pvm-video-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid transparent;
    margin-bottom: 10px;
}

.pvm-video-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: scale(1.02);
}

.pvm-video-item.active {
    background: var(--primary-light);
    border-color: var(--primary-glow);
}

.pvm-video-thumb {
    width: 90px;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background: #09090b;
    flex-shrink: 0;
}

.pvm-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pvm-video-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pvm-video-item-title {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.pvm-video-item.active .pvm-video-item-title {
    color: var(--primary);
}

.pvm-video-item-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}


/* ==========================================================================
   3. Programs Grid Listing (Podcasts & Videos pages)
   ========================================================================== */
.pvm-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pvm-program-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pvm-program-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.pvm-program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
}

.pvm-program-card:hover::after {
    border-color: var(--primary);
}

.pvm-card-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #09090b;
}

/* Podcast: Square cover, Video: 16:9 cover */
.pvm-programs-grid.podcasts .pvm-card-media {
    aspect-ratio: 1/1;
}

.pvm-programs-grid.videos .pvm-card-media {
    aspect-ratio: 16/9;
}

.pvm-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pvm-program-card:hover .pvm-card-media img {
    transform: scale(1.08);
}

/* Card Play Hover Overlay */
.pvm-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.pvm-program-card:hover .pvm-card-overlay {
    opacity: 1;
}

.pvm-play-icon-circle {
    background: var(--primary);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.7);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.pvm-play-icon-circle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-right: -2px; /* Visual center adjustment */
}

.pvm-program-card:hover .pvm-play-icon-circle {
    transform: scale(1);
}

/* Card Content Area */
.pvm-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pvm-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.pvm-card-episodes-count {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.pvm-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #fff;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.pvm-program-card:hover .pvm-card-title {
    color: var(--primary);
}

.pvm-card-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ==========================================================================
   4. Modal Overlay Component (Dynamic Playback)
   ========================================================================== */
.pvm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pvm-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pvm-modal-container {
    width: 100%;
    max-width: 1000px;
    background: #121214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.pvm-modal-overlay.active .pvm-modal-container {
    transform: translateY(0) scale(1);
}

.pvm-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.pvm-modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.pvm-modal-close svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.pvm-modal-body {
    padding: 0;
    max-height: 90vh;
    overflow-y: auto;
}

.pvm-modal-body .pvm-podcast-player,
.pvm-modal-body .pvm-video-player {
    border: none;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Program Switcher (Dropdown) */
.pvm-playlist-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pvm-sidebar-label {
    font-weight: 500;
}

.pvm-sidebar-count {
    font-variant-numeric: tabular-nums;
}

.pvm-program-switcher {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    padding: 8px 12px;
    font-family: 'El Messiri', sans-serif !important;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.pvm-program-switcher:hover, .pvm-program-switcher:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 10px var(--primary-glow);
}

.pvm-program-switcher option {
    background-color: #121214;
    color: #fff;
    padding: 8px;
}

/* YouTube iframe inside Podcast Cover */
.pvm-cover-container iframe.pvm-youtube-podcast-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 5;
    border-radius: 16px;
}

/* PNG Icons and Slider Styling Overrides */
.pvm-wrapper button,
.pvm-wrapper .pvm-btn,
.pvm-wrapper .pvm-btn-play-overlay,
.pvm-wrapper .pvm-btn-play-v2,
.pvm-wrapper .pvm-btn-volume,
.pvm-wrapper .pvm-btn-speed {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    color: #fff !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    width: auto !important;
}

.pvm-png-icon {
    display: inline-block !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    filter: brightness(0) saturate(100%) invert(18%) sepia(94%) saturate(6926%) hue-rotate(2deg) brightness(92%) contrast(114%) !important;
    transition: transform 0.2s ease !important;
}

.pvm-btn-play-overlay {
    width: 70px !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.pvm-btn-play-overlay img.pvm-png-icon {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 25px rgba(227, 18, 11, 0.5) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.pvm-btn-play-overlay:hover img.pvm-png-icon {
    transform: scale(1.08) !important;
    box-shadow: 0 12px 30px rgba(227, 18, 11, 0.8) !important;
}

@keyframes pvm-pulse-play {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(227, 18, 11, 0.7);
    }
    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 15px rgba(227, 18, 11, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(227, 18, 11, 0);
    }
}

.pvm-btn-play-overlay.pulsing img.pvm-png-icon {
    animation: pvm-pulse-play 1.6s infinite ease-in-out !important;
}

.pvm-btn-play-v2 {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease !important;
}

.pvm-btn-play-v2 img.pvm-png-icon {
    width: 28px !important;
    height: 28px !important;
    display: block !important;
}

.pvm-btn-play-v2:hover {
    transform: scale(1.1) !important;
}

.pvm-btn-volume {
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease !important;
}

.pvm-btn-volume img.pvm-png-icon {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
}

.pvm-btn-volume:hover {
    transform: scale(1.1) !important;
}

.pvm-btn-speed {
    font-family: 'El Messiri', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.05) !important;
    line-height: 1.2 !important;
    display: inline-block !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

.pvm-btn-speed:hover {
    border-color: var(--primary) !important;
    background: rgba(227, 18, 11, 0.1) !important;
    color: var(--primary) !important;
}

/* Custom Styled Range Sliders */
input[type="range"].pvm-progress-slider,
input[type="range"].pvm-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 6px !important;
    border-radius: 3px !important;
    outline: none !important;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15); /* Fallback */
    transition: background 0.1s ease;
}

input[type="range"].pvm-progress-slider {
    flex: 1 !important;
    min-width: 50px !important;
}

input[type="range"].pvm-volume-slider {
    flex-shrink: 0 !important;
    width: 80px !important;
}

/* Chrome/Safari/Opera/Edge WebKit */
input[type="range"].pvm-progress-slider::-webkit-slider-runnable-track,
input[type="range"].pvm-volume-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border: none;
}

input[type="range"].pvm-progress-slider::-webkit-slider-thumb,
input[type="range"].pvm-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 14px !important;
    width: 14px !important;
    border-radius: 50% !important;
    background: #e3120b !important;
    box-shadow: 0 0 8px rgba(227, 18, 11, 0.7) !important;
    cursor: pointer;
    margin-top: -4px !important;
    border: none !important;
    transition: transform 0.1s ease;
}

input[type="range"].pvm-progress-slider::-webkit-slider-thumb:hover,
input[type="range"].pvm-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

/* Firefox */
input[type="range"].pvm-progress-slider::-moz-range-track,
input[type="range"].pvm-volume-slider::-moz-range-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border: none;
}

input[type="range"].pvm-progress-slider::-moz-range-thumb,
input[type="range"].pvm-volume-slider::-moz-range-thumb {
    height: 14px !important;
    width: 14px !important;
    border-radius: 50% !important;
    background: #e3120b !important;
    box-shadow: 0 0 8px rgba(227, 18, 11, 0.7) !important;
    cursor: pointer;
    border: none !important;
    transition: transform 0.1s ease;
}

input[type="range"].pvm-progress-slider::-moz-range-thumb:hover,
input[type="range"].pvm-volume-slider::-moz-range-thumb:hover {
    transform: scale(1.3);
}

.pvm-bar-controls {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
}

.pvm-bar-extra {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

