/* Video.js Dark Aesthetic Theme */

.video-js {
  font-family: 'Inter', sans-serif !important;
  width: 100% !important;
  height: 100% !important;
  background-color: #000000 !important;
}

.video-js .vjs-big-play-button {
  background: rgba(124, 58, 237, 0.9) !important;
  border: 2px solid rgba(167, 139, 250, 0.6) !important;
  border-radius: 9999px !important;
  width: 80px !important;
  height: 80px !important;
  line-height: 76px !important;
  margin-left: -40px !important;
  margin-top: -40px !important;
  box-shadow: 0 10px 30px -5px rgba(124, 58, 237, 0.6) !important;
  transition: all 0.2s ease-in-out !important;
}

.video-js .vjs-big-play-button:hover {
  background: rgba(139, 92, 246, 1) !important;
  transform: scale(1.08) !important;
}

.video-js .vjs-control-bar {
  background: linear-gradient(to top, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.6), transparent) !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 8px !important;
}

.video-js .vjs-play-progress {
  background-color: #a855f7 !important;
}

.video-js .vjs-volume-level {
  background-color: #a855f7 !important;
}

.video-js .vjs-slider {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

/* In-Player Custom ControlBar Buttons */
.vjs-custom-btn {
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  padding: 0 6px !important;
  color: #e2e8f0 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  transition: color 0.15s !important;
}

.vjs-custom-btn:hover {
  color: #a855f7 !important;
}

/* Custom In-Player Quality Popup */
.vjs-custom-menu-wrap {
  position: relative !important;
}

.vjs-custom-menu {
  position: absolute !important;
  bottom: 50px !important;
  right: 0 !important;
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  border-radius: 10px !important;
  padding: 6px !important;
  min-width: 140px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.8) !important;
  z-index: 99999 !important;
}

.vjs-custom-menu-title {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #94a3b8 !important;
  padding: 4px 8px !important;
  border-bottom: 1px solid #1e293b !important;
  margin-bottom: 4px !important;
}

.vjs-custom-menu-item {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  padding: 6px 10px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #cbd5e1 !important;
  border-radius: 6px !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
}

.vjs-custom-menu-item:hover {
  background: #7c3aed !important;
  color: #ffffff !important;
}

.vjs-custom-menu-item.active {
  background: #581c87 !important;
  color: #f3e8ff !important;
  font-weight: 700 !important;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}
