/* ── Base ─────────────────────────────────────────────────────────────────── */
body {
    font-size: 0.9rem;
    background-color: #f5f6fa;
}

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.navbar-brand {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

/* ── Login ────────────────────────────────────────────────────────────────── */
.login-card {
    border-radius: 1rem;
    border: none;
}

/* ── Table ────────────────────────────────────────────────────────────────── */
.table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    font-weight: 600;
    border-top: none;
}

.table td {
    vertical-align: middle;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(13, 110, 253, 0.04);
}

/* ── Number chips ────────────────────────────────────────────────────────── */
.num-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f1f3;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: inherit;
    border: none;
}
.num-chip:hover {
    background: #dbeafe;
    color: #0d6efd;
}
.num-chip .bi {
    font-size: 0.7rem;
    color: #6c757d;
}
.num-chip:hover .bi {
    color: #0d6efd;
}

/* ── Toast ────────────────────────────────────────────────────────────────── */
#callToast.bg-success { --bs-toast-bg: #198754; color: #fff; }
#callToast.bg-danger  { --bs-toast-bg: #dc3545; color: #fff; }

/* ── Highlight search match ──────────────────────────────────────────────── */
mark {
    background-color: #fff3cd;
    padding: 0 1px;
    border-radius: 2px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 576px) {
    .num-chip { padding: 2px 7px; font-size: 0.78rem; }
}
