
/*!
 * Bootstrap Modal Only - Extracted from Bootstrap v5.3.0
 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal.show {
  display: block;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  pointer-events: none;
}
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}
.modal.show .modal-dialog {
  transform: translate(0, 0);
  pointer-events: auto;
}
.modal-content {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  outline: 0
}

.modal-body {
  max-height: 70vh;
  overflow-y: auto;
  padding: 1.5rem;
}

.modal-header,
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
}
.modal-footer {
  border-top: 1px solid #dee2e6;
}
.modal-body {
  max-height: 75vh;
  overflow-y: auto;
}
.btn-close {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath d='M2.146 2.146a.5.5 0 011 .708L3.207 3l4.647 4.646a.5.5 0 01-.708.708L3 3.707l-4.646 4.647a.5.5 0 11-.708-.708L2.293 3 .146 2.146z'/%3E%3C/svg%3E") center/1em auto no-repeat;
  border: none;
  width: 1.5rem;
  height: 1.5rem;
  opacity: 1;
}
.modal-dialog {
  max-width: 720px; /* hoặc 600px nếu muốn gọn */
  margin: 1.75rem auto;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .modal-dialog {
    max-width: 90%;
    margin: 1rem auto;
  }
}

.modal-content {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

