.modal-close-btn {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border: none;
  background: none;
}
.bi-modal-btn{
    border: none;
    background: none;
}
.bi-modal{
    border: none;
    width: fit-content;
    max-width: 600px;
    max-height: 80dvh;
}

/* Final Sheet Compare: issue details need more horizontal room. */
.bi-modal--final-sheet-compare {
    width: min(1280px, 98vw);
    max-width: 98vw;
    max-height: 92dvh;
}

/* File Process Details (MapperImportPrepper View): wider + taller dialog */
.bi-modal--file-process-details {
    max-width: min(1160px, 97vw);
    max-height: 92dvh;
}

/* Domestic capture drill-down in modal */
.bi-modal--domestic-capture {
    width: 90vw;
    max-width: 90vw;
    max-height: 94dvh;
}