/* Demo kodları səhifəsi (16.10.2026) — hrc-portal.css dəyişənləri üzərində. */
.dc-app { display: flex; flex-direction: column; }
.dc-new { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 18px; margin-bottom: 16px; }  /* .hp-card sütun flex-dir */
.dc-new .dc-note { flex: 1 1 320px; margin: 0; }
.dc-new .hp-input input { padding-left: 12px; }
.dc-new .hp-btn { min-width: 140px; }
.dc-result { padding: 16px 18px; margin-bottom: 16px; border-color: var(--hp-accent); }
.dc-result-label { font-size: .86rem; color: var(--hp-text-dim); margin-bottom: 8px; }
.dc-result-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.dc-code { font: 700 1.6rem/1.2 ui-monospace, 'SFMono-Regular', Menlo, monospace; letter-spacing: .08em; color: var(--hp-navy); background: var(--hp-surface-2); padding: 8px 14px; border-radius: 10px; }
.dc-result-hint { margin-top: 8px; font-size: .82rem; color: var(--hp-text-dim); }
.dc-list-card { padding: 0; overflow: hidden; }
.dc-table-wrap { overflow-x: auto; }
.dc-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.dc-table th { text-align: left; font-weight: 600; color: var(--hp-text-dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: 10px 14px; background: var(--hp-surface-2); white-space: nowrap; }
.dc-table td { padding: 10px 14px; border-top: 1px solid var(--hp-border); vertical-align: middle; }
.dc-table td.dc-mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; white-space: nowrap; }
.dc-table td.dc-nowrap { white-space: nowrap; }
.dc-table td.dc-note-cell { min-width: 180px; max-width: 320px; overflow-wrap: break-word; }
.dc-table { min-width: 820px; }  /* dar ekranda cədvəl öz qutusunda üfüqi sürüşür, sütunlar sıxılmır */
.dc-pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.dc-pill.PENDING { background: #fff4e0; color: #8a5a00; }
.dc-pill.ACTIVE { background: #e3f5ee; color: #13704f; }
.dc-pill.USED { background: var(--hp-surface-2); color: var(--hp-text-dim); }
.dc-pill.EXPIRED { background: #f1f1f1; color: #6b6b6b; }
.dc-pill.REVOKED { background: var(--hp-danger-bg); color: var(--hp-danger); }
.dc-revoke { min-height: 30px; padding: 4px 10px; font-size: .8rem; color: var(--hp-danger); border-color: #f0c4c4; white-space: nowrap; }
#dc-loading { padding: 40px 0; display: flex; justify-content: center; }
@media (max-width: 640px) { .dc-code { font-size: 1.3rem; } }
