/* Reusable Popup v1.0.0. Override these variables in your customer's stylesheet. */
:root {
  --rlp-accent: #175c61;
  --rlp-accent-hover: #10464a;
  --rlp-button-text: #ffffff;
  --rlp-background: #ffffff;
  --rlp-text: #183238;
  --rlp-muted: #465e63;
  --rlp-radius: 18px;
  --rlp-width: 440px;
  --rlp-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.rlp-dialog, .rlp-dialog * { box-sizing: border-box; }
.rlp-dialog {
  width: min(var(--rlp-width), calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--rlp-radius);
  background: var(--rlp-background);
  color: var(--rlp-text);
  font-family: var(--rlp-font);
  font-size: 16px;
  line-height: 1.55;
  overflow: auto;
  box-shadow: 0 24px 80px #102c3840;
}
.rlp-dialog::backdrop { background: #112c3b70; }
.rlp-panel { position: relative; padding: 52px 32px 32px; }
.rlp-dialog h2 { margin: 0 0 14px; font: 700 1.65em/1.18 var(--rlp-font); color: var(--rlp-text); }
.rlp-dialog p { margin: 0 0 26px; color: var(--rlp-muted); font: inherit; white-space: pre-line; }
.rlp-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--rlp-text);
  background: transparent;
  font: 400 30px/1 var(--rlp-font);
  cursor: pointer;
}
.rlp-close:hover { background: #70868c1a; }
.rlp-action {
  display: inline-block;
  max-width: 100%;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--rlp-accent);
  color: var(--rlp-button-text);
  font: 700 1em/1.4 var(--rlp-font);
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.rlp-action:visited { color: var(--rlp-button-text); }
.rlp-action:hover { background: var(--rlp-accent-hover); color: var(--rlp-button-text); }
.rlp-dialog :focus-visible { outline: 3px solid var(--rlp-accent); outline-offset: 4px; }
.rlp-dialog[open] { animation: rlp-enter 160ms ease-out; }
@keyframes rlp-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .rlp-dialog[data-reduce-motion="true"] { animation: none; }
}
@media (max-width: 480px) {
  .rlp-panel { padding: 52px 24px 24px; }
  .rlp-dialog h2 { font-size: 1.4em; }
  .rlp-action { display: block; }
}
