/* manager-signup.css — Styles for /manager-signup/{token} and the
   .tania-* component aliases used across manager pages (dashboard, signup).
   - .tania-panel, .tania-card, .tania-counters
   - .tania-btn, .tania-btn-primary, .tania-btn-link, .tania-field
   - .tania-table, .tania-modal
   - "What is assessed" scroller + "How it works" 4-step strip
   - Status/inline message classes (.tania-status, .tania-error, .tania-muted)
   Also covers the small 880px responsive tweaks for the signup grid layouts.
   Edit here when working on /manager-signup/{token} or shared manager components.
   Was: app.css lines 841–970. */

/* =========================================================================
   .tania-* component aliases used by manager pages (dashboard, signup, etc.)
   Each maps to the mockup's visual language using the same tokens.
   ========================================================================= */

/* Panels & cards */
.tania-panel{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.tania-panel > h2:first-child{ margin-top: 0; }
.tania-panel > summary{
  cursor: pointer; font-size: 14px; color: var(--text); padding: 4px 0;
}
.tania-panel[open] > summary{ margin-bottom: 14px; }

.tania-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.tania-card .tania-muted{
  display: block; font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 6px;
}
.tania-card strong{ color: var(--text); font-weight: 500; }

.tania-counters{ /* layout via inline grid in markup; cards already styled */ }

/* Status / inline messages */
.tania-muted{ color: var(--text-muted); }
.tania-status{ color: var(--success); font-size: 14px; }
.tania-error{ color: var(--danger); font-size: 14px; }

/* Buttons (mapped) */
.tania-btn{
  background: transparent; color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer;
  text-decoration: none; display: inline-block;
}
.tania-btn:hover{ border-color: var(--accent); color: var(--accent); }
.tania-btn-primary{
  background: var(--accent); color: var(--accent-text);
  border: 0; border-radius: 8px;
  padding: 10px 18px; font: inherit; font-weight: 500; font-size: 14px;
  cursor: pointer; display: inline-block;
}
.tania-btn-primary:hover{ filter: brightness(1.08); }
.tania-btn-link{
  background: transparent; border: 0; padding: 0;
  color: var(--link); font: inherit; cursor: pointer;
  text-decoration: underline;
}

/* Form fields wrapper */
.tania-field{
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px;
}
.tania-field label{ color: var(--text-muted); font-size: 13px; }
.tania-field input,
.tania-field textarea,
.tania-field select{ width: 100%; min-width: 0; }

/* Tables */
.tania-table{ width: 100%; border-collapse: collapse; }
.tania-table th, .tania-table td{
  padding: 12px 14px; text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text);
}
.tania-table th{
  color: var(--text-muted);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .06em;
}
.tania-table tr:last-child td{ border-bottom: 0; }
.tania-table a{ color: var(--link); text-decoration: none; }
.tania-table a:hover{ text-decoration: underline; }

/* Modal frame (re-used outside email modal) */
.tania-modal{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px; box-shadow: var(--shadow);
  margin: 16px 0;
}

/* "What is assessed" horizontal scroller (manager signup) */
.tania-scroller{
  display: grid; grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 12px; overflow-x: auto; padding: 4px 0 12px;
  scroll-snap-type: x mandatory;
}
.tania-scroller > .tania-card{
  scroll-snap-align: start;
}

/* "How it works" 4-step strip */
.tania-howit{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin: 18px 0 26px;
}
.tania-howit > div, .tania-howit > .tania-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text);
}

/* ---------- Responsive (additions, tablet and below) ---------- */
@media (max-width: 880px){
  .tania-howit{ grid-template-columns: repeat(2, 1fr); }
  .tania-scroller{ grid-template-columns: repeat(2, minmax(160px, 1fr)); }
  .hero-title{ font-size: 24px; }
  .hero-results .val{ font-size: 48px; }
  .qcard-head{ flex-direction: column; align-items: stretch; }
  .qtimer{ align-items: flex-start; }
}
