/* TradePay — site theme.
   Structure comes from the shared base; this file only sets the palette.
   Graphite and concrete from the app icon, steel blue from the invoice banner
   TradePay prints at the top of every PDF. */

@import url("../../css/style.css");

:root {
  --ink: #414852;            /* graphite pencil */
  --ink-deep: #262b31;
  --paper: #f2f1ed;          /* concrete / bond paper */
  --paper-hi: #fbfaf6;
  --grid: rgba(65, 72, 82, 0.07);
  --grid-major: rgba(65, 72, 82, 0.13);
  --rule: rgba(65, 72, 82, 0.25);

  --accent: #2f6182;         /* steel blue — the PDF banner colour */
  --accent-soft: #7fb0cd;
  --accent-glow: rgba(47, 97, 130, .28);
  --accent-wash: rgba(47, 97, 130, .07);
  --warn: #a8452a;
  --paid: #3e7a3a;           /* the green "PAID" stamp */
}

/* ---------- screenshots ---------- */

/* portrait phone captures, side by side */
.phone-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.phone-shots .shot { margin: 0; }
.phone-shots img { width: 100%; }

/* the printed document, shown at paper proportions */
.paper-shot {
  max-width: 560px; margin: 0 auto;
  background: var(--paper-hi); border: 1.5px solid var(--ink); border-radius: 12px;
  padding: 12px; box-shadow: 5px 5px 0 rgba(65, 72, 82, .14);
}
.paper-shot img { width: 100%; border: 1px solid var(--rule); border-radius: 4px; }
.paper-shot figcaption {
  font-family: var(--font-anno); font-size: 0.7rem; letter-spacing: .05em;
  color: var(--ink); padding: 12px 6px 4px; line-height: 1.5;
}

@media (max-width: 860px) {
  .phone-shots { grid-template-columns: 1fr 1fr; }
  .phone-shots .shot:last-child { grid-column: span 2; max-width: 320px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .phone-shots { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .phone-shots .shot:last-child { grid-column: auto; }
}

/* status dots, matching the colours the app puts next to a document */
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; padding: 0; list-style: none; }
.legend li { font-size: 0.92rem; color: var(--ink); display: flex; align-items: baseline; gap: 8px; }
.legend .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; transform: translateY(-1px); }
.legend .dot.draft { background: #8b8f96; }
.legend .dot.sent { background: #2f6182; }
.legend .dot.paid { background: var(--paid); }
.legend .dot.due { background: #c8811f; border-radius: 6px; width: 22px; }
.legend .dot.expired { background: var(--warn); border-radius: 6px; width: 22px; }
.legend .dot.archived { background: #4c4a8f; border-radius: 6px; width: 22px; }
