/* Compact SweetAlert2 toasts: undo Velzon's modal-sized swal2 title/text/close for toasts.
   Loaded by every portal header and auth header. */
.swal2-container .swal2-popup.swal2-toast {
  width: 360px;
  max-width: calc(100vw - 32px);
  padding: 12px 14px;
  overflow: hidden;
  /* flexible rows above/below the text absorb the icon's extra height, so title/text sit centred */
  grid-template-rows: 1fr auto auto 1fr;
}
.swal2-container .swal2-popup.swal2-toast .swal2-icon {
  grid-row: 1 / 5;
  align-self: center !important;
  margin: 0 12px 0 0;
}
.swal2-container .swal2-popup.swal2-toast .swal2-title {
  grid-row: 2;
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}
.swal2-container .swal2-popup.swal2-toast .swal2-html-container {
  grid-row: 3;
  margin: 2px 0 0;
  padding: 0;
  color: inherit;
  font-size: 13px;
  text-align: left;
}
.swal2-container .swal2-popup.swal2-toast .swal2-close {
  grid-row: 1 / 5;
  align-self: center !important;
  width: 24px;
  height: 24px;
  margin: 0 0 0 8px;
  color: inherit;
  opacity: .7;
  font-size: 22px;
}
.swal2-container .swal2-popup.swal2-toast .swal2-close:hover {
  opacity: 1;
}
/* components/sweet-alert.blade.php ends every error with <br/>; hide the trailing blank line */
.swal2-container .swal2-popup.swal2-toast .swal2-title br:last-child {
  display: none;
}
