/* Batch 1b (379): the order note ("Cooking instructions") in the cart, and "Note: ..." on an order's cards. */
.order-note-field { display: grid; gap: 8px; margin: 14px 0 0; }
.order-note-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 2px; }
.order-note-label span { color: var(--text); font-size: 15px; font-weight: 700; }
.order-note-label small { color: var(--muted); font-size: 12px; font-weight: 500; }
#app .order-note-field .order-note-input {
  display: block;
  width: 100%;
  min-height: 76px;
  height: auto;
  margin: 0;
  padding: 13px 15px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--cx-radius-md, 14px);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  text-align: start;
  resize: none;
  outline: none;
}
#app .order-note-field .order-note-input::placeholder { color: var(--muted); opacity: 0.8; }
#app .order-note-field .order-note-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240, 138, 26, 0.12); }
.order-note-count {
  justify-self: end;
  margin-top: -2px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.order-note-count[hidden] { display: none; }
.order-note-count.full { color: var(--danger); }
body.light-theme #app .order-note-field .order-note-input { background: #fff; border-color: #d8d3ca; }

.order-note {
  margin: 10px 0 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.45;
  text-align: start;
  overflow-wrap: anywhere;
}
.order-note strong { color: var(--muted); font-weight: 600; margin-inline-end: 4px; }
.confirmation-screen .order-note { display: inline-block; max-width: 100%; margin-top: 12px; }
body.light-theme .order-note { background: #faf9f6; border-color: #e3e0d8; }
