/* ══════════════════════════════════════════════════════════════════════════
   RESEARCH EGYPT ACADEMY — the certificate check's result card
   (resources/views/certificate/verify.blade.php; loaded after
   pages/auth.css, whose frame, card, field and submit it reuses).

   The result is its own white card under the search card: a status pill
   (valid = green, revoked = red), then the certificate's facts as label /
   value rows on hairlines, the holder's name set large because it is the
   one fact the page exists to state. A serial that matches nothing is a
   plain error note. Rises in with the rest of the stack (auth.css).
   ══════════════════════════════════════════════════════════════════════════ */

/* the serial box: the home page's field (label above, 54px input) */
.vf-search { display: grid; gap: 18px; }
.vf-search__field { display: grid; gap: 8px; }

.vf-result { min-width: 0; }
.vf-card {
  min-width: 0; padding: clamp(22px, 2.6vw, 36px);
  border-radius: var(--r-lg, 34px); background: var(--c-card); border: 1px solid var(--c-line-2);
  box-shadow: 0 40px 100px -50px var(--c-shadow);
}
.vf-card__body { display: grid; gap: 18px; }

.vf-status {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 16px 0 12px; padding-inline: 12px 16px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px;
}
.vf-status .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.vf-status--ok { background: var(--ok-soft, #DFF3EA); color: var(--c-ok); }
.vf-status--revoked { background: color-mix(in srgb, var(--c-error) 12%, var(--c-card)); color: var(--c-error); }
.vf-hint { color: var(--c-text-2); font-size: 15px; line-height: 1.7; }

.vf-rows { display: grid; border-top: 1px solid var(--c-line); }
.ccard__row {
  display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 6px 18px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--c-line);
}
.ccard__row > span { font-size: 13.5px; color: var(--c-muted); }
.ccard__row > b { font-weight: 600; color: var(--c-text); overflow-wrap: anywhere; }
/* serials, dates, codes, hours: tabular figures; each value takes its
   direction from its own first letter (a serial reads LTR, «6 ساعات» RTL) */
.ccard__row > b.mono { font-family: 'Plus Jakarta Sans', 'Readex Pro', system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: .02em; unicode-bidi: plaintext; text-align: start; }
[dir="rtl"] .ccard__row > b.mono { text-align: right; }
.ccard__row > b.vf-name { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.3; }
.vf-card--revoked .ccard__row > b.vf-name { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--c-error) 55%, transparent); text-decoration-thickness: 2px; }

.vf-result > .note { display: grid; gap: 4px; }
.vf-result > .note .vf-hint { font-size: 14.5px; }

@media (max-width: 560px) {
  .vf-card { border-radius: 24px; padding: 20px 18px; }
  .ccard__row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 11px 0; }
}
