.lbdp-inline-notice {
  --lbdp-warning-accent: #c85a5a;
  position: relative;
  display: block;
  margin-top: 0.65rem;
  margin-bottom: 0.9rem;
  padding: 1rem 1.2rem;
  border: 2px solid var(--lbdp-warning-accent);
  border-radius: 28px;
  background: rgba(200, 90, 90, 0.14);
  color: var(--lbdp-warning-accent);
  font-size: 0.98rem;
  line-height: 1.45;
}

.lbdp-inline-notice[hidden] {
  display: none !important;
}

.lbdp-inline-notice a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.lbdp-inline-notice a:hover,
.lbdp-inline-notice a:focus,
.lbdp-inline-notice a:active {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.lbdp-inline-notice__rail {
  display: none;
}

.lbdp-inline-notice__icon {
  display: none;
}

.lbdp-inline-notice__content {
  min-width: 0;
}

.lbdp-inline-notice__content p {
  margin: 0;
}

.lbdp-modal-open {
  overflow: hidden;
}

.lbdp-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(18, 18, 18, 0.42);
}

.lbdp-modal-backdrop[hidden] {
  display: none !important;
}

.lbdp-modal {
  width: min(100%, 36rem);
  padding: 1.5rem 1.5rem 1.25rem;
  background: #eef4ea;
  border: 2px solid #1d1d1b;
  border-radius: 1.75rem;
  box-shadow: 10px 10px 0 rgba(17, 17, 17, 0.18);
  color: #1d1d1b;
  position: relative;
}

.lbdp-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  border: 0;
  background: transparent;
  color: #1d1d1b;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.lbdp-modal__title {
  margin: 0 2rem 0.9rem 0;
  font-size: 2rem;
  line-height: 1.05;
  font-style: italic;
}

.lbdp-modal__body p,
.lbdp-modal__footer p {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.lbdp-modal__footer {
  margin-top: 0.25rem;
}

.lbdp-modal__footer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.lbdp-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.lbdp-modal__spinner {
  width: 2rem;
  height: 2rem;
  margin-top: 0.35rem;
  border: 3px solid rgba(29, 29, 27, 0.2);
  border-top-color: #1d1d1b;
  border-radius: 50%;
  animation: lbdp-spin 0.8s linear infinite;
}

.lbdp-button {
  min-width: 9.5rem;
  padding: 0.8rem 1.2rem;
  border: 2px solid #1d1d1b;
  border-radius: 999px;
  background: transparent;
  color: #1d1d1b;
  font: inherit;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.lbdp-button--primary {
  background: #1d1d1b;
  color: #eef4ea;
}

.lbdp-modal .lbdp-button:hover {
  background: rgba(29, 29, 27, 0.1);
}

.lbdp-modal .lbdp-button--primary:hover {
  background: rgba(78, 78, 74, 1);
}

@media (max-width: 520px) {
  .lbdp-inline-notice {
    padding: 0.9rem 1rem;
    margin-bottom: 0.8rem;
    border-radius: 24px;
  }

  .lbdp-modal {
    padding: 1.25rem 1rem 1rem;
    border-radius: 1.25rem;
    box-shadow: 6px 6px 0 rgba(17, 17, 17, 0.16);
  }

  .lbdp-modal__title {
    font-size: 1.55rem;
  }

  .lbdp-modal__actions {
    justify-content: stretch;
  }

  .lbdp-button {
    width: 100%;
  }
}

@keyframes lbdp-spin {
  to {
    transform: rotate(360deg);
  }
}
