/* ==========================================================================
   VIDEO MODAL & THEATER PLAYER STYLES - SENIOR FRIENDLY / LARGE TYPOGRAPHY
   ========================================================================== */

.video-layout-split {
  display: flex;
  width: 100%;
  height: calc(90vh - 90px);
  min-height: 600px;
}

/* Left Main Stage: Big Video Player */
.video-player-stage {
  flex: 1;
  background: #090d16;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.video-player-wrapper {
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  position: relative;
}

.main-video-element {
  width: 100%;
  height: 100%;
  max-height: calc(90vh - 180px);
  object-fit: contain;
  background: #000000;
}

/* Video Stage Bottom Info Bar */
.video-stage-info {
  background: #111827;
  padding: 16px 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

.video-playing-title {
  color: #f9fafb;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.video-playing-desc {
  color: #cbd5e1;
  font-size: 1.05rem; /* ~16.8px */
  line-height: 1.55;
  font-weight: 500;
}

.video-badge-now-playing {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
  border: 1.5px solid rgba(239, 68, 68, 0.5);
  font-size: 13px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Right Side: Playlist Sidebar */
.video-playlist-sidebar {
  width: 420px;
  background: #ffffff;
  border-left: 2px solid var(--border-light);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.video-playlist-header {
  padding: 20px 22px;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.playlist-header-title {
  font-size: 1.1rem; /* ~17.6px */
  font-weight: 900;
  color: var(--tvsi-blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.playlist-count-badge {
  background: #e2e8f0;
  color: #1e293b;
  font-size: 14px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.video-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-item {
  padding: 16px;
  border-radius: 14px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  gap: 16px;
  align-items: center;
}

.video-item:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.video-item.active {
  background: #fff1f2;
  border-color: #fca5a5;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.18);
}

.video-item-thumb {
  width: 104px;
  height: 68px;
  border-radius: 8px;
  background: #0f172a;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1.5px solid #cbd5e1;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.video-item:hover .video-thumb-img {
  transform: scale(1.08);
}

.thumb-corner-logo {
  position: absolute;
  top: 4px;
  left: 4px;
  height: 15px;
  width: auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 1px 4px;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  z-index: 2;
  pointer-events: none;
  object-fit: contain;
}

.video-thumb-play-icon {
  position: absolute;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.video-thumb-play-icon svg {
  width: 13px;
  height: 13px;
}

.video-item.active .video-thumb-play-icon {
  background: var(--tvsi-red);
  transform: scale(1.1);
}

.video-item.active .video-thumb-play-icon {
  background: var(--tvsi-red);
}

.video-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.video-item-title {
  font-size: 1.125rem; /* 18px */
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 0;
}

.video-item.active .video-item-title {
  color: var(--tvsi-red);
}

.video-item-duration {
  font-size: 13.5px;
  color: #475569;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.video-item-badge {
  background: #e0f2fe;
  color: #0369a1;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

/* Fallback / Mock Video Canvas simulation when MP4 is pending */
.video-mock-poster {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 32px;
  text-align: center;
  cursor: pointer;
}

.video-mock-big-play {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--tvsi-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 35px rgba(229, 25, 55, 0.6);
  transition: transform var(--transition-normal);
}

.video-mock-poster:hover .video-mock-big-play {
  transform: scale(1.12);
}
