/* FirmCheck — checker pages (VAT / KRS) */
.checker { padding: 48px 0 64px; }
.checker-head { text-align: center; max-width: 560px; margin: 0 auto 28px; }
.checker-ico { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.checker-ico svg { width: 30px; height: 30px; }
.checker-ico.vat { background: linear-gradient(135deg, #3b82f6, #1e40af); }
.checker-ico.krs { background: linear-gradient(135deg, #6366f1, var(--indigo-dark)); }
.checker-head h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -.8px; }
.checker-head p { color: var(--slate); font-size: 16px; margin-top: 10px; }

.app-card {
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 26px;
}
.app-card label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--slate); margin-bottom: 8px; }
.input-row { display: flex; gap: 10px; }
.input-row input {
  flex: 1; padding: 13px 15px; border: 1px solid #cbd5e1; border-radius: 10px;
  font-size: 17px; font-family: ui-monospace, "SF Mono", monospace; color: var(--ink); background: #fff;
}
.input-row input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.input-row button {
  padding: 13px 24px; background: var(--indigo); color: #fff; border: none; border-radius: 10px;
  font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.input-row button:hover { background: var(--indigo-dark); }
.input-row button:disabled { background: #94a3b8; cursor: not-allowed; }

.hidden { display: none !important; }

#statusBox { margin-top: 18px; padding: 13px 15px; border-radius: 10px; font-size: 14px; }
#statusBox.info { background: #eef2ff; color: var(--indigo-darker); }
#statusBox.error { background: #fef2f2; color: #991b1b; }
#statusBox.loading { background: #f8fafc; color: var(--slate); }

#resultBox { margin-top: 20px; }

.title-block { margin-bottom: 12px; }
.title-name { font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.title-form { font-size: 12px; color: var(--indigo); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin-top: 4px; }

.row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f1f5f9; }
.row:last-child { border-bottom: none; }
.row .label { font-size: 12px; color: var(--muted); text-transform: uppercase; font-weight: 700; letter-spacing: .3px; flex-shrink: 0; }
.row .value { font-size: 15px; color: var(--ink); text-align: right; word-break: break-word; }
.row .value.mono { font-family: ui-monospace, "SF Mono", monospace; }
.value.status-czynny { color: var(--ok); font-weight: 700; }
.value.status-zwolniony { color: var(--warn); font-weight: 700; }
.value.status-niezarejestrowany { color: var(--err); font-weight: 700; }

.copy-btn { margin-left: 8px; padding: 3px 9px; font-size: 12px; background: #eef2ff; color: var(--indigo-dark); border: none; border-radius: 6px; cursor: pointer; font-weight: 700; vertical-align: middle; }
.copy-btn:hover { background: #e0e7ff; }
.copy-btn.copied { background: var(--ok); color: #fff; }

.accounts { margin-top: 14px; padding-top: 14px; border-top: 1px solid #f1f5f9; }
.accounts h2, .section h2 { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 10px; }
.accounts ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.accounts li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; background: #f8fafc; border-radius: 8px; font-family: ui-monospace, monospace; font-size: 14px; color: #1f2937; }
.accounts li.empty { justify-content: flex-start; color: #94a3b8; font-family: inherit; font-style: italic; }

.section { margin-top: 16px; padding-top: 16px; border-top: 1px solid #f1f5f9; }
.pkd-main { background: #eef2ff; border: 1px solid #e0e7ff; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
.pkd-code { font-family: ui-monospace, monospace; font-size: 13px; font-weight: 800; color: var(--indigo-dark); }
.pkd-tag { display: inline-block; font-size: 10px; font-weight: 800; color: var(--indigo-dark); background: #c7d2fe; border-radius: 5px; padding: 2px 7px; margin-left: 8px; text-transform: uppercase; letter-spacing: .3px; }
.pkd-desc { font-size: 14px; color: #334155; margin-top: 5px; line-height: 1.4; }
.pkd-list { list-style: none; }
.pkd-list li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f1f5f9; align-items: baseline; }
.pkd-list li:last-child { border-bottom: none; }
.pkd-list .pkd-code { min-width: 62px; flex-shrink: 0; }
.pkd-list .pkd-desc { margin-top: 0; }
details.pkd-more { margin-top: 8px; }
details.pkd-more > summary { cursor: pointer; font-size: 14px; color: var(--indigo); font-weight: 600; list-style: none; padding: 6px 0; }
details.pkd-more > summary::-webkit-details-marker { display: none; }
details.pkd-more > summary::before { content: "▸ "; }
details.pkd-more[open] > summary::before { content: "▾ "; }

.rep-method { font-size: 14px; color: #334155; line-height: 1.45; background: #f8fafc; border-radius: 8px; padding: 11px 13px; margin-top: 6px; }
.masked-note { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.4; font-style: italic; }
.info-note { margin-top: 14px; padding: 12px 14px; background: #eef2ff; border-radius: 10px; font-size: 14px; color: var(--indigo-darker); line-height: 1.45; }
.verified-note { margin-top: 16px; padding-top: 12px; border-top: 1px solid #f1f5f9; font-size: 12px; color: #94a3b8; text-align: center; line-height: 1.4; }

.checker-foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 22px; }
.checker-back { text-align: center; margin-top: 14px; }

@media (max-width: 560px) {
  .input-row { flex-direction: column; }
  .input-row button { width: 100%; }
  .app-card { padding: 20px; }
}
