/* Belge ve doğrulama sayfaları (belge fazı). Ortak değişkenler app.css :root'tan. */

/* ---- /belge/{no} ---- */
.bl-head { margin-bottom: 16px; }
.bl-back { display: inline-block; font-size: .9rem; text-decoration: none; margin-bottom: 6px; }
.bl-back:hover { text-decoration: underline; }
.bl-sub { margin: 2px 0 0; }
.bl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.bl-preview-wrap { min-width: 0; }
.bl-preview-link { display: block; border-radius: 6px; }
.bl-preview-link:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.bl-preview { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; background: #fff;
  border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 6px 24px rgba(16,24,40,.10), 0 1px 3px rgba(16,24,40,.08); }
.bl-preview-off { display: grid; place-items: center; aspect-ratio: 910 / 1286; max-width: 760px; margin: 0 auto; background: #fff;
  border: 1px dashed #c9d2dd; border-radius: 6px; }
.bl-preview-off-text { text-align: center; color: var(--muted); padding: 24px; }
.bl-preview-off-text strong { display: block; color: var(--text); margin-bottom: 4px; }
.bl-side { position: sticky; top: 16px; }
.bl-actions-card .btn-lg { margin-bottom: 10px; }
.bl-actions-2 { display: grid; gap: 10px; }
.bl-actions-2 .btn { width: 100%; }
.bl-copy-state { min-height: 1.2em; margin: 8px 0 0; text-align: center; }
.bl-copy-state.ok { color: var(--ok); }
.bl-nodl { margin: 0; }
.bl-kv { display: grid; grid-template-columns: 128px 1fr; gap: 8px 12px; margin: 0; font-size: .95rem; }
.bl-kv dt { color: var(--muted); }
.bl-kv dd { margin: 0; overflow-wrap: anywhere; }
.bl-verify-hint { margin: 14px 0 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }

@media (max-width: 860px) {
  .bl-layout { grid-template-columns: 1fr; }
  .bl-side { position: static; order: -1; }
  .bl-actions-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .bl-actions-2 { grid-template-columns: 1fr; }
  .bl-kv { grid-template-columns: 1fr; gap: 2px; }
  .bl-kv dd { margin-bottom: 8px; }
}
@media print {
  .topbar, .footer, .support-fab, .bl-side, .bl-back, .alert { display: none !important; }
  .bl-layout { display: block; }
  .bl-preview { box-shadow: none; border: 0; max-width: 100%; }
}

/* ---- /dogrula ---- */
.vf { max-width: 720px; margin: 0 auto; }
.vf-head { margin-bottom: 16px; }
.vf-result { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; overflow: hidden; }
.vf-status { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; }
.vf-status strong { display: block; font-size: 1.2rem; line-height: 1.3; }
.vf-status span { display: block; }
.vf-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid !important; place-items: center; font-weight: 800; font-size: 1.25rem; color: #fff; }
.vf-valid .vf-status { background: var(--ok-bg); color: #14532d; } .vf-valid .vf-ico { background: var(--ok); } .vf-valid { border-color: #86efac; }
.vf-revoked .vf-status { background: var(--err-bg); color: #7f1d1d; } .vf-revoked .vf-ico { background: var(--err); } .vf-revoked { border-color: #fca5a5; }
.vf-review .vf-status { background: var(--warn-bg); color: #78350f; } .vf-review .vf-ico { background: var(--warn); } .vf-review { border-color: #fcd34d; }
.vf-notfound .vf-status { background: #f1f5f9; color: var(--text); } .vf-notfound .vf-ico { background: #64748b; }
.vf-limited .vf-status { background: var(--warn-bg); color: #78350f; } .vf-limited .vf-ico { background: var(--warn); }
.vf-kv { display: grid; grid-template-columns: 170px 1fr; gap: 8px 14px; margin: 0; padding: 16px 18px; border-top: 1px solid var(--border); }
.vf-kv dt { color: var(--muted); }
.vf-kv dd { margin: 0; overflow-wrap: anywhere; }
.vf-sha-hint { display: block; margin: 0; }
.vf-name { padding: 14px 18px 18px; border-top: 1px solid var(--border); background: #fafbfc; }
.vf-name label { font-weight: 600; font-size: .95rem; }
.vf-name input { max-width: 140px; letter-spacing: .3em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: center; }
.vf-name-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.vf-name-row input { flex: 1 1 180px; }
.vf-name-row .btn { flex: 0 0 auto; }
.vf-form input { text-transform: uppercase; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; }
.vf-form input::placeholder { text-transform: none; letter-spacing: 0; font-family: inherit; }
.vf-form .hint { margin: 10px 0 0; }
.vf-msg { margin: 0 0 8px; font-size: .92rem; }
.vf-msg-err { color: var(--err); }
@media (max-width: 560px) {
  .vf-kv { grid-template-columns: 1fr; gap: 0; }
  .vf-kv dd { margin-bottom: 10px; }
  .vf-name-row .btn { width: 100%; }
  .vf-name input { max-width: none; }
}
