/*
 * SweetAlert2 visual layer.
 * Keep this file loaded AFTER every page stylesheet so generic page rules cannot
 * change the approved CRUD-template SweetAlert appearance.
 */
.swal2-container {
  font-family: "Prompt", sans-serif !important;
}

.swal2-container .swal2-popup {
  border-radius: 18px !important;
  font-family: "Prompt", sans-serif !important;
}

/* base.css assigns Kanit directly to h1-h6, so the title must be reset here. */
.swal2-container .swal2-title {
  font-family: "Prompt", sans-serif !important;
  font-size: 1.02rem !important;
}

.swal2-container .swal2-html-container {
  color: #6b778c !important;
  font-family: "Prompt", sans-serif !important;
  font-size: .8rem !important;
}

.swal2-container .swal2-actions .swal2-confirm,
.swal2-container .swal2-actions .swal2-cancel,
.swal2-container .swal2-actions .swal2-deny {
  border-radius: 10px !important;
  font-family: "Prompt", sans-serif !important;
  font-size: .77rem !important;
}

.swal2-container .swal2-input,
.swal2-container .swal2-textarea,
.swal2-container .swal2-select {
  font-family: "Prompt", sans-serif !important;
}

/* Do not let authenticated-page Bootstrap normalization leak into Swal controls. */
body:not([data-page="login"]) .swal2-container .swal2-styled {
  min-height: initial;
}
