/* assets/css/modals.css - helper for large modals (~90% viewport) */
.modal.modal-90 .modal-dialog {
  width: 90vw;
  max-width: 90vw;
  height: 90vh;
  margin: 5vh auto; /* centers with 5% vertical margins */
  display: flex;
  align-items: stretch;
}

.modal.modal-90 .modal-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  border: 1px solid rgba(0,0,0,0.06);
}

.modal.modal-90 .modal-header {
  flex: 0 0 auto;
  border-bottom: 1px solid #e9ecef;
}

.modal.modal-90 .modal-footer {
  flex: 0 0 auto;
  border-top: 1px solid #e9ecef;
  background: transparent;
}

.modal.modal-90 .modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1.5rem;
}

@media (max-width: 576px) {
  .modal.modal-90 .modal-dialog {
    width: 96vw;
    height: 96vh;
    margin: 2vh auto;
  }
}
