/* kpm.css — diekstrak dari blok <style> kpm.html (kartu, tabel, tracer). */

.badge-sumber-apbd {
    background-color: #475569;
    color: #fff;
}
.badge-sumber-papbd {
    background-color: #0f766e;
    color: #fff;
}
.tracer-history-item {
    border-left: 2px solid var(--brand);
    padding-left: 12px;
    margin-bottom: 12px;
    position: relative;
}
.tracer-history-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
}
/* Form entry tracer — angka tidak terpotong, tanpa spinner number */
.kpm-ekor-grid .input-group {
    flex-wrap: nowrap;
}
.kpm-ekor-grid input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
.kpm-ekor-grid input[type="number"]::-webkit-outer-spin-button,
.kpm-ekor-grid input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.kpm-ekor-grid .form-control {
    min-width: 0;
}
#entrySisaAyam {
    font-size: 1.4rem;
}
/* Pastikan tabel KPM bisa digeser/scroll horizontal secara mulus di mobile */
.table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
}
#kpmTable {
    min-width: 720px;
}
#kpmTable th {
    white-space: nowrap;
}
#kpmTable td {
    vertical-align: middle;
}
