.bs-alert-open {
  overflow: hidden;
}

.bs-alert-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  box-sizing: border-box;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 18px;
  border: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(5, 30, 38, 0.56);
  opacity: 0;
  transition: opacity 150ms ease;
  color-scheme: light;
}

dialog.bs-alert-overlay[open],
div.bs-alert-overlay {
  display: grid;
}

dialog.bs-alert-overlay::backdrop {
  background: transparent;
}

.bs-alert-overlay.is-visible {
  opacity: 1;
}

.bs-alert-popup {
  --bs-alert-accent: #007492;
  --bs-alert-icon-stroke: #007492;
  --bs-alert-icon-fill: #eef7fb;
  width: min(100%, 430px);
  padding: 25px 25px 22px;
  border: 1px solid rgba(219, 231, 232, 0.96);
  border-radius: 16px;
  color: #526970;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(5, 30, 38, 0.28);
  transform: scale(0.94) translateY(8px);
  transition: transform 170ms ease;
  font-family: Comfortaa, "Segoe UI", Arial, Helvetica, sans-serif;
  color-scheme: light;
}

.bs-alert-popup .swal-title-clean,
.bs-alert-popup .bs-alert-text,
.bs-alert-popup .bs-alert-actions button {
  font-family: "Comfortaa", ui-rounded, system-ui, sans-serif !important;
}

.bs-alert--success {
  --bs-alert-accent: #0d7a60;
  --bs-alert-icon-stroke: #0d7a60;
  --bs-alert-icon-fill: #eef8f3;
}

.bs-alert--warning {
  --bs-alert-accent: #c28732;
  --bs-alert-icon-stroke: #b87927;
  --bs-alert-icon-fill: #fff6e9;
}

.bs-alert--info,
.bs-alert--question {
  --bs-alert-accent: #007492;
  --bs-alert-icon-stroke: #0a7892;
  --bs-alert-icon-fill: #eef7fb;
}

.bs-alert--error,
.bs-alert--delete {
  --bs-alert-accent: #c94c48;
  --bs-alert-icon-stroke: #d45f56;
  --bs-alert-icon-fill: #fdf1f0;
}

.bs-alert-overlay.is-visible .bs-alert-popup {
  transform: scale(1) translateY(0);
}

.bs-alert-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  inline-size: 44px;
  block-size: 44px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 13px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bs-alert-icon-fill, #eef7fb);
  box-sizing: border-box;
  line-height: 0;
  flex: 0 0 44px;
  transform: none !important;
  scale: 1 !important;
  clip-path: circle(50% at 50% 50%);
}

.bs-alert-icon svg,
.bs-alert-icon-svg {
  width: 25px;
  height: 25px;
  display: block;
  overflow: visible;
}

