/* ============================================================
   DASHBOARD.CSS — On-Set Live Production Styles
   ============================================================ */

/* ── DASHBOARD LAYOUT ───────────────────────────────────────── */
.dashboard-page {
  height: calc(100vh - var(--header-h) - 44px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.dashboard-inner {
  display: flex;
  flex: 1;
  gap: 0;
  overflow: hidden;
}
.dashboard-left {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dashboard-right {
  width: 360px;
  min-width: 360px;
  border-left: 1px solid var(--border-subtle);
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-surface);
}

/* ── TOP STATUS BAR ─────────────────────────────────────────── */
.dashboard-topbar {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.dashboard-timer {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}
.dashboard-time-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}
.dashboard-topbar-stats {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: auto;
}
.topbar-stat { text-align: center; }
.topbar-stat-val { font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1; }
.topbar-stat-lbl { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ── NOW SHOOTING SECTION ───────────────────────────────────── */
.now-shooting-section { display: flex; flex-direction: column; gap: 12px; }

.now-big-card {
  background: linear-gradient(135deg, rgba(13,15,26,0.95), rgba(26,29,46,0.95));
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 0 40px rgba(245,166,35,0.12), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.now-big-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,166,35,0.08), transparent 70%);
  pointer-events: none;
}
.now-shooting-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--gold); margin-bottom: 12px;
}
.rec-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 8px var(--accent-red);
  animation: blink-rec 0.9s infinite;
}
@keyframes blink-rec { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.now-shot-primary {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 6px;
}
.now-shot-secondary {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.shot-tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.shot-tag-pill {
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.shot-tag-pill.size   { color: var(--accent-blue); border-color: rgba(79,142,247,0.25); background: rgba(79,142,247,0.08); }
.shot-tag-pill.angle  { color: var(--accent-teal); border-color: rgba(45,212,191,0.25); background: rgba(45,212,191,0.08); }
.shot-tag-pill.move   { color: var(--accent-purple); border-color: rgba(168,85,247,0.25); background: rgba(168,85,247,0.08); }
.shot-tag-pill.dur    { color: var(--gold); border-color: rgba(245,166,35,0.25); background: rgba(245,166,35,0.08); }

.dashboard-action-btns {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.btn-complete-shot {
  flex: 1;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white; border: none;
  padding: 12px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all var(--dur-fast) var(--ease);
  box-shadow: 0 2px 12px rgba(22,163,74,0.3);
}
.btn-complete-shot:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(22,163,74,0.4); }

/* ── NEXT SHOT CARD ─────────────────────────────────────────── */
.next-shot-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
}
.next-shot-arrow { font-size: 24px; color: var(--text-muted); flex-shrink: 0; }
.next-shot-info { flex: 1; }
.next-shot-label-sm { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.next-shot-text { font-family: var(--font-head); font-size: 15px; font-weight: 600; }
.next-shot-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── SCENE PROGRESS BARS ────────────────────────────────────── */
.scene-progress-row {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.scene-progress-hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.scene-progress-name { font-weight: 600; font-size: 13px; }
.scene-progress-frac { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

/* ── SHOT LIST PANEL ────────────────────────────────────────── */
.shot-list-panel { display: flex; flex-direction: column; gap: 0; }
.shot-panel-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--dur-fast) var(--ease);
}
.shot-panel-item:last-child { border-bottom: none; }
.shot-panel-item.current { background: rgba(245,166,35,0.06); }
.shot-panel-item.completed { opacity: 0.45; }
.shot-panel-item.skipped { opacity: 0.35; border-left: 3px solid var(--accent-red); }
.shot-panel-number {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--text-muted); min-width: 50px; flex-shrink: 0;
}
.shot-panel-number.current-num { color: var(--gold); }
.shot-panel-desc { flex: 1; font-size: 12px; line-height: 1.4; }
.shot-panel-desc strong { font-size: 11px; color: var(--text-muted); display: block; }
.shot-panel-status { flex-shrink: 0; }

/* ── BTS LOG ────────────────────────────────────────────────── */
.bts-log-section { display: flex; flex-direction: column; gap: 8px; }
.bts-log-item {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 12px 14px;
}
.bts-log-shot-label { font-size: 11px; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.bts-photo-mini-grid { display: flex; gap: 6px; flex-wrap: wrap; }
.bts-mini-thumb { width: 64px; height: 48px; border-radius: 4px; object-fit: cover; background: var(--bg-hover); }
.bts-mini-add {
  width: 64px; height: 48px; border-radius: 4px;
  border: 2px dashed var(--border-default);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--text-muted); cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.bts-mini-add:hover { border-color: var(--gold); color: var(--gold); }

/* ── KEYBOARD SHORTCUT OVERLAY ──────────────────────────────── */
.shortcuts-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.shortcut-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12px;
}
.shortcut-row:last-child { border-bottom: none; }
.shortcut-key { display: flex; gap: 4px; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .dashboard-inner { flex-direction: column; }
  .dashboard-right { width: 100%; min-width: unset; border-left: none; border-top: 1px solid var(--border-subtle); }
  .dashboard-page { height: auto; overflow: auto; }
  .now-shot-primary { font-size: 20px; }
}
