/* ==========================================================================
   adp-integration-guide.css
   Companion sheet for /payroll-integrations/adp-workforce-now.
   Loaded AFTER payroll-guide.css and only adds what that sheet has no rules
   for: real product screenshots, a sticky contents rail, requirement cards
   and the troubleshooting table. payroll-guide.css is shared by five other
   provider pages and is deliberately NOT edited here.
   ========================================================================== */

/* ---------- screenshots -------------------------------------------------- */
.shot {
  margin: 18px 0 6px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .10);
}
.shot .chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
.shot .chrome .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.shot .chrome .url {
  margin-left: 10px;
  font: 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot img { display: block; width: 100%; height: auto; }

/* A caption is part of the instruction, not decoration — keep it readable. */
.shot-cap {
  margin: 0 0 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
}
.shot-cap b { color: #0f172a; }

/* ---------- contents rail ------------------------------------------------ */
.toc {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 16px 18px;
  margin: 22px 0 8px;
}
.toc h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 5px 0; }
.toc a { color: #1e3a8a; font-weight: 600; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ---------- requirement cards ------------------------------------------- */
.reqs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 16px 0; }
.req {
  border: 1px solid #e2e8f0;
  border-left: 4px solid #6366f1;
  border-radius: 10px;
  background: #fff;
  padding: 14px 16px;
}
.req h4 { margin: 0 0 6px; font-size: 15px; color: #0f172a; }
.req p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #475569; }
.req.blocked { border-left-color: #dc2626; }

/* ---------- troubleshooting --------------------------------------------- */
.tstable { width: 100%; border-collapse: collapse; margin: 14px 0 8px; font-size: 14px; }
.tstable th, .tstable td { border: 1px solid #e2e8f0; padding: 10px 12px; text-align: left; vertical-align: top; }
.tstable th { background: #f1f5f9; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: #475569; }
.tstable td code { background: #f1f5f9; padding: 1px 5px; border-radius: 4px; font-size: 12.5px; }
.tstable tr td:first-child { font-weight: 600; color: #0f172a; width: 34%; }

/* Wide tables must scroll inside their own box, never the page body. */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- misc --------------------------------------------------------- */
.kbdpath { font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: #eef2ff; color: #3730a3; padding: 2px 7px; border-radius: 5px; }
.small-note { font-size: 13px; color: #64748b; margin-top: 6px; }

@media (max-width: 640px) {
  .shot .chrome .url { font-size: 11px; }
  .tstable tr td:first-child { width: auto; }
}

/* ---------- tabs ---------------------------------------------------------
   Added when the guide grew from "ADP setup" into the whole hours-to-payroll
   path. Plain buttons + [hidden] panels, no framework: this page loads only
   two stylesheets and no JS library, and it should stay that way.
   ------------------------------------------------------------------------ */
.tabnav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}
.tabnav { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 0; }
.tabbtn {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid transparent;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 11px 18px 10px;
  font: 600 14.5px/1.2 inherit;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
  transition: color .12s, border-color .12s, background .12s;
}
.tabbtn:hover { color: #1e293b; background: #f8fafc; }
.tabbtn[aria-selected="true"] { color: #4f46e5; border-bottom-color: #4f46e5; background: #f8fafc; }
.tabbtn .step-n {
  display: inline-block;
  min-width: 20px; height: 20px; line-height: 20px;
  margin-right: 7px;
  border-radius: 50%;
  background: #e2e8f0; color: #475569;
  font-size: 12px; text-align: center;
}
.tabbtn[aria-selected="true"] .step-n { background: #4f46e5; color: #fff; }
.tabpanel[hidden] { display: none; }

/* the flow strip that opens the attendance + payroll tabs */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 6px; }
.flow .node {
  border: 1px solid #e2e8f0; border-radius: 999px; background: #fff;
  padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: #334155;
}
.flow .node.on { border-color: #4f46e5; background: #eef2ff; color: #3730a3; }
.flow .arr { color: #94a3b8; font-weight: 700; }

@media (max-width: 640px) {
  .tabbtn { padding: 10px 12px; font-size: 13.5px; }
  .flow { gap: 6px; }
  .flow .node { padding: 6px 10px; font-size: 12.5px; }
}