.bs-alert-icon-symbol {
  fill: none;
  stroke: var(--bs-alert-icon-stroke, #007492);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bs-alert-icon-symbol--dot {
  stroke-width: 2.35;
}

.swal-title-clean {
  margin: 0 0 10px !important;
  padding: 0 5px !important;
  color: #26363e !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
}

.bs-alert-text {
  color: #677985;
  font-size: max(var(--bs-font-control, 0.6875rem), var(--bs-font-label, 0.625rem));
  line-height: 1.55;
  text-align: center;
  overflow-wrap: anywhere;
}

.swal2-actions,
.bs-alert-actions {
  margin-top: 18px;
  display: flex !important;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px !important;
}

.btn-modal,
.bs-swal-button,
[data-bs-swal-button] {
  height: var(--bs-swal-button-height, 38px);
  min-width: var(--bs-swal-button-min-width, 110px);
  padding: 0 var(--bs-swal-button-padding-x, 14px);
  border: 1px solid transparent;
  border-radius: var(--bs-swal-button-border-radius, 8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bs-swal-button-font-family, "Comfortaa", ui-rounded, system-ui, sans-serif);
  font-size: max(
    var(--bs-font-label, 0.625rem),
    calc(var(--bs-font-control, 0.6875rem) - 1px)
  );
  font-weight: var(--bs-swal-button-font-weight, 700);
  line-height: 1;
  letter-spacing: var(--bs-swal-button-letter-spacing, 0);
  text-transform: var(--bs-swal-button-text-transform, none);
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
  color-scheme: light;
  transition:
    filter var(--bs-swal-button-transition-duration, 0.16s) var(--bs-swal-button-transition-timing, ease),
    box-shadow var(--bs-swal-button-transition-duration, 0.16s) var(--bs-swal-button-transition-timing, ease),
    border-color var(--bs-swal-button-transition-duration, 0.16s) var(--bs-swal-button-transition-timing, ease),
    background-color var(--bs-swal-button-transition-duration, 0.16s) var(--bs-swal-button-transition-timing, ease);
}

.btn-modal-save,
.bs-swal-confirm,
[data-bs-swal-button="confirm"] {
  color: #ffffff;
  border-color: var(--bs-alert-accent, #007492);
  background: var(--bs-alert-accent, #007492);
  box-shadow: none;
}

.btn-modal-cancel,
.bs-swal-cancel,
[data-bs-swal-button="cancel"] {
  color: #02465d;
  border-color: rgba(2, 70, 93, 0.22);
  background: #ffffff;
  box-shadow: none;
}

.btn-modal-deny,
.bs-swal-deny,
[data-bs-swal-button="deny"] {
  color: #ffffff;
  border-color: #c94c48;
  background: #c94c48;
  box-shadow: none;
}

/* Todos os textos de ação usam o mesmo tamanho do Cancelar, preservando KATO4. */
.bs-alert-actions .bs-alert-button,
.bs-alert-actions .btn-modal-deny {
  font-size: max(
    var(--bs-font-label, 0.625rem),
    calc(var(--bs-font-control, 0.6875rem) - 1px)
  ) !important;
}

/* Quando há mais de uma ação, a ação não default recebe cinza somente no hover. */
.bs-alert-actions .bs-alert-button--secondary:hover {
  background: #f7f7f7 !important;
  filter: none !important;
}

.btn-modal:hover,
.bs-swal-button:hover,
[data-bs-swal-button]:hover {
  filter: brightness(0.98);
}

.btn-modal:active,
.bs-swal-button:active,
[data-bs-swal-button]:active {
  filter: brightness(0.96);
}

.btn-modal:focus-visible,
.bs-swal-button:focus-visible,
[data-bs-swal-button]:focus-visible {
  outline: var(--bs-swal-button-focus-ring-size, 3px) solid var(--bs-swal-button-focus-ring-color, rgba(42, 159, 176, 0.25));
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .bs-alert-popup {
    padding: 23px 18px 20px;
  }

  .bs-alert-actions {
    gap: 12px !important;
  }

  .btn-modal,
  .bs-swal-button,
  [data-bs-swal-button] {
    min-width: var(--bs-swal-mobile-button-min-width, 105px);
  }
}

.bs-alert-popup.client-delete-choice-alert {
  width: min(100%, 590px);
}

.client-delete-choice-actions {
  flex-wrap: nowrap !important;
  gap: 22px !important;
}

.client-delete-choice-actions > button {
  flex: 0 0 auto;
}

@media (max-width: 520px) {
  .bs-alert-popup.client-delete-choice-alert {
    width: min(100%, 480px);
    padding-inline: 18px;
  }

  .client-delete-choice-actions {
    gap: 8px !important;
  }

  .client-delete-choice-actions > button {
    min-width: 0 !important;
    padding-inline: 9px;
    font-size: max(var(--bs-font-control, 0.6875rem), var(--bs-font-label, 0.625rem));
  }
}
/* BSALERT_INFO_STANDALONE_V3462 */
.bs-alert--info .bs-alert-icon svg,
.bs-alert--info .bs-alert-icon-svg {
  width: 29px;
  height: 29px;
}

.bs-alert--info .bs-alert-icon-symbol {
  stroke-width: 2.05;
}

.bs-alert--info .bs-alert-icon-symbol--dot {
  stroke-width: 2.75;
}
