/* internal/assets/css/app.css */

/* ── Layout ─────────────────────────────────────────────────────────────── */
body        { font-size: 0.9rem; }
main        { min-height: calc(100vh - 120px); }

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.navbar-brand { letter-spacing: .05em; }

/* ── Tables ─────────────────────────────────────────────────────────────── */
.table-sm td,
.table-sm th  { padding: .25rem .5rem; }

/* ── Part type badges ───────────────────────────────────────────────────── */
.badge-oe    { background-color: #0d6efd; }
.badge-oem   { background-color: #0dcaf0; color: #000; }
.badge-am    { background-color: #6c757d; }
.badge-stock { background-color: #198754; }

/* ── Offer page – two-column layout ────────────────────────────────────── */
.offer-left  { max-height: calc(100vh - 130px); overflow-y: auto; }
.offer-right { position: sticky; top: 70px; }

/* ── Search result groups ────────────────────────────────────────────────── */
.result-group       { border-left: 3px solid #dee2e6; padding-left: .75rem; margin-bottom: 1rem; }
.result-group:hover { border-left-color: #0d6efd; }
.result-row         { cursor: pointer; transition: background .1s; }
.result-row:hover   { background: #f8f9fa; }
.result-row.selected{ background: #e7f1ff; }

/* ── Settings page ───────────────────────────────────────────────────────── */
.setting-row + .setting-row { border-top: 1px solid #f0f0f0; padding-top: .75rem; }

/* ── Monospace for codes ─────────────────────────────────────────────────── */
.font-monospace { font-family: 'SFMono-Regular', Consolas, monospace; }

/* ── Debug panel ─────────────────────────────────────────────────────────── */
#debugPanel .offcanvas-body { font-size: .8rem; }

/* ── Progress bar for jobs ───────────────────────────────────────────────── */
.job-progress .progress { height: 1.25rem; }
