.modal-content.custom-modal {
  width: 95vw; /* Nearly full window width */
  max-width: none; /* Remove base max-width constraint */
  height: 85vh; /* Tall modal */
  max-height: 85vh; /* Cap at viewport height */
  display: flex; /* Allow header/body/footer layout */
  flex-direction: column;
}

.modal-content.custom-modal .modal-body {
  flex: 1; /* Fill remaining space */
  overflow: auto; /* Scroll body when content is taller than container */
  text-align: left; /* Better for long instructions */
}