/* Meeri: /verify (receipt check) and /verify-decision (owner's Accept / Reject).
   Loaded after main.css and brand.css. No inline styles are allowed on these pages (CSP), so every rule lives here.
   Roost's own colours appear only on the result: teal #0D5F5A and the blue tick #1D9BF0. */

body.m-site .page-container { max-width: 640px; gap: 28px; padding-top: 48px; }
body.m-site .page-header { gap: 12px; }
body.m-site .page-header h1 { font-family: var(--m-display); font-size: clamp(1.9rem, 6vw, 2.6rem); letter-spacing: -.035em; line-height: 1.05; }
.verify-logo { width: 56px; height: 56px; }

/* ---- The card ---- */
.verify-card {
  background: #fff;
  border: 1px solid #E9DCBD;
  border-radius: 20px;
  padding: 32px 22px;
  box-shadow: 0 6px 24px rgba(30, 27, 22, .05);
}
.verify-card[data-state="valid"] { border: 1px solid #E9DCBD; border-top: 5px solid #0D5F5A; background: #fff; }
.verify-card[data-state="notfound"],
.verify-card[data-state="error"],
.verify-card[data-state="notice"] { border-color: #E9DCBD; }

.verify-icon { background: #F7EACB; color: #9A5600; }
.verify-icon-ok { background: #0D5F5A; color: #fff; }
.verify-icon-info { background: #F7EACB; color: #1E1B16; }
.verify-title { font-family: var(--m-display); letter-spacing: -.02em; }

/* "Valid receipt" chip, then the business name large */
.verify-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: #E3F1EF; color: #0D5F5A; font-weight: 700; font-size: .95rem;
}
.verify-chip svg { width: 18px; height: 18px; flex: none; }
.verify-business { font-family: var(--m-display); font-size: clamp(1.7rem, 7vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; overflow-wrap: anywhere; }
.verify-city { color: var(--muted); font-size: 1.02rem; margin-top: -8px; }

/* Verified / not verified line: the shape of the icon and the words tell them apart, not colour alone */
.verify-badge {
  display: flex; align-items: flex-start; gap: 10px; text-align: left;
  max-width: 440px; padding: 10px 14px; border-radius: 14px; font-weight: 700; font-size: 1rem; line-height: 1.35;
}
.verify-badge[hidden] { display: none; }
.verify-badge svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.verify-badge-ok { background: #EAF5FE; border: 1px solid #BFDDF7; color: #0B4F8A; }
.verify-badge-ok svg { color: #1D9BF0; }
.verify-badge-no { background: #FFF6DC; border: 1px solid #EBCB78; color: #1E1B16; }
.verify-badge-no svg { color: #9A5600; }
.verify-badge-sub { color: var(--muted); font-size: 1rem; max-width: 440px; margin-top: -4px; }
.verify-badge-sub[hidden] { display: none; }

.verify-list { border-top: 1px solid #E9DCBD; }
.verify-row { border-bottom: 1px solid #F7EACB; }
.verify-row dt { color: var(--muted); }
.verify-note, .verify-compare { font-size: .95rem; }

/* ---- Buttons and fields ---- */
.verify-btn { border-radius: 12px; min-height: 48px; }
.verify-btn:disabled { opacity: .6; cursor: not-allowed; }
.verify-btn:focus-visible, .verify-input:focus-visible, .verify-file:focus-visible + .verify-btn { outline: 3px solid #1E1B16; outline-offset: 2px; }
.verify-btn-outline { color: #1E1B16; border-color: #1E1B16; }
.verify-btn-outline:hover { background: #F7EACB; color: #1E1B16; border-color: #1E1B16; }
.verify-input { border-color: #8C8472; border-radius: 12px; }
.verify-options { border: 1px solid #E9DCBD; border-radius: 20px; box-shadow: 0 6px 24px rgba(30, 27, 22, .05); }
.verify-form .verify-btn { width: 100%; }
.verify-form textarea.verify-input { width: 100%; letter-spacing: 0; font-weight: 500; font-size: 1.05rem; line-height: 1.45; resize: vertical; min-height: 112px; }
.verify-field-msg { border-left-color: #9A5600; }
.verify-help a { text-decoration-color: #F2A20C; }

/* ---- Owner's page: Accept (teal) and Reject (calm red) ---- */
.verify-btn-accept { background: #0D5F5A; border-color: #0D5F5A; color: #fff; }
.verify-btn-accept:hover { background: #0A4D49; border-color: #0A4D49; }
.verify-btn-reject { background: #A33228; border-color: #A33228; color: #fff; }
.verify-btn-reject:hover { background: #862A21; border-color: #862A21; }
.verify-decision .verify-text { max-width: 460px; }
.verify-decision .verify-state[data-state="confirm"] { align-items: stretch; text-align: left; }
.verify-decision .verify-state[data-state="confirm"] .verify-title,
.verify-decision .verify-state[data-state="confirm"] .verify-text { text-align: center; align-self: center; }
.verify-decision .verify-form label { font-size: 1rem; }
.verify-decision #dReasonBox { display: flex; flex-direction: column; gap: 10px; }
.verify-decision #dReasonBox[hidden] { display: none; }

@media (max-width: 400px) {
  .verify-card { padding: 26px 16px; }
  .verify-options { padding: 20px 16px; }
}
