/* ═══════════════════════════════════════════════
   ŻeloTV — Panel (Dashboard) Page
   Cards · rows · settings · status indicator · key display
   ═══════════════════════════════════════════════ */

.panel-content { padding: 24px 32px; max-width: 1000px; }
.panel-grid { display: grid; grid-template-columns: 1fr 280px; gap: 20px; }
.panel-main { display: flex; flex-direction: column; gap: 20px; }
.panel-side { display: flex; flex-direction: column; gap: 20px; }

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
}
.card-title {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-dim); margin-bottom: 16px;
}
.card-actions { margin-top: 16px; display: flex; gap: 8px; }

.row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.row:last-of-type { border-bottom: none; }
.rl { font-size: 12px; font-weight: 500; color: var(--text-dim); width: 90px; flex-shrink: 0; }
.rv-wrap { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.rv {
  font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 12px;
  color: var(--text); background: rgba(255,255,255,0.03);
  padding: 5px 8px; border-radius: var(--radius-sm);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; min-width: 0;
}
.rv-input {
  font-size: 13px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 6px 10px; color: var(--text); flex: 1; min-width: 0;
  outline: none; transition: border-color var(--transition);
}
.rv-input:focus { border-color: var(--accent); }
.cpb {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border: none; border-radius: var(--radius-sm);
  background: transparent; color: var(--text-muted); cursor: pointer;
  transition: all var(--transition); flex-shrink: 0;
}
.cpb:hover { background: var(--bg-elevated); color: var(--text); }
.cpb svg { width: 14px; height: 14px; }
.key-hidden { -webkit-text-security: disc; text-security: disc; }

/* ── Settings rows ───────────────────────────── */
.s-row { margin-bottom: 16px; }
.s-label { display: block; font-size: 12px; font-weight: 500; color: var(--text-dim); margin-bottom: 6px; }
.s-input-wrap { display: flex; align-items: center; }
.s-prefix {
  font-size: 13px; color: var(--text-muted);
  padding: 0 8px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  display: flex; align-items: center;
  height: 34px; box-sizing: border-box;
}
.s-input {
  font-size: 13px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0 10px; color: var(--text); flex: 1;
  outline: none; transition: border-color var(--transition);
  height: 34px; box-sizing: border-box;
}
.s-input:focus { border-color: var(--accent); }
.s-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.s-select {
  font-size: 13px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 6px 10px; color: var(--text); width: 100%;
  outline: none; cursor: pointer; appearance: auto;
}

/* ── Status indicator ────────────────────────── */
.status-indicator {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0;
}
.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.status-dot.online { background: var(--live-red); animation: pulse 2s ease-in-out infinite; }
.status-dot.offline { background: var(--text-muted); }
.status-text { font-size: 14px; font-weight: 500; }
.status-viewers {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-dim); padding-top: 8px;
}
