/* ==========================================================================
ClipHub Admin Dashboard - Stylesheet (admin.css)
========================================================================== */

body {
background-color: #09090b;
color: #fafafa;
overflow-x: hidden;
font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Webkit Scrollbars */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #3f3f46;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #52525b;
}

.admin-scroll::-webkit-scrollbar {
width: 6px;
}
.admin-scroll::-webkit-scrollbar-track {
background: transparent;
}
.admin-scroll::-webkit-scrollbar-thumb {
background: #3f3f46;
border-radius: 10px;
}
.admin-scroll::-webkit-scrollbar-thumb:hover {
background: #52525b;
}

/* Glassmorphism & Modern Panels */
.glass {
background: rgba(24, 24, 27, 0.6);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-panel {
background: linear-gradient(135deg, rgba(39, 39, 42, 0.5) 0%, rgba(24, 24, 27, 0.8) 100%);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.08);
}

.input-modern {
background: rgba(39, 39, 42, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.2s ease;
}
.input-modern:focus {
background: rgba(39, 39, 42, 0.8);
border-color: #3b82f6;
outline: none;
}

/* Navigation */
.nav-item.active {
background: rgba(59, 130, 246, 0.1);
color: #3b82f6;
border-right: 3px solid #3b82f6;
}

/* Custom Dropdown Styles */
.custom-dropdown-menu {
background-color: #141417 !important;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
z-index: 150 !important;
}

/* Video Player Controls & Overlay */
.player-controls-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
padding: 20px;
opacity: 0;
transition: opacity 0.3s ease;
z-index: 100;
}
#videoModalContent:hover .player-controls-overlay {
opacity: 1;
}

.progress-container {
width: 100%;
height: 6px;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
cursor: pointer;
position: relative;
margin-bottom: 15px;
}
.progress-bar-filled {
height: 100%;
background: #3b82f6;
width: 0%;
box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
transition: width 0.1s linear;
border-radius: 10px;
}

.volume-slider {
width: 80px;
height: 4px;
-webkit-appearance: none;
background: rgba(255, 255, 255, 0.2);
border-radius: 5px;
outline: none;
cursor: pointer;
}
.volume-slider::-webkit-slider-thumb {
-webkit-appearance: none;
width: 12px;
height: 12px;
background: #3b82f6;
border-radius: 50%;
cursor: pointer;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.speed-badge {
font-size: 10px;
font-weight: 800;
padding: 2px 6px;
border-radius: 4px;
background: rgba(59, 130, 246, 0.2);
color: #3b82f6;
border: 1px solid rgba(59, 130, 246, 0.3);
transition: all 0.2s;
cursor: pointer;
}
.speed-badge.active {
background: #3b82f6;
color: #000;
}