/* ==========================================================================
   G9 NEWS NETWORK — MASTER CONTROL ROOM (MCR) & NEWSROOM CMS
   Exact High-Tech Dark Glassmorphism Studio Clone Stylesheet
   ========================================================================== */

:root {
  --bg-deep: #050913;
  --bg-canvas: #070d18;
  --bg-surface: rgba(10, 18, 32, 0.82);
  --bg-surface-elevated: rgba(14, 25, 45, 0.9);
  --bg-card: rgba(11, 21, 38, 0.78);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-bright: rgba(255, 255, 255, 0.16);
  --border-glass-hover: rgba(0, 230, 118, 0.35);

  --neon-green: #00e676;
  --neon-green-dark: #00c853;
  --neon-green-glow: rgba(0, 230, 118, 0.35);
  
  --neon-blue: #00b0ff;
  --neon-blue-glow: rgba(0, 176, 255, 0.35);

  --neon-purple: #a855f7;
  --neon-purple-glow: rgba(168, 85, 247, 0.35);

  --neon-amber: #f59e0b;
  --neon-amber-glow: rgba(245, 158, 11, 0.35);

  --neon-red: #ef4444;
  --neon-red-glow: rgba(239, 68, 68, 0.35);

  --neon-cyan: #06b6d4;
  --neon-cyan-glow: rgba(6, 182, 212, 0.35);

  --text-white: #ffffff;
  --text-slate: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-urdu: 'Jameel Noori Nastaleeq', 'Noto Nastaliq Urdu', serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 50px;

  --transition-smooth: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.mcr-body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 18% 10%, rgba(0, 230, 118, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 82% 15%, rgba(0, 176, 255, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
  color: var(--text-white);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* ==========================================================================
   1. G9 CONTROL ROOM CPANEL TITLE BAR
   ========================================================================== */
.mcr-clone-topbar {
  background: rgba(6, 11, 20, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1.5px solid rgba(0, 230, 118, 0.3);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
}

/* Brand Card Left */
.mcr-brand-card {
  min-width: 230px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(10, 20, 36, 0.95) 0%, rgba(7, 45, 25, 0.6) 100%);
  border: 1px solid rgba(0, 230, 118, 0.45);
  border-radius: var(--radius-lg);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 0 14px rgba(0, 230, 118, 0.12);
}
.mcr-logo-box {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.35);
  flex-shrink: 0;
}
.mcr-brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mcr-brand-titles {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.mcr-brand-main {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.6px;
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}
.mcr-brand-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Top 4 Stat Pills Deck */
.mcr-top-stats-deck {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 820px;
  margin: 0 8px;
}
.mcr-metric-pill {
  flex: 1;
  background: rgba(10, 18, 34, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}
.mcr-metric-pill:hover {
  transform: translateY(-1px);
  border-color: var(--border-glass-bright);
}

.pill-green { border-color: rgba(0, 230, 118, 0.25); }
.pill-green:hover { box-shadow: 0 0 14px rgba(0, 230, 118, 0.2); }
.pill-blue { border-color: rgba(0, 176, 255, 0.25); }
.pill-blue:hover { box-shadow: 0 0 14px rgba(0, 176, 255, 0.2); }
.pill-purple { border-color: rgba(168, 85, 247, 0.25); }
.pill-purple:hover { box-shadow: 0 0 14px rgba(168, 85, 247, 0.2); }
.pill-amber { border-color: rgba(245, 158, 11, 0.25); }
.pill-amber:hover { box-shadow: 0 0 14px rgba(245, 158, 11, 0.2); }

.metric-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.icon-green { background: rgba(0, 230, 118, 0.15); color: var(--neon-green); border: 1px solid rgba(0, 230, 118, 0.3); }
.icon-blue { background: rgba(0, 176, 255, 0.15); color: var(--neon-blue); border: 1px solid rgba(0, 176, 255, 0.3); }
.icon-purple { background: rgba(168, 85, 247, 0.15); color: var(--neon-purple); border: 1px solid rgba(168, 85, 247, 0.3); }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--neon-amber); border: 1px solid rgba(245, 158, 11, 0.3); }

.metric-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.metric-title {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}
.metric-val-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.metric-val {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}
.metric-trend {
  font-size: 9.5px;
  font-weight: 700;
}
.trend-green { color: var(--neon-green); }

.status-pulse-green {
  color: var(--neon-green);
  font-size: 10px;
  animation: pulseNeonGreen 1.4s infinite;
}
@keyframes pulseNeonGreen {
  0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 5px var(--neon-green)); }
  50% { opacity: 0.4; transform: scale(1.3); filter: drop-shadow(0 0 1px var(--neon-green)); }
}

