/* pw-clone supplement styles — additions only, no overrides of the original CSS.
 * The original stylesheet (/_next/static/chunks/*.css) still owns every
 * captured class; these rules only style the JS-driven bits it has no rules for.
 */

/* header cart badge (small dot on the account pill) */
.hacct { position: relative; }
.pw-cbadge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent, #2f4b66);
  color: #fff;
  font-family: var(--mono, monospace);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  pointer-events: none;
}

/* requisition lines rendered by site.js — grid follows the original .reqitem
   template (vial / name / qty / unit price / subtotal / remove) */
.pw-lines[hidden], #pw-summary[hidden], .reqempty[hidden], .pw-minnote[hidden] { display: none; }

/* unit-price cell: quieter than the subtotal */
.pw-lines .pw-unit {
  font-weight: 400;
  color: var(--ink-2, #5c6672);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  font-family: var(--mono, monospace);
}

/* kits number input inside the original .qtystep pill */
.pw-lines .qtystep .pw-kitin {
  border: 0;
  border-left: 1px solid var(--line, #e6e3db);
  border-right: 1px solid var(--line, #e6e3db);
  text-align: center;
  width: 64px;
  font-family: var(--mono, monospace);
  color: var(--ink, #1a1a16);
  background: transparent;
  padding: 11px 6px;
  font-size: 14px;
  -moz-appearance: textfield;
}
.pw-lines .qtystep .pw-kitin::-webkit-outer-spin-button,
.pw-lines .qtystep .pw-kitin::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* toast */
.pw-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  z-index: 300;
  max-width: min(92vw, 480px);
  background: var(--ink, #1a1a16);
  color: #fff;
  font-size: 13.5px;
  line-height: 1.45;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(14, 17, 22, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.pw-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* submit button disabled state (original only dims .btn[disabled]; add cursor) */
#pw-requisition-form button[type="submit"][disabled] { cursor: not-allowed; }

/* inline success panel (when /requisition/done is not wired) */
.pw-success h3 {
  font-family: var(--display, inherit);
  font-size: 20px;
  margin: 0 0 8px;
}
.pw-success p { margin: 0; font-size: 14px; line-height: 1.55; }

/* done page (standalone /requisition/done/{order_no}) */
.pw-success .pwono { font-family: var(--mono, monospace); font-weight: 700; }
