
/* IEUK practice book UI fixes */
.modal-backdrop { z-index: 1040 !important; }
.modal { z-index: 1050 !important; }
.modal.show { display: block !important; }
/* H) text overlay: keep answer textboxes above decorative layers */
.td-textarea, .form-control-textarea, span.textarea.form-control {
  position: relative;
  z-index: 2;
}
.table-container .table-row { position: relative; z-index: 1; }
/* stuck blank overlay after role-play partner click */
.modal-backdrop.fade:not(.show) { display: none !important; pointer-events: none !important; }

.modal .close, .modal .btn[data-dismiss="modal"], .modal [data-bs-dismiss="modal"] {
  position: relative; z-index: 5; pointer-events: auto !important;
}
.deoModal .modal-body:empty::before {
  content: "Partner sentence is unavailable. Complete the previous practice first.";
  display: block; padding: 12px; color: #444;
}
