/* Penyesuaian tampilan panel admin Kanaka (dimuat lewat render hook HEAD_END, lihat AdminPanelProvider). */

/* Tombol hijau: kontras teks putih cukup (WCAG AA) */
.fi-btn.fi-color-primary.fi-bg-color-400,
.fi-btn.fi-color-success.fi-bg-color-400 { background: #15803D; color: #fff; }
.fi-btn.fi-color-primary.fi-bg-color-400:hover,
.fi-btn.fi-color-success.fi-bg-color-400:hover { background: #166534; color: #fff; }
.fi-btn.fi-color-primary .fi-icon,
.fi-btn.fi-color-success .fi-icon { color: inherit; }

/* Tabel lebar: geser halus di layar sentuh */
.fi-ta-content { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }

/* Ponsel & tablet (sidebar tersembunyi): tap target minimal 32px untuk aksi baris, urut kolom, tautan aksi */
@media (max-width: 63.99rem) {
    .fi-ac-link-action,
    .fi-ta-header-cell-sort-btn { min-height: 2rem; }
    .fi-ta-record-actions, .fi-ta-actions { gap: .5rem .75rem; }
    .fi-badge-delete-btn,
    .fi-select-input-value-remove-btn { min-width: 1.5rem; min-height: 1.5rem; justify-content: center; }
}

/* Tablet: repeater mode tabel (jurnal, kas, penerimaan) sempit, jadi prefiks "Rp" disembunyikan di sel
   (judul kolom sudah menjelaskan) agar angka tetap terbaca. Ponsel (mode tumpuk) & desktop tidak berubah. */
@media (min-width: 40rem) and (max-width: 63.99rem) {
    .fi-fo-table-repeater > table > tbody > tr > td .fi-input-wrp-prefix { display: none; }
    .fi-fo-table-repeater > table > tbody > tr > td { padding-inline: .375rem; }
}
