/* CF_PAGES_ARTIFACT_RUNTIME_CSS_V3 */
#cf-pages-popup-root {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#cf-pages-popup-root .cfpm-shade {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 24, 0.72);
  backdrop-filter: blur(5px);
}

#cf-pages-popup-root .cfpm-dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: min(92vh, 760px);
  overflow: auto;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  outline: none;
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  padding: 28px;
}

#cf-pages-popup-root .cfpm-top { display: flex; gap: 16px; align-items: flex-start; padding-right: 34px; }
#cf-pages-popup-root .cfpm-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; background: linear-gradient(135deg, #7c3aed, #2563eb); color: #fff; font-weight: 800; font-size: 21px; }
#cf-pages-popup-root .cfpm-title { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -0.02em; }
#cf-pages-popup-root .cfpm-message { margin: 18px 0 0; color: #d1d5db; line-height: 1.6; white-space: pre-wrap; }
#cf-pages-popup-root .cfpm-body { margin: 16px 0 0; color: #e5e7eb; line-height: 1.65; overflow-wrap: anywhere; }
#cf-pages-popup-root .cfpm-body a { color: #c4b5fd; text-decoration: underline; }
#cf-pages-popup-root .cfpm-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 26px; flex-wrap: wrap; }
#cf-pages-popup-root .cfpm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border: 0; border-radius: 12px; background: #7c3aed; color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: filter 0.15s ease, transform 0.15s ease; }
#cf-pages-popup-root .cfpm-button:hover { filter: brightness(1.12); transform: translateY(-1px); }
#cf-pages-popup-root .cfpm-button:focus-visible, #cf-pages-popup-root .cfpm-close:focus-visible { outline: 3px solid #fbbf24; outline-offset: 3px; }
#cf-pages-popup-root .cfpm-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: #cbd5e1; font-size: 24px; line-height: 1; cursor: pointer; }
#cf-pages-popup-root .cfpm-close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

@media (max-width: 520px) {
  #cf-pages-popup-root { padding: 12px; }
  #cf-pages-popup-root .cfpm-dialog { border-radius: 19px; padding: 22px; }
  #cf-pages-popup-root .cfpm-title { font-size: 20px; }
  #cf-pages-popup-root .cfpm-actions { justify-content: stretch; }
  #cf-pages-popup-root .cfpm-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  #cf-pages-popup-root .cfpm-button { transition: none; }
}
