/* Hide above sample sections if needed */
#above-sample-sections > div > .remarks-widget {
    display: none !important;
    flex: 1;
    width: 100%;
}

#ar-attachments {
    display: none;
}

#senaite-sampleheader-form input[type="submit"] {
    display: none;
}

/* -------------------------------------------------------------------------
 * Hide the DateSampled / DateReceived datetime widgets in the sample header.
 *
 * Product decision (EHRPlus): the editable date/time inputs are suppressed
 * for now. The NPT + Bikram Sambat display is rendered below them by the
 * sampleheader viewlet override (get_npt_hint) in edit mode and by the
 * IHeaderTableFieldRenderer adapters in view mode -- that remains visible.
 *
 * The wrapper `.datetimewidget` holds the <input type="date"> and
 * <input type="time"> pair; hiding it leaves the hidden <input> (which
 * carries the submit value) intact so nothing breaks if a save ever fires.
 *
 * TO RESTORE editability later: delete this block.
 * ------------------------------------------------------------------------- */
#senaite-sampleheader-form .datetimewidget:has(input[name^="DateSampled"]),
#senaite-sampleheader-form .datetimewidget:has(input[name^="DateReceived"]) {
    display: none !important;
}


#above-sample-sections > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 8px;
}