body[hidden] { display: none !important; }

.ax-pending { min-height: 100svh; display: grid; place-items: center; background: #0c0b13; }

#access-page {
  color-scheme: dark;
  min-height: 100svh;
  color: #faf8ff;
  background: #0b0812 url("assets/login-orbit.webp") center / cover no-repeat;
  font: 500 16px/1.5 Manrope, sans-serif;
}
.ax-wrap {
  width: min(100%, 1440px);
  min-height: 100svh;
  margin: auto;
  padding: clamp(22px, 3.6vw, 52px) clamp(32px, 6vw, 88px);
  display: flex;
  flex-direction: column;
}
.ax-header, .ax-language, .ax-primary, .ax-secondary, .ax-country,
.ax-selected, .ax-prefix, .ax-input, .ax-sponsor, .ax-wrap footer {
  display: flex;
  align-items: center;
}
.ax-header { justify-content: space-between; gap: 12px; }
.ax-header > img { display: block; width: 98px; height: auto; }
.ax-language {
  gap: 8px;
  position: relative;
  padding-inline: 14px;
  min-height: 44px;
  border: 1px solid #81789080;
  border-radius: 24px;
  background: #11101eea;
  color: #f2eff8;
}
.ax-wrap .nx-functional { width: 19px; height: 19px; flex: none; vertical-align: middle; }
.ax-language .nx-functional:last-child { width: 12px; pointer-events: none; }
.ax-language select {
  appearance: none;
  cursor: pointer;
  color: inherit;
  border: 0;
  background: transparent;
  font: 600 13px Manrope, sans-serif;
  field-sizing: content;
  max-width: 145px;
  outline: 0;
}
.ax-language select option { background: #15131e; color: white; }
.ax-language:focus-within { outline: 2px solid #e0b9ff; outline-offset: 3px; }
.ax-layout {
  flex: 1;
  display: grid;
  align-items: center;
  padding-block: clamp(32px, 6vh, 80px);
  padding-inline-start: clamp(0px, 3.3vw, 52px);
}
.ax-panel {
  width: min(100%, 452px);
  min-width: 0;
  padding: clamp(24px, 3vw, 42px);
  display: grid;
  gap: 18px;
  border: 1px solid #a49ab546;
  border-radius: 22px;
  background: linear-gradient(145deg, #221b2bf5, #11111bf7 67%);
  box-shadow: inset 0 1px 0 #ffffff08, 0 24px 80px #03020a55;
}
.ax-panel h1 {
  margin: 0 0 6px;
  color: #faf8ff;
  font: 650 clamp(29px, 3vw, 39px)/1.13 'Space Grotesk', Manrope, sans-serif;
  letter-spacing: -.048em;
  overflow-wrap: anywhere;
}
.ax-panel h1:focus { outline: 0; }
.ax-panel p, .ax-panel small { margin: 0; font-size: 14px; color: #c8c2d4; }
.ax-wrap a, .ax-wrap button { color: inherit; font: inherit; text-decoration: none; }
.ax-wrap button { cursor: pointer; }
.ax-wrap button:disabled { cursor: default; }
.ax-picks, .ax-form, .ax-field { display: grid; gap: 10px; }
.ax-form { gap: 19px; }
.ax-field { min-width: 0; gap: 8px; color: #f0ebf6; font-size: 14px; font-weight: 650; }
.ax-input {
  min-height: 52px;
  gap: 8px;
  padding-inline: 14px 8px;
  border: 1px solid #514c62;
  border-radius: 10px;
  background: #11111d;
}
.ax-input:focus-within { border-color: #dba6f5; box-shadow: 0 0 0 3px #bf89ef26; }
.ax-input input {
  min-width: 0;
  width: 100%;
  min-height: 50px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font: 500 16px Manrope, sans-serif;
}
.ax-input input::placeholder { color: #a9a3b7; opacity: 1; }
.ax-input button { min-width: 44px; min-height: 44px; padding: 0; background: none; border: 0; color: #d0cbdc; }
.ax-primary, .ax-secondary, .ax-country, .ax-selected {
  min-height: 48px; gap: 10px; padding: 10px 14px; border-radius: 10px; text-align: start;
}
.ax-primary, .ax-secondary, .ax-selected { justify-content: space-between; }
.ax-wrap .ax-primary {
  justify-content: center;
  position: relative;
  min-height: 54px;
  padding-inline: 44px;
  border: 1px solid #ff8ec44a;
  color: #fff;
  background: linear-gradient(106deg, #af1a70, #b61a74 53%, #94155e);
  box-shadow: inset 0 1px 0 #ffffff17, 0 6px 20px #800b471c;
  font-weight: 750;
}
.ax-primary .nx-functional { position: absolute; inset-inline-end: 16px; }
.ax-primary:hover:enabled { filter: brightness(1.12); }
.ax-wrap .ax-primary:disabled { background: #302c3a; color: #b8b2c4; border-color: #484253; }
.ax-wrap .ax-link, .ax-wrap footer a { color: #f9abd3; font-size: 14px; font-weight: 650; justify-self: start; }
.ax-wrap .ax-link:hover, .ax-wrap footer a:hover { text-decoration: underline; }
.ax-login .ax-form > .ax-link { justify-self: end; margin-top: -12px; min-height: 32px; align-content: center; }
.ax-login > .ax-link {
  width: 100%; margin-top: 4px; padding-top: 18px; border-top: 1px solid #393344;
  text-align: center; color: #eee8f6; min-height: 44px;
}
.ax-wrap :is(a, button):focus-visible { outline: 2px solid #e0b9ff; outline-offset: 3px; }
.ax-wrap .ax-error { color: #ffb9c5; }
.ax-error:empty { display: none; }
.ax-wrap footer { gap: 20px; }
.ax-progress { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.ax-progress li { flex: 1; color: #bab3c7; font-size: 12px; overflow-wrap: anywhere; }
.ax-progress li::before { content: ""; display: block; height: 3px; border-radius: 3px; background: #443e51; margin-bottom: 7px; }
.ax-progress li.reached::before { background: #f47fae; }
.ax-progress li[aria-current] { color: white; font-weight: 700; }
.ax-wrap .ax-country, .ax-wrap .ax-secondary, .ax-wrap .ax-selected {
  background: #1a1925; border: 1px solid #454053; color: #f7f4f9; font-size: 14px; font-weight: 650;
}
.ax-country strong { flex: 1; }
.ax-country span { color: #c7c0d1; font-size: 12px; }
.ax-country:disabled { opacity: .55; }
.ax-country:hover:enabled, .ax-secondary:hover { border-color: #bb7eac; }
.ax-flag { width: 30px; height: 22px; flex: none; object-fit: contain; }
.ax-sponsor { gap: 12px; color: #cfc8da; font-size: 13px; }
.ax-sponsor strong { display: block; color: white; }
.ax-prefix { padding-inline-end: 10px; border-inline-end: 1px solid #494455; }
.ax-country-list { max-height: min(42svh, 400px); min-height: 48px; overflow: auto; overscroll-behavior: contain; display: grid; gap: 5px; align-content: start; }
[dir="rtl"] #access-page { background-position: left center; }
[dir="rtl"] .ax-primary .nx-functional { transform: scaleX(-1); }

@media (max-width: 700px) {
  #access-page {
    background-color: #0c0b13;
    background-image: linear-gradient(to bottom, transparent 12%, #0c0b1322 28%, #0c0b13 57%), url("assets/login-orbit.webp");
    background-size: 100% 100%, auto clamp(370px, 60svh, 560px);
    background-position: top, 72% top;
  }
  .ax-wrap { padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }
  .ax-header > img { width: 75px; }
  .ax-layout { justify-items: center; padding: clamp(50px, 12svh, 110px) 0 20px; align-content: start; }
  .ax-panel { gap: 18px; padding: clamp(22px, 6.5vw, 32px); border-radius: 18px; }
  .ax-panel h1 { font-size: clamp(28px, 7.4vw, 36px); }
  .ax-select .ax-layout { padding-top: 24px; }
  [dir="rtl"] #access-page { background-position: top, 72% top; }
}
@media (max-height: 620px) {
  .ax-layout { padding-block: 20px; }
}
