body.aun-confirmation-dialog-open {
  overflow: hidden;
}

.aun-confirmation-trigger {
  display: inline;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0072c6;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  vertical-align: baseline;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  cursor: pointer;
}

.aun-confirmation-trigger:hover {
  background: transparent;
  color: #005fa8;
}

.aun-confirmation-trigger:focus-visible {
  color: #0072c6;
  outline: 3px solid #00a33e;
  outline-offset: 3px;
}

.aun-confirmation-trigger-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.aun-confirmation-guidance {
  width: 100%;
  margin: 0;
  line-height: 1.7;
  text-align: center;
}

.aun-event-agreement-copy {
  min-width: 0;
}

.aun-event-form button.aun-confirmation-trigger {
  display: inline;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0072c6;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  vertical-align: baseline;
}

.aun-event-form button.aun-confirmation-trigger:hover {
  background: transparent;
  color: #005fa8;
}

.aun-confirmation-dialog {
  box-sizing: border-box;
  width: min(640px, calc(100vw - 32px));
  max-width: 100%;
  max-height: min(80vh, 720px);
  max-height: min(80dvh, 720px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.aun-confirmation-dialog::backdrop {
  background: rgba(0, 0, 0, .58);
}

.aun-confirmation-dialog__panel {
  display: flex;
  max-height: inherit;
  flex-direction: column;
}

.aun-confirmation-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid #e5e7eb;
}

.aun-confirmation-dialog__title {
  margin: 0;
  color: #111;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.4;
}

.aun-confirmation-dialog__close {
  display: inline-grid;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}

.aun-confirmation-dialog__body {
  overflow: auto;
  padding: 26px 28px;
  font-size: 1.6rem;
  line-height: 1.8;
  overscroll-behavior: contain;
}

.aun-confirmation-dialog__body p {
  margin: 0;
}

.aun-confirmation-dialog__body p + p {
  margin-top: 1em;
}

.aun-confirmation-dialog__body ul {
  margin: 0;
  padding-left: 1.4em;
}

.aun-confirmation-dialog__body li + li {
  margin-top: 1em;
}

.aun-confirmation-dialog__body h3 {
  margin: 1.2em 0 .4em;
  font-size: 1.1em;
}

.aun-confirmation-dialog__footer {
  display: flex;
  justify-content: center;
  padding: 16px 28px 24px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.aun-confirmation-dialog__dismiss {
  width: clamp(220px, 40vw, 240px);
  max-width: 100%;
  min-height: 46px;
  padding: 10px 24px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.aun-confirmation-dialog :is(button, a):focus-visible {
  outline: 3px solid #00a33e;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .aun-confirmation-action {
    display: inline-block;
    white-space: nowrap;
  }

  .aun-event-agreement-copy__lead,
  .aun-event-agreement-copy__condition {
    display: block;
  }
}

@media (max-width: 600px) {
  .aun-confirmation-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 32px);
    border-radius: 12px;
  }

  .aun-confirmation-dialog__header {
    padding: 20px 18px 16px;
  }

  .aun-confirmation-dialog__body {
    padding: 22px 18px;
  }

  .aun-confirmation-dialog__footer {
    padding: 14px 18px 20px;
  }

}
