/* The business sign-in (assets/business/signin.js), on /sell and the dashboard. board.css gives the
   tokens and buttons, maker.css the fields, the checkbox and the problem line; this is the flow's own. */

.biz { min-width: 0; }
.biz-step { margin: 0; }
.biz-intro { margin-bottom: 14px; }
.biz .inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.biz .inline input { flex: 1 1 220px; }
.biz .inline .btn { flex: none; min-height: 44px; }
.biz .problem { margin: 10px 0 0; }
.biz .field + .problem { margin-top: -4px; margin-bottom: 14px; }
.biz-fine { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--tertiary); }
.biz .sent { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--fill); font-size: 15px; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.biz-code { max-width: 220px; font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.biz .again { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 0; }
.biz .again .textbtn { padding: 6px 0; font-size: 14px; }
.biz .field-hint { font-size: 13px; line-height: 1.45; color: var(--secondary); margin: 6px 0 0; }

/* Back and Cancel on the left, the step's own button on the right; stacked on a phone. */
.biz-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 18px; }
.biz-nav { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; }
.biz-nav .textbtn { padding: 6px 0; font-size: 15px; }
.biz-actions .btn { min-height: 44px; }

.biz-title { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.012em; margin: 0 0 6px; }
.biz-title:focus { outline: none; }
.biz-site { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--fill); font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.biz-extra:empty { display: none; }
.biz .terms-check { margin: 4px 0 0; }

.biz-wait { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 6px; font-size: 17px; line-height: 1.35; }
.biz-wait b, .biz-ended b { font-weight: 600; color: var(--ink); }
.biz-wait b:focus, .biz-ended:focus, .biz-ended b:focus { outline: none; }
.biz-wait .spin { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--accent); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.biz-ended { margin: 0; font-size: 16px; line-height: 1.45; color: var(--secondary); }
.biz-step[data-biz-step="waiting"] .sub { margin-bottom: 0; }

/* The quick check's line on a business's home ("Checking Café Brisa…"). */
.check-line { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--tile-shadow); font-size: 15px; line-height: 1.4; color: var(--secondary); }
.check-line .spin { flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--secondary); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.check-line[data-check="review"] .spin { display: none; }

@media (max-width: 560px) {
  .biz .inline .btn { flex: 1 1 auto; }
  .biz-code { max-width: none; }
  .biz-actions { flex-direction: column-reverse; align-items: stretch; }
  .biz-actions .btn { width: 100%; }
  .biz-nav { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .biz-wait .spin, .check-line .spin { animation: none; }
}