/* Topbar Right Group */
.mcr-top-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mcr-on-air-pill {
  background: linear-gradient(135deg, rgba(70, 8, 14, 0.85) 0%, rgba(30, 4, 8, 0.95) 100%);
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-radius: var(--radius-md);
  padding: 5px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.25);
}
.on-air-text-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.on-air-label {
  font-size: 9.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.on-air-dot {
  color: #ef4444;
  font-size: 8px;
  animation: pulseRedDot 1.1s infinite;
}
@keyframes pulseRedDot {
  0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 4px #ef4444); }
  50% { opacity: 0.3; transform: scale(1.2); }
}

.on-air-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 8px;
  margin-top: 1px;
}
.on-air-equalizer span {
  width: 2.5px;
  background: #ef4444;
  border-radius: 1px;
  animation: eqBar 0.7s ease-in-out infinite alternate;
}
.on-air-equalizer span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.on-air-equalizer span:nth-child(2) { height: 80%; animation-delay: 0.3s; }
.on-air-equalizer span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.on-air-equalizer span:nth-child(4) { height: 60%; animation-delay: 0.4s; }
.on-air-equalizer span:nth-child(5) { height: 90%; animation-delay: 0.15s; }
.on-air-equalizer span:nth-child(6) { height: 50%; animation-delay: 0.35s; }

@keyframes eqBar {
  0% { transform: scaleY(0.25); }
  100% { transform: scaleY(1); }
}

.mcr-user-avatar-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
}
.mcr-user-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1e293b;
  display: block;
}
.user-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--neon-green);
  border: 2px solid var(--bg-deep);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon-green);
}

/* ==========================================================================
   2. MAIN LAYOUT (Sidebar + Viewport)
   ========================================================================== */
.mcr-layout {
  display: flex;
  flex: 1;
  padding: 12px 14px;
  gap: 14px;
  max-width: 1560px;
  margin: 0 auto;
  width: 100%;
}

/* Sidebar */
.mcr-sidebar {
  width: 210px;
  flex-shrink: 0;
  background: rgba(9, 16, 28, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: calc(100vh - 90px);
}

.mcr-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mcr-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8.5px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-main);
  text-decoration: none;
  text-align: left;
}
.mcr-nav-btn i {
  font-size: 13px;
  width: 18px;
  text-align: center;
}
.mcr-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

/* Active Dashboard Pill */
.mcr-nav-btn.active {
  background: linear-gradient(90deg, #00c853 0%, #009624 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 200, 83, 0.42);
}
.mcr-nav-btn.active i {
  color: #ffffff;
}

/* Sidebar Bottom 24/7 Live Widget */
.mcr-sidebar-live-card {
  background: rgba(8, 22, 24, 0.85);
  border: 1px solid rgba(0, 230, 118, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.live-card-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.live-card-brand {
  font-size: 8.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.live-card-sub {
  font-size: 13px;
  font-weight: 800;
  color: #facc15;
}
.live-card-play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e676 0%, #00c853 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #060b14;
  font-size: 10px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.6);
  transition: transform 0.2s ease;
}
.live-card-play-btn:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   3. VIEWPORT & DASHBOARD GRID
   ========================================================================== */
.mcr-viewport {
  flex: 1;
  min-width: 0;
}

.mcr-section {
  display: none;
}
.mcr-section.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dashboard Two-Column Grid */
.mcr-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 265px;
  gap: 14px;
  width: 100%;
}

.mcr-dashboard-main-col {
  display: flex;
  flex-direction: column;
}

/* Welcome Breadcrumb Bar */
.mcr-welcome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 8px 16px;
  background: radial-gradient(circle at 8% 50%, rgba(0, 230, 118, 0.2) 0%, transparent 35%), rgba(10, 18, 32, 0.85);
  border: 1px solid var(--border-glass);
  border-top: 1px solid rgba(0, 230, 118, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 -2px 16px rgba(0, 230, 118, 0.15), 0 4px 14px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}
.welcome-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.heading-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.18);
  border: 1px solid rgba(0, 230, 118, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-green);
  font-size: 14px;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.3);
}
.heading-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.welcome-user-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-slate);
  font-style: italic;
}
.welcome-user-name {
  color: var(--neon-green);
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.2px;
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.35);
}
.crown-icon {
  font-style: normal;
  font-size: 14px;
}

