/* The shop's own rules.
 *
 * A file of its own rather than more of style.css, for the reason the
 * operations page has one: style.css is the product's stylesheet, and the
 * shop is not the product. What is here is what a shop needs and the app
 * never will - a sum with tax in it, and the box somebody types an order
 * number into.
 *
 * A file rather than a <style> block because the policy these pages are
 * served with says `style-src 'self'`, and an inline block is dropped
 * without a word. The page renders, in Times New Roman, and looks like a
 * bug in the server.
 */

/* ---- the sum ---------------------------------------------------------
   Net, tax, total, one per line, with the numbers in a column that lines
   up. The page said "€50 net" and one sentence about reverse charge, which
   is true and is not an answer to "what will the invoice say": that number
   is either 50 or 59.50 and the buyer should not be the one multiplying. */
.sums { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sums th { text-align: left; font-weight: 400; color: var(--g400); padding: 3px 0; }
.sums td { text-align: right; padding: 3px 0; white-space: nowrap; }
.sums .what th { color: var(--g100); font-weight: 600; padding-bottom: 8px; }
.sums .gross th, .sums .gross td { font-weight: 700; color: var(--g100); font-size: 1.05rem;
  padding-top: 8px; border-top: 1px solid var(--line); }
/* Why the tax line says what it says. It changes as the VAT ID field is
   typed in, so it is part of the sum rather than a footnote under it. */
.vatnote { margin: 10px 0 0; font-size: .82rem; color: var(--g600); line-height: 1.5; }

/* The gross price on a package card, under the net one. Small, because the
   buyer of a hundred wristbands is a business and thinks in net - but not
   absent, because the buyer of ten is often not. */
.pricegross { margin: -6px 0 10px; font-size: .8rem; color: var(--g500); }

/* ---- where is my order ----------------------------------------------
   A buyer has a number and, until now, nowhere to put it. Two fields
   rather than one: the number alone would let anybody who guesses a number
   read somebody else's order, and an order carries a name and an address. */
.trackform { max-width: 34rem; }
.trackresult { margin-top: 16px; }
.trackresult h3 { margin: 0 0 10px; font-size: 1.05rem; }
.trackresult .mono { font-family: var(--mono); }

/* The stages an order goes through, as a list that says which one it is at.
   The passed ones are `.past` and not `.done`, because `.done` is already
   the name of the panel this list sits inside - it drew a bordered box
   round every line that had been reached.
   Three of them, because three is how many this shop actually has - a row
   of five steps with two that can never light up is a picture of somebody
   else's shop. */
.stages { list-style: none; margin: 14px 0 0; padding: 0; }
.stages li { position: relative; padding: 0 0 14px 26px; color: var(--g600);
  font-size: .92rem; line-height: 1.45; }
.stages li::before { content: ""; position: absolute; left: 4px; top: 5px;
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line); background: var(--fill); }
/* The line between the dots, drawn down from each one but the last. */
.stages li::after { content: ""; position: absolute; left: 8px; top: 17px; bottom: 2px;
  width: 2px; background: var(--line); }
.stages li:last-child::after { display: none; }
.stages li.past { color: var(--g400); }
.stages li.past::before { border-color: var(--primary); background: var(--primary); }
.stages li.past::after { background: var(--primary); }
.stages li.now { color: var(--g100); font-weight: 600; }
.stages li.stopped::before { border-color: var(--bad, #ff453a); background: var(--bad, #ff453a); }
.stages li b { display: block; font-weight: 600; color: inherit; }
.stages li span { font-weight: 400; color: var(--g600); }

