/* rab-form.css */

#rab-form-page .rab-section .card-header {
    background: #f0f4ff;
    border-bottom: 2px solid #c8d8ff;
}

#rab-form-page .rab-sub-header {
    background: #f8f9fa;
    border-left: 3px solid #6c757d;
    padding: 6px 8px;
    border-radius: 4px;
}

#rab-form-page .rab-items-table thead th {
    font-size: 0.8rem;
    white-space: nowrap;
}

#rab-form-page .rab-items-table input.form-control-sm {
    font-size: 0.82rem;
    padding: 2px 6px;
}

#rab-form-page .item-jumlah {
    font-size: 0.85rem;
    min-width: 120px;
}

.autocomplete-dropdown .list-group-item {
    font-size: 0.82rem;
    cursor: pointer;
}

.autocomplete-dropdown .list-group-item:hover {
    background: #e8f0fe;
}

/* ——— Print styles ——— */
@media print {
    .d-print-none { display: none !important; }
    #rab-form-page { margin: 0 !important; }
    .card { box-shadow: none !important; border: 1px solid #ccc !important; }
    .rab-section .card-header { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .btn-add-item, .btn-del-item, .btn-del-subsection,
    .btn-del-section, #btn-add-section, #btn-save-rab, #btn-print-rab { display: none !important; }
    input.form-control { border: none; box-shadow: none; padding: 0; background: transparent; }
    tfoot tr:last-child { display: table-row; }
}
