@import url("/theme/assets/css/theme.min.css");
@import url("/theme/assets/vendor/datatables5/datatables.min.css");
@import url("/theme/assets/vendor/sweetalert2/sweetalert2.min.css");
@import url("/theme/assets/vendor/summernote/summernote-bs5.min.css");

.summernote-shim,
textarea.summernote-shim,
textarea[data-legacy-summernote="1"] {
  min-height: 8rem;
  resize: vertical;
}

.note-editor.note-frame .note-toolbar {
  display: block !important;
}

.note-editor.note-frame .note-toolbar > .note-btn-group {
  display: inline-flex !important;
  flex-wrap: wrap;
  vertical-align: middle;
}

.note-editor.note-frame .note-editing-area {
  display: block !important;
}

.note-editor.note-frame .note-editing-area .note-codable {
  display: none !important;
}

.note-editor.note-frame.codeview .note-editing-area .note-codable {
  display: block !important;
}

.note-editor.note-frame .note-editing-area .note-editable {
  display: block !important;
  min-height: 12rem;
}

.swal2-container.swal2-shim {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.45);
}

.swal2-container.swal2-shim .swal2-popup {
  width: min(32rem, 100%);
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.22);
  padding: 1.25rem 1.25rem 1rem;
}

.swal2-container.swal2-shim .swal2-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #132144;
}

.swal2-container.swal2-shim .swal2-html-container {
  color: #4b5563;
  margin-bottom: 1rem;
}

.swal2-container.swal2-shim .swal2-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.swal2-container.swal2-shim .swal2-confirm,
.swal2-container.swal2-shim .swal2-cancel {
  border: 0;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  font: inherit;
  cursor: pointer;
}

.swal2-container.swal2-shim .swal2-confirm {
  background: #377dff;
  color: #fff;
}

.swal2-container.swal2-shim .swal2-cancel {
  background: #eef2f7;
  color: #1f2937;
}

.swal2-container.swal2-shim .swal2-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.swal2-container.swal2-shim .swal2-loading::before {
  content: "";
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(55, 125, 255, 0.25);
  border-top-color: #377dff;
  border-radius: 999px;
  animation: legacy-ui-spin 0.8s linear infinite;
}

.legacy-ui-hidden {
  display: none !important;
}

@keyframes legacy-ui-spin {
  to {
    transform: rotate(360deg);
  }
}
