/* Sign-in / first-run page. Light, soft and standalone: it does not depend on the dashboard theme. */
.au-body { margin: 0; min-height: 100vh; color: #0f1536; font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; background: #f4f3ff; }
.au-stage { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 16px; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 600px at 8% 10%, #e7e2ff 0%, transparent 60%), radial-gradient(900px 640px at 95% 20%, #dbe8ff 0%, transparent 60%),
              radial-gradient(900px 600px at 70% 100%, #ebe4ff 0%, transparent 60%), linear-gradient(135deg, #f7f5ff 0%, #ffffff 48%, #eaf2ff 100%); }
.au-waves, .au-dots { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.au-waves svg { width: 100%; height: 100%; display: block; }
.au-dots::before, .au-dots::after { content: ""; position: absolute; width: 360px; height: 420px; background-image: radial-gradient(circle, rgba(120,110,230,.35) 1.2px, transparent 1.6px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%); mask-image: radial-gradient(closest-side, #000 20%, transparent 100%); }
.au-dots::before { left: 12%; top: 18%; } .au-dots::after { right: 8%; bottom: 6%; }
.au-orb { position: absolute; z-index: -1; border-radius: 50%; background: #4f7cf5; box-shadow: 0 0 0 6px rgba(79,124,245,.15); }
.au-ico { position: absolute; z-index: 0; width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; color: #6e7bf2;
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 14px 34px rgba(99,102,241,.14); backdrop-filter: blur(6px); animation: au-float 7s ease-in-out infinite; }
.au-ico svg { width: 38px; height: 38px; }
.au-ico.code { left: 9%; top: 15%; } .au-ico.chart { left: 7%; top: 50%; width: 76px; height: 76px; animation-delay: -2s; }
.au-ico.shield { right: 8%; top: 24%; color: #3d7bf0; animation-delay: -4s; } .au-ico.cloud { right: 12%; top: 62%; color: #5b8def; animation-delay: -1s; }
@keyframes au-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .au-ico { animation: none; } }

.au-card { position: relative; z-index: 1; width: 100%; max-width: 560px; box-sizing: border-box; padding: 48px 48px 34px; background: rgba(255,255,255,.96);
  border: 1px solid #ddd7fb; border-radius: 28px; box-shadow: 0 30px 80px rgba(94,84,214,.16), 0 4px 14px rgba(94,84,214,.07); }
.au-card .au-logo { display: block; height: 52px; width: auto; max-width: 100%; margin: 0 0 26px; }
.au-card .logo-dark { display: none; }
.au-card h1 { text-wrap: balance; margin: 0 0 10px; font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: #0b1033; }
.au-card .au-sub { margin: 0 0 24px; color: #6b7391; font-size: 16px; line-height: 1.5; }
.au-form { display: flex; flex-direction: column; gap: 18px; }
.au-field > label { display: block; margin: 0 0 7px; font-size: 15px; font-weight: 600; color: #141a3d; }
.au-inp { position: relative; display: flex; align-items: center; height: 54px; border: 1px solid #dcdcf0; border-radius: 14px; background: #f5f7ff; transition: border-color .15s, box-shadow .15s, background .15s; }
.au-inp:focus-within { border-color: #7c6cf6; background: #fff; box-shadow: 0 0 0 4px rgba(124,108,246,.16); }
.au-inp.bad { border-color: #e5484d; background: #fff8f8; } .au-inp.good { border-color: #34b37a; }
.au-inp > svg.lead { flex: none; width: 22px; height: 22px; margin-left: 16px; color: #5a6290; }
.au-inp input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 14px; font: inherit; font-size: 16px; color: #11163a; }
.au-inp input::placeholder { color: #9aa1bd; }
.au-inp input[readonly] { color: #5d658a; }
.au-eye { flex: none; width: 46px; height: 100%; border: 0; background: transparent; cursor: pointer; color: #5a6290; display: grid; place-items: center; border-radius: 0 14px 14px 0; }
.au-eye:hover { color: #4b3fe0; } .au-eye:focus-visible { outline: 2px solid #7c6cf6; outline-offset: -2px; }
.au-eye svg { width: 22px; height: 22px; }
.au-hint { min-height: 0; margin: 6px 2px 0; font-size: 13px; color: #e5484d; } .au-hint:empty { display: none; } .au-hint.ok { color: #1f9d68; }
.au-card .terms-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #55607f; font-weight: 400; }
.au-card .terms-row input { margin-top: 3px; accent-color: #6d5ff5; }
.au-card a { color: #1f5fe0; text-decoration: none; } .au-card a:hover { text-decoration: underline; }
.au-error { padding: 0; margin: 0; font-size: 14px; color: #c8323a; } .au-error:not(:empty) { padding: 11px 14px; border-radius: 12px; background: #fff1f1; border: 1px solid #f6c9cb; }
.au-btn { position: relative; width: 100%; height: 56px; margin-top: 4px; border: 0; border-radius: 14px; cursor: pointer; font: inherit; font-size: 17px; font-weight: 700; color: #fff; letter-spacing: .01em;
  background: linear-gradient(90deg, #6c3df5 0%, #2f6cff 100%); box-shadow: 0 12px 26px rgba(76,86,244,.32); transition: transform .12s, box-shadow .12s, filter .12s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.au-btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 16px 30px rgba(76,86,244,.38); }
.au-btn:focus-visible { outline: 3px solid rgba(124,108,246,.5); outline-offset: 2px; }
.au-btn::after { content: "\2192"; font-size: 20px; line-height: 1; } .au-btn:disabled { cursor: progress; opacity: .85; }
.au-btn.loading::after { content: ""; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: au-spin .7s linear infinite; }
.au-btn.ok { background: linear-gradient(90deg, #17a672, #2bbf8a); box-shadow: 0 12px 26px rgba(23,166,114,.3); } .au-btn.ok::after { content: "\2713"; animation: none; border: 0; width: auto; height: auto; }
@keyframes au-spin { to { transform: rotate(360deg); } }
.au-links { margin: 18px 0 0; text-align: center; font-size: 15px; color: #7a82a3; } .au-links a { margin: 0 4px; }
.au-aux { margin: 14px 0 0; text-align: center; font-size: 14px; color: #6b7391; }
.au-aux .btn { display: block; padding: 12px; border: 1px solid #dcdcf0; border-radius: 14px; background: #fff; color: #2b3270; font-weight: 600; }
.au-card [hidden] { display: none !important; }

@media (max-width: 1100px) { .au-ico.code { left: 3%; top: 6%; } .au-ico.chart { left: 2%; top: 80%; } .au-ico.shield { right: 3%; top: 8%; } .au-ico.cloud { right: 3%; top: 84%; } }
@media (max-width: 820px) { .au-ico { width: 58px; height: 58px; border-radius: 16px; opacity: .8; } .au-ico svg { width: 26px; height: 26px; } .au-ico.chart { width: 58px; height: 58px; } }
@media (max-width: 560px) { .au-stage { padding: 20px 12px; align-items: flex-start; } .au-card { padding: 30px 22px 26px; border-radius: 22px; } .au-card h1 { font-size: 26px; } .au-card .au-sub { font-size: 15px; }
  .au-card .au-logo { height: 44px; margin-bottom: 20px; } .au-ico { display: none; } .au-inp, .au-btn { height: 52px; } }

/* account type on the sign-up form */
.au-type { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.au-opt { position: relative; cursor: pointer; } .au-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.au-opt .in { display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid #dcdcf0; border-radius: 14px; background: #f5f7ff; transition: border-color .15s, box-shadow .15s, background .15s; height: 100%; }
.au-opt b { font-size: 15px; color: #141a3d; } .au-opt small { font-size: 12.5px; color: #5a6290; line-height: 1.35; }
.au-opt input:checked + .in { border-color: #7c6cf6; background: #fff; box-shadow: 0 0 0 4px rgba(124,108,246,.16); }
.au-opt input:focus-visible + .in { outline: 3px solid #8b5cf6; outline-offset: 2px; }
.au-inp select { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 14px 0 12px; font: inherit; font-size: 16px; color: #141a3d; outline: none; }
@media (max-width: 480px) { .au-type { grid-template-columns: 1fr; } }
.au-hint.note { color: #5a6290; }

.au-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 26px; }
.au-top .au-home { display: inline-block; line-height: 0; }
.au-card .au-top .au-logo { margin: 0; }
.au-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid #dcdcf0; background: #fff; color: #4a52a0; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.au-back:hover { background: #f1efff; border-color: #c9c3fb; }
.au-back:focus-visible, .au-home:focus-visible { outline: 3px solid #8b5cf6; outline-offset: 2px; border-radius: 10px; }
@media (max-width: 420px) { .au-back { padding: 7px 11px; font-size: 13px; } }
