/* Payaz staff console: the dashboard's look, with a dark top bar instead of a sidebar. */
.con-top { background: var(--sidebar-bg); color: var(--sidebar-text); display: flex; align-items: center; gap: 22px; padding: 0 24px; height: 56px; position: sticky; top: 0; z-index: 20; }
.con-top .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; white-space: nowrap; }
.con-top .brand img { height: 20px; }
.con-top .brand span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); padding-left: 10px; border-left: 1px solid #3f3f46; }
.con-top nav { display: flex; gap: 4px; }
.con-top nav a { color: var(--sidebar-muted); padding: 7px 12px; border-radius: var(--radius); font-weight: 500; }
.con-top nav a:hover { color: #fff; background: #2c2c2c; }
.con-top nav a.on { color: #fff; background: #333; }
.con-top .who { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--sidebar-muted); white-space: nowrap; }
.con-top .who b { color: #e5e7eb; font-weight: 500; }
.con-top .who .btn { background: transparent; color: #e5e7eb; border-color: #3f3f46; }
.con-top .who .btn:hover { background: #2c2c2c; }
.con-main { max-width: 1240px; margin: 0 auto; padding: 28px 24px 64px; outline: none; }

.con-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.flag { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 10px; margin: 0 4px 4px 0; white-space: nowrap; }
.flag.bad { background: var(--bad-bg); color: #b42318; }
.flag.warn { background: var(--warn-bg); color: #7c4a03; }
.flag.ok { background: var(--good-bg); color: #0f7a58; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 12px; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.active { background: var(--good-bg); color: #0f7a58; }
.pill.suspended { background: var(--bad-bg); color: #b42318; }
td.flags { white-space: normal !important; max-width: 280px; }

.con-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; align-items: start; }
.con-grid .wide { grid-column: 1 / -1; }
.facts { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; font-size: 13.5px; }
.facts dt { color: var(--text-3); }
.facts dd { margin: 0; color: var(--text); }

.check { list-style: none; margin: 0; padding: 0; }
.check li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #f0f1f3; font-size: 13.5px; }
.check li:last-child { border-bottom: 0; }
.check .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: #f3f4f6; color: var(--text-3); }
.check li.done .tick { background: var(--good-bg); color: #0f7a58; }
.check li.manual .tick { background: var(--primary-50); color: var(--primary-dark); }
.check .what { font-weight: 600; color: var(--text); }
.check .how { color: var(--text-3); font-size: 12.5px; margin-top: 2px; line-height: 1.45; }
.check .go { margin-left: auto; }

.logo-box { display: flex; align-items: center; gap: 16px; }
.logo-box .frame { width: 180px; height: 72px; border: 1px dashed var(--border-strong); border-radius: var(--radius); display: grid; place-items: center; background: #fff; color: var(--text-3); font-size: 12px; }
.logo-box .frame img { max-width: 168px; max-height: 60px; }

.temp-pw { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; letter-spacing: 1px; background: #f3f4f6; border-radius: var(--radius); padding: 12px; text-align: center; margin: 10px 0; user-select: all; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.inline-form .input { width: auto; flex: 1; min-width: 140px; }
.act-list .who { color: var(--text-3); font-size: 12px; }
.support-note { font-size: 12.5px; color: var(--text-3); line-height: 1.5; margin-top: 8px; }

@media (max-width: 900px) {
  .con-top { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 10px; }
  .con-top .who { margin-left: 0; width: 100%; flex-wrap: wrap; white-space: normal; gap: 8px; }
  .con-top .who span { width: 100%; }
  .con-top nav { flex-wrap: wrap; }
  /* the dashboard turns page buttons into icons on phones; console buttons are words, so keep them */
  .con-main .page-head { display: flex; flex-direction: column; align-items: stretch; }
  .con-main .page-head .actions { flex-wrap: wrap; margin-left: 0; }
  .con-main .page-head .actions .btn { font-size: 14px; width: auto; height: 36px; padding: 0 12px; }
  .con-main { padding: 20px 16px 48px; }
  .con-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .con-grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 8px; }
}
