/* Info pages (טרנזקציות, מערכות לוגיסטיות) — additions on top of /assets/styles.css */

.topbar-side { display: flex; gap: 4px; min-width: 96px; }
.topbar-side.end { justify-content: flex-end; }

.page { padding-top: 18px; }
.page-intro { margin: 0 0 12px; text-align: center; font-size: 1rem; font-weight: 600; color: var(--ink-2); }
.page-intro em { font-style: normal; color: var(--brand); font-weight: 800; }

.section-title {
    margin: 22px 2px 8px; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
    color: var(--ink-3);
}
.section-title:first-of-type { margin-top: 6px; }

.page-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.page-links .btn { min-height: 40px; font-size: .88rem; border-color: var(--brand-line); color: var(--brand); }
.page-links .btn:hover { background: var(--brand-soft); }

/* ── Dense list rows (one step smaller than the search results) ── */
.list { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
.row {
    display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px;
    min-height: 40px; padding: 6px 12px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.code {
    direction: ltr; unicode-bidi: isolate;
    font-size: .85rem; font-weight: 700; letter-spacing: .02em; color: var(--brand);
    background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 6px;
    padding: 1px 7px; line-height: 1.6; white-space: nowrap;
}
.code.is-hebrew { direction: rtl; white-space: normal; }
.desc { font-size: .85rem; color: var(--ink-2); line-height: 1.4; }
.row .tag { font-size: .68rem; }
.tag-new { color: #0f5132; border-color: #3fb37f; border-style: solid; background: rgba(63, 179, 127, .12); }
:root[data-theme="dark"] .tag-new { color: #6ee7b7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag-new { color: #6ee7b7; } }

/* ── System tiles (sw) ── */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tile {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 12px 10px; text-align: center; text-decoration: none;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
    color: var(--ink); font-weight: 600; font-size: .88rem;
    transition: border-color .15s, transform .15s;
}
.tile:hover { border-color: var(--brand-line); transform: translateY(-1px); }
.tile-img {
    width: 72px; height: 72px; border-radius: 12px; object-fit: cover;
    background: var(--surface-2); display: grid; place-items: center; color: var(--ink-3);
}
.tile-img svg { width: 30px; height: 30px; }
.tile-name { display: inline-flex; align-items: center; gap: 4px; }
.tile-name svg { width: 13px; height: 13px; opacity: .55; }

/* ── Support rows (sw) ── */
.row .desc.grow { flex: 1; min-width: 140px; font-weight: 600; color: var(--ink); }
.action {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 32px; padding: 0 10px; border-radius: 8px;
    font-size: .82rem; font-weight: 600; text-decoration: none;
    color: var(--brand); background: var(--brand-soft); border: 1px solid var(--brand-line);
}
.action:hover { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.action svg { width: 15px; height: 15px; }
.action .num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }

@media (max-width: 560px) {
    .tiles { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .tile { padding: 10px 4px; font-size: .8rem; }
    .tile-img { width: 56px; height: 56px; }
}

.notfound-text { text-align: center; color: var(--ink-3); font-size: .9rem; margin: 0 0 14px; }
.page-links .btn-primary { color: var(--on-brand); border-color: var(--brand); }
.page-links .btn-primary:hover { background: var(--brand-strong); }
