/* Only the free-guide/free-product auth dialog; shared site design is unchanged. */
body.nd-design dialog.ndd-auth-reliable {
  padding: 0;
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(620px, calc(100% - 24px));
  height: min(860px, calc(100vh - 32px));
  height: min(860px, calc(100dvh - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  direction: rtl;
  background: #fff;
  color: #102451;
  border: 1px solid #dce3ee;
  border-radius: 28px;
  box-shadow: 0 28px 90px #07152c66;
  font-family: Rubik, Arial, sans-serif;
}
body.nd-design dialog.ndd-auth-reliable[open] { display: flex; flex-direction: column; }
body.nd-design dialog.ndd-auth-reliable iframe { flex: 1 1 0; min-height: 0; width: 100%; border: 0; background: #fff; }
body.nd-design dialog.ndd-auth-reliable [hidden] { display: none !important; }
body.nd-design dialog.ndd-auth-reliable .ndd-free-auth-close {
  position: absolute; z-index: 2; top: 10px; left: 10px; right: auto;
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid #dce3ee; border-radius: 50%; background: #fff;
  color: #102451; font: 30px/1 Arial, sans-serif; cursor: pointer;
}
body.nd-design dialog.ndd-auth-reliable .ndd-auth-status {
  flex: 1 1 0; min-height: 0; padding: 70px 28px 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; text-align: center;
}
body.nd-design dialog.ndd-auth-reliable .ndd-auth-status h2 { font: 700 26px/1.3 Rubik, Arial, sans-serif; color: #102451; margin: 0; }
body.nd-design dialog.ndd-auth-reliable .ndd-auth-status p { font: 400 16px/1.7 Rubik, Arial, sans-serif; color: #52637e; margin: 0; }
body.nd-design dialog.ndd-auth-reliable .ndd-auth-spinner { width: 40px; height: 40px; border: 4px solid #e2f4fa; border-top-color: #1bbfdf; border-radius: 50%; animation: ndd-auth-spin .8s linear infinite; }
body.nd-design dialog.ndd-auth-reliable.ndd-auth-failed .ndd-auth-spinner { display: none; }
body.nd-design dialog.ndd-auth-reliable .ndd-auth-fallback { flex: none; padding: 12px 20px; text-align: center; border-top: 1px solid #e5eaf2; background: #f4f8fc; }
body.nd-design dialog.ndd-auth-reliable .ndd-auth-fallback a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 14px; border-radius: 12px; color: #102451; font: 600 15px/1.5 Rubik, Arial, sans-serif; text-decoration: underline; }
body.nd-design dialog.ndd-auth-reliable :is(a, button):focus-visible { outline: 3px solid #16a9ce; outline-offset: 3px; }
@keyframes ndd-auth-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { body.nd-design dialog.ndd-auth-reliable .ndd-auth-spinner { animation: none; } }
