#error-popup.appcheck-recovery-notice {
  box-sizing: border-box;
  position: fixed;
  inset: auto 16px 16px auto;
  width: min(440px, calc(100% - 32px));
  height: auto;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: transparent;
  border-radius: 12px;
  z-index: 1000;
}

#error-popup.appcheck-recovery-notice #popup-content {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px;
  text-align: left;
  background: #fff;
  color: #374151;
  border: 1px solid #c4b5fd;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(31, 41, 55, .2);
}

#error-popup.appcheck-recovery-notice .appcheck-recovery-title {
  margin: 0 0 12px;
  padding: 0;
  color: #4c1d95;
  background: none;
  -webkit-text-fill-color: currentColor;
  font: 700 18px/1.4 system-ui, sans-serif;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}

#error-popup.appcheck-recovery-notice .appcheck-recovery-message {
  margin: 0 0 12px;
  padding: 0;
  color: #374151;
  font: 400 14px/1.5 system-ui, sans-serif;
  text-align: left;
  overflow-wrap: anywhere;
}

:is(#error-popup, #quote-verification)[data-app-check-recovery="true"] .appcheck-recovery-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

:is(#error-popup, #quote-verification)[data-app-check-recovery="true"] .appcheck-recovery-action {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: static;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #6d28d9;
  border-radius: 8px;
  background: #6d28d9;
  color: #fff;
  font: 600 14px/1.4 system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  box-shadow: none;
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: background-color .15s;
}

:is(#error-popup, #quote-verification)[data-app-check-recovery="true"] .appcheck-recovery-action.appcheck-recovery-secondary {
  background: #fff;
  color: #5b21b6;
}

:is(#error-popup, #quote-verification)[data-app-check-recovery="true"] .appcheck-recovery-action:hover:not(:disabled) {
  background: #5b21b6;
  color: #fff;
  transform: none;
  box-shadow: none;
}

:is(#error-popup, #quote-verification)[data-app-check-recovery="true"] .appcheck-recovery-action:disabled {
  opacity: .6;
  cursor: wait;
}

:is(#error-popup, #quote-verification)[data-app-check-recovery="true"] .appcheck-recovery-action:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}