/* Quick Action 5 Buttons Row */
.mcr-quick-actions-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.action-btn-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9.5px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  font-family: var(--font-main);
  border: 1px solid transparent;
}
.action-btn-pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}
.action-btn-pill:active {
  transform: translateY(0);
}
.action-green {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.95), rgba(4, 120, 87, 0.95));
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.22);
}
.action-blue {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(29, 78, 216, 0.95));
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.22);
}
.action-purple {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.95), rgba(126, 34, 206, 0.95));
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.22);
}
.action-amber {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.95), rgba(180, 83, 9, 0.95));
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.22);
}
.action-cyan {
  background: linear-gradient(135deg, rgba(19, 78, 74, 0.95), rgba(14, 116, 144, 0.95));
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.22);
}

/* Latest News 4-Card Section */
.mcr-latest-news-panel {
  background: rgba(10, 18, 32, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  margin-bottom: 14px;
}
.latest-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.panel-title-with-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-vert-bar {
  width: 4px;
  height: 16px;
  background: var(--neon-green);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--neon-green);
}
.panel-heading-text {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}
.btn-view-all-news {
  background: #059669;
  color: #ffffff;
  border: none;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}
.btn-view-all-news:hover {
  background: #10b981;
  transform: translateY(-1px);
}

.latest-news-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.news-preview-card {
  background: rgba(7, 13, 24, 0.92);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.news-preview-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.news-card-thumb {
  width: 100%;
  height: 80px;
  overflow: hidden;
  background: #000000;
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.news-preview-card:hover .news-card-thumb img {
  transform: scale(1.05);
}
.news-card-info {
  padding: 8px 10px 10px 10px;
}
.news-card-title {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
.news-card-subtitle {
  font-size: 9.5px;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

/* Bottom 4 Trend Analytics Cards with Neon SVGs */
.mcr-bottom-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mcr-bottom-stat-card {
  background: rgba(10, 18, 32, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 10px 12px 6px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 96px;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}
.mcr-bottom-stat-card:hover {
  transform: translateY(-2px);
}
.card-glow-green:hover { border-color: rgba(0, 230, 118, 0.4); box-shadow: 0 4px 16px rgba(0, 230, 118, 0.15); }
.card-glow-blue:hover { border-color: rgba(0, 176, 255, 0.4); box-shadow: 0 4px 16px rgba(0, 176, 255, 0.15); }
.card-glow-purple:hover { border-color: rgba(168, 85, 247, 0.4); box-shadow: 0 4px 16px rgba(168, 85, 247, 0.15); }
.card-glow-amber:hover { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15); }

.bottom-stat-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stat-icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.bottom-stat-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.bottom-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}
.bottom-stat-val-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.bottom-stat-val {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}
.bottom-stat-trend {
  font-size: 9.5px;
  font-weight: 700;
}

.wave-chart-wrap {
  width: 100%;
  height: 26px;
  margin-top: 4px;
}
.neon-wave {
  width: 100%;
  height: 100%;
  display: block;
}
.wave-green path { filter: drop-shadow(0 0 3px #00e676); }
.wave-blue path { filter: drop-shadow(0 0 3px #00b0ff); }
.wave-purple path { filter: drop-shadow(0 0 3px #a855f7); }
.wave-amber path { filter: drop-shadow(0 0 3px #f59e0b); }

/* Right Column (Live Stream Status & Quick Links) */
.mcr-dashboard-side-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mcr-side-panel-card {
  background: rgba(10, 18, 32, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(10px);
}
.live-stream-panel {
  border-color: rgba(0, 230, 118, 0.25);
}
.side-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-panel-header i {
  font-size: 14px;
}
.side-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.live-studio-frame {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000000;
}
.studio-feed-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.live-status-tag {
  position: absolute;
  top: 7px;
  right: 7px;
  background: #dc2626;
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.6);
}
.studio-badge-pill {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 15, 25, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}
.studio-badge-pill .dot-red {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

/* Quick Links List */
.quick-links-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quick-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition-smooth);
}
.quick-link-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 230, 118, 0.35);
  transform: translateX(3px);
}
.link-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.link-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.icon-teal { background: rgba(20, 184, 166, 0.15); color: #14b8a6; }
.icon-red { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.icon-slate { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.link-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-slate);
}
.link-arrow {
  font-size: 10.5px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.quick-link-row:hover .link-arrow {
  color: var(--neon-green);
}

/* ==========================================================================
   4. STYLES FOR OTHER CMS TABS (News, Live TV, Settings, Tables, Modals)
   ========================================================================== */
.mcr-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  background: rgba(10, 18, 32, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
}
.mcr-page-title-box h2 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mcr-page-title-box p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.btn-mcr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-main);
  text-decoration: none;
}
.btn-mcr-primary {
  background: linear-gradient(135deg, #00c853 0%, #009624 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.35);
}
.btn-mcr-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.btn-mcr-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid var(--border-glass-bright);
}
.btn-mcr-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}
.btn-mcr-success {
  background: #059669;
  color: #ffffff;
}
.btn-mcr-outline {
  background: transparent;
  color: var(--neon-green);
  border: 1px solid var(--neon-green);
}

/* Tables */
.mcr-table-container {
  background: rgba(10, 18, 32, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.mcr-table-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-glass);
}
.mcr-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.mcr-table th {
  background: rgba(6, 11, 20, 0.7);
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-glass);
}
.mcr-table td {
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--text-slate);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mcr-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.urdu-cell {
  font-family: var(--font-urdu);
  font-size: 15px !important;
  direction: rtl;
  text-align: right;
}

/* Badges */
.badge-breaking { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 700; }
.badge-normal { background: rgba(59, 130, 246, 0.15); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 700; }
.badge-exclusive { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 700; }

.status-on-air { color: #ef4444; font-weight: 700; font-size: 10px; }
.status-standby { color: #64748b; font-weight: 600; font-size: 10px; }
.status-indicator { display: flex; align-items: center; gap: 5px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; }
.status-dot.red { background: #ef4444; box-shadow: 0 0 5px #ef4444; }
.status-dot.amber { background: #64748b; }

.action-btns { display: flex; align-items: center; gap: 6px; }
.btn-icon-action {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: var(--transition-smooth);
}
.btn-icon-action:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.btn-icon-action.delete:hover { background: rgba(239, 68, 68, 0.2); color: #ef4444; border-color: rgba(239, 68, 68, 0.4); }

/* Deck Panels (Live TV, Tickers, Settings) */
.deck-panel {
  background: rgba(10, 18, 32, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.panel-header {
  padding: 12px 16px;
  background: rgba(6, 11, 20, 0.7);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-body {
  padding: 16px;
}

/* Modals */
.mcr-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 15, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.mcr-modal-backdrop.active {
  display: flex;
}
.mcr-modal-box {
  background: #0b1526;
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
.mcr-modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mcr-modal-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}
.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
}
.btn-close-modal:hover { color: #ffffff; }
.mcr-modal-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mcr-modal-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Inputs & Form Elements */
.mcr-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-slate);
  display: block;
  margin-bottom: 4px;
}
.mcr-input, .mcr-select, .mcr-textarea, .urdu-textarea {
  width: 100%;
  background: rgba(6, 11, 20, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 9px 12px;
  color: #ffffff;
  font-size: 13px;
  font-family: var(--font-main);
  outline: none;
  transition: var(--transition-smooth);
}
.urdu-textarea {
  font-family: var(--font-urdu);
  font-size: 16px;
  direction: rtl;
  min-height: 80px;
}
.mcr-input:focus, .mcr-select:focus, .mcr-textarea:focus, .urdu-textarea:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.25);
}

/* ImgBB Dropzone */
.mcr-dropzone {
  border: 2px dashed rgba(0, 230, 118, 0.4);
  background: rgba(0, 230, 118, 0.03);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.mcr-dropzone:hover, .mcr-dropzone.dragover {
  background: rgba(0, 230, 118, 0.08);
  border-color: var(--neon-green);
}

/* Header Preview Frame */
.mcr-header-preview-box {
  width: 100%;
  aspect-ratio: 1024 / 196;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-glass-bright);
  position: relative;
  background: #000000;
}
.mcr-header-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 1200px) {
  .mcr-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .mcr-top-stats-deck {
    display: none;
  }
}
@media (max-width: 768px) {
  .mcr-layout {
    flex-direction: column;
  }
  .mcr-sidebar {
    width: 100%;
    min-height: auto;
  }
  .latest-news-cards-grid, .mcr-bottom-stats-row, .mcr-quick-actions-row {
    grid-template-columns: 1fr 1fr;
  }
}
