body.is-alert-open {
  overflow: hidden;
}

.dolbom-alert {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.dolbom-alert[hidden] {
  display: none;
}
.dolbom-alert__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.dolbom-alert__dialog {
  position: relative;
  width: 100%;
  padding: 2rem;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 1.6rem 3.6rem rgba(0, 0, 0, 0.18);
}
.dolbom-alert__content {
  padding: 0.2rem 0 2.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.dolbom-alert__title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.35;
}
.dolbom-alert__message {
  margin-top: 3.4rem;
  color: #333;
  font-size: 1.5rem;
  line-height: 1.6;
  white-space: pre-line;
  word-break: keep-all;
}
.dolbom-alert__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.dolbom-alert__actions.is-single {
  grid-template-columns: minmax(0, 1fr);
}
.dolbom-alert__button {
  min-height: 5rem;
  border-radius: 1rem;
  color: #fff;
  font-size: 1.5rem;
  transition: transform 0.14s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.dolbom-alert__button:focus-visible {
  outline: 0.2rem solid rgba(232, 72, 90, 0.35);
  outline-offset: 0.2rem;
}
.dolbom-alert__button:active {
  transform: translateY(0.1rem);
}
.dolbom-alert__button--confirm {
  order: 2;
  background: #e8485a;
  box-shadow: 0 0.8rem 2rem rgba(232, 72, 90, 0.2);
}
.dolbom-alert__button--cancel {
  order: 1;
  background: #aaaaaa;
}
.dolbom-alert.is-cancel-primary .dolbom-alert__button--confirm {
  order: 1;
  background: #aaaaaa;
  box-shadow: none;
}
.dolbom-alert.is-cancel-primary .dolbom-alert__button--cancel {
  order: 2;
  background: #e8485a;
  box-shadow: 0 0.8rem 2rem rgba(232, 72, 90, 0.2);
}
@media (hover: hover) and (pointer: fine) {
  .dolbom-alert__button:hover {
    opacity: 0.8;
  }
}
@media screen and (min-width: 768px) {
  .dolbom-alert__dialog {
    width: min(100%, 36rem);
    padding: 2.4rem;
  }
  .dolbom-alert__title {
    font-size: 2rem;
  }
}
