.mlms-alert-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(15, 23, 42, 0.54);
  backdrop-filter: blur(3px);
}

.mlms-alert-backdrop.is-open {
  display: flex;
}

.mlms-alert-backdrop.mlms-alert-backdrop--frame {
  inset: auto;
  left: var(--mlms-alert-frame-left, 0);
  top: var(--mlms-alert-frame-top, 0);
  width: var(--mlms-alert-frame-width, 100vw);
  height: var(--mlms-alert-frame-height, 100vh);
  box-sizing: border-box;
}

html.mlms-alert-open {
  overflow: hidden;
}

.mlms-alert-dialog {
  width: min(440px, 100%);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.30);
  color: #111827;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
}

.mlms-alert-head {
  padding: 19px 22px 7px;
  font-size: 18px;
  font-weight: 800;
}

.mlms-alert-body {
  padding: 0 22px 21px;
  white-space: pre-line;
  color: #374151;
  font-size: 15px;
  line-height: 1.55;
}

.mlms-alert-actions {
  display: flex;
  justify-content: flex-end;
  padding: 14px 18px;
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
}

.mlms-alert-btn {
  min-width: 84px;
  height: 40px;
  border: 0;
  border-radius: 6px;
  background: #1d4ed8;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.mlms-alert-btn:focus-visible {
  outline: 3px solid rgba(29, 78, 216, 0.28);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .mlms-alert-backdrop {
    padding: 14px;
  }

  .mlms-alert-dialog {
    border-radius: 10px;
  }

  .mlms-alert-head {
    padding: 18px 18px 7px;
  }

  .mlms-alert-body {
    padding: 0 18px 18px;
  }

  .mlms-alert-actions {
    padding: 12px 14px;
  }
}
