html,
body {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  color: #f8faff;
  background: #050805;
  font-family: Inter, "SF Pro Display", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

button,
textarea,
select,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.auth-gate {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(420px, 1.2fr) minmax(440px, .8fr);
  color: #f8faff;
  background: #050816;
  overflow: auto;
}
.auth-gate[hidden] { display: none; }

.auth-gate::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 25%, rgba(37, 99, 235, .2), transparent 34%),
    radial-gradient(circle at 75% 72%, rgba(124, 58, 237, .16), transparent 32%);
}

.auth-visual {
  min-height: 100vh;
  padding: clamp(28px, 5vw, 72px);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid rgba(139, 164, 225, .12);
  background:
    linear-gradient(rgba(92, 112, 172, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 112, 172, .055) 1px, transparent 1px),
    linear-gradient(145deg, rgba(9, 17, 39, .9), rgba(6, 10, 25, .96));
  background-size: 70px 70px, 70px 70px, auto;
}

.auth-visual::before, .auth-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .3;
}
.auth-visual::before { width: 420px; height: 420px; left: -210px; bottom: -120px; background: #0ea5e9; }
.auth-visual::after { width: 370px; height: 370px; right: -190px; top: 18%; background: #7c3aed; }

.auth-brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; }
.auth-brand > span:last-child { display: grid; gap: 4px; }
.auth-brand b { font-size: 17px; letter-spacing: -.4px; }
.auth-brand small { color: #8490af; font-size: 10px; }
.auth-logo { width: 48px; height: 48px; border-radius: 16px; }

.auth-orbit {
  width: clamp(280px, 30vw, 430px);
  aspect-ratio: 1;
  position: absolute;
  top: 12%;
  left: 50%;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border: 1px solid rgba(116, 113, 244, .12);
  border-radius: 50%;
}
.auth-orbit::before, .auth-orbit::after { content: ""; position: absolute; border: 1px solid rgba(112, 107, 232, .16); border-radius: 50%; }
.auth-orbit::before { width: 72%; height: 72%; transform: rotate(24deg) scaleY(.55); animation: authOrbit 12s linear infinite; }
.auth-orbit::after { width: 92%; height: 48%; transform: rotate(-26deg); animation: authOrbitReverse 15s linear infinite; }
.auth-orbit > span { width: 110px; height: 110px; display: grid; place-items: center; border: 1px solid rgba(164, 139, 255, .46); border-radius: 31px; color: transparent; background: #050816 url('/static/muxtar_icon.png') center/cover no-repeat; box-shadow: 0 0 70px rgba(99, 71, 229, .38), inset 0 1px 0 rgba(255,255,255,.24); font-size: 0; font-weight: 800; transform: rotate(-5deg); animation: authFloat 4s ease-in-out infinite; }
.auth-orbit > i { width: 7px; height: 7px; position: absolute; border-radius: 50%; background: #5e84ff; box-shadow: 0 0 14px #5e84ff; }
.auth-orbit > i:nth-child(1) { left: 10%; top: 47%; }.auth-orbit > i:nth-child(2) { right: 13%; top: 26%; background: #b15dff; }.auth-orbit > i:nth-child(3) { right: 18%; bottom: 18%; background: #21d4ee; }

.auth-promise { max-width: 640px; margin-top: auto; position: relative; z-index: 3; }
.auth-promise > p { margin: 0 0 15px; color: #8b8de2; font-size: 9px; font-weight: 800; letter-spacing: 1.7px; }
.auth-promise h1 { margin: 0; font-size: clamp(32px, 4vw, 58px); font-weight: 650; letter-spacing: -2px; line-height: 1.07; }
.auth-promise h1 strong { color: transparent; background: linear-gradient(100deg, #6da0ff, #af72ff); background-clip: text; -webkit-background-clip: text; }
.auth-promise > span { max-width: 560px; margin-top: 18px; display: block; color: #8e98b5; font-size: 12px; line-height: 1.7; }
.auth-promise > div { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.auth-promise > div b { padding: 8px 11px; display: flex; align-items: center; gap: 7px; border: 1px solid rgba(132, 144, 190, .13); border-radius: 10px; color: #aeb7d2; background: rgba(16, 25, 52, .5); font-size: 8px; font-weight: 600; }
.auth-promise > div svg { width: 13px; height: 13px; color: #827cf4; }

.auth-card-wrap { min-height: 100vh; padding: 28px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.auth-card { width: min(100%, 440px); padding: clamp(24px, 3vw, 38px); position: relative; z-index: 2; border: 1px solid rgba(139, 164, 225, .15); border-radius: 28px; background: rgba(11, 18, 38, .82); box-shadow: 0 35px 100px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.04); backdrop-filter: blur(30px); }
.auth-card > header { text-align: center; }
.auth-card > header p { margin: 0 0 10px; color: #8586df; font-size: 8px; font-weight: 800; letter-spacing: 1.6px; }
.auth-card > header h2 { margin: 0; font-size: clamp(21px, 2.3vw, 28px); font-weight: 680; letter-spacing: -.85px; }
.auth-card > header > span { margin-top: 9px; display: block; color: #808aa8; font-size: 10px; line-height: 1.5; }

.auth-socials { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.social-button { min-height: 44px; padding: 0 11px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(139, 164, 225, .14); border-radius: 13px; color: #dce2f5; background: rgba(21, 31, 59, .72); text-decoration: none; font-size: 9px; font-weight: 620; transition: transform .2s, border-color .2s, background .2s; }
.social-button:hover { transform: translateY(-2px); border-color: rgba(130, 111, 244, .4); background: rgba(31, 44, 79, .78); }
.social-button > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; color: #17213a; background: #fff; font-size: 12px; font-weight: 800; }
.social-button.facebook > span { color: #fff; background: #1877f2; font-family: Arial, sans-serif; }
.social-button.disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.social-button em { display: none; }
.auth-divider { margin: 17px 0; display: flex; align-items: center; gap: 10px; color: #66718f; font-size: 8px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: rgba(139, 164, 225, .1); }

.auth-tabs { padding: 4px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(139, 164, 225, .1); border-radius: 12px; background: rgba(4, 8, 20, .36); }
.auth-tabs button { height: 32px; border-radius: 9px; color: #7d88a6; background: transparent; cursor: pointer; font-size: 8px; font-weight: 650; }
.auth-tabs button.active { color: #fff; background: linear-gradient(135deg, rgba(47, 100, 218, .68), rgba(111, 57, 195, .7)); box-shadow: 0 5px 15px rgba(76, 58, 192, .2); }

.auth-form { margin-top: 16px; display: none; gap: 12px; }
.auth-form.active { display: grid; animation: authFormIn .28s ease both; }
.auth-form label { display: grid; gap: 6px; color: #aab3cc; font-size: 8px; font-weight: 620; }
.auth-form label > div { height: 43px; padding: 0 11px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(139, 164, 225, .13); border-radius: 12px; background: rgba(7, 12, 27, .54); transition: border-color .2s, box-shadow .2s; }
.auth-form label > div:focus-within { border-color: rgba(118, 93, 244, .48); box-shadow: 0 0 0 3px rgba(102, 79, 229, .08); }
.auth-form label svg { width: 15px; height: 15px; color: #6f7b9d; }
.auth-form input { min-width: 0; height: 100%; flex: 1; border: 0; outline: 0; color: #f8faff; background: transparent; font-size: 10px; }
.auth-form input::placeholder { color: #53607e; }
.password-toggle { width: 26px; height: 26px; padding: 0; border-radius: 8px; color: #66728f; background: transparent; cursor: pointer; font-size: 11px; }
.password-toggle:hover { color: #a99af5; background: rgba(120, 91, 233, .08); }
.forgot-link, .resend-link, .auth-back { width: max-content; padding: 0; color: #9185e9; background: transparent; cursor: pointer; font-size: 8px; }
.forgot-link { margin-left: auto; margin-top: -3px; }
.auth-back { margin-bottom: 3px; }
.resend-link { margin: 0 auto; }
.auth-submit { height: 44px; padding: 0 14px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #2563eb, #7c3aed); box-shadow: 0 9px 25px rgba(79, 55, 215, .28), inset 0 1px 0 rgba(255,255,255,.2); cursor: pointer; font-size: 9px; font-weight: 680; transition: transform .2s, filter .2s; }
.auth-submit:hover { transform: translateY(-2px); filter: brightness(1.08); }
.auth-submit:disabled { opacity: .55; cursor: wait; transform: none; }
.auth-submit svg { width: 14px; height: 14px; }
.auth-form-intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
.auth-form-intro > span { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(121, 103, 242, .28); border-radius: 14px; color: #a696ff; background: rgba(105, 76, 226, .1); }
.auth-form-intro h3 { margin: 11px 0 4px; font-size: 13px; }.auth-form-intro p { margin: 0; color: #737e9c; font-size: 8px; }
.auth-form .code-input { font-size: 18px; font-weight: 750; letter-spacing: 9px; text-align: center; }
.development-code { margin: -2px 0 0; padding: 8px; border: 1px dashed rgba(245, 158, 11, .3); border-radius: 9px; color: #f5bd59; background: rgba(245, 158, 11, .06); text-align: center; font-size: 8px; }
.auth-error { margin: 12px 0 0; padding: 9px 11px; border: 1px solid rgba(251, 113, 133, .23); border-radius: 10px; color: #ff9caf; background: rgba(251, 113, 133, .06); font-size: 8px; line-height: 1.5; }
.auth-card > footer { margin-top: 17px; padding-top: 13px; display: flex; align-items: flex-start; gap: 7px; border-top: 1px solid rgba(139, 164, 225, .09); color: #5f6b88; font-size: 7px; line-height: 1.5; }
.auth-card > footer svg { width: 12px; height: 12px; flex: 0 0 auto; color: #4fc67c; }
.auth-language { margin-top: 15px; z-index: 2; display: flex; align-items: center; gap: 6px; color: #7f89a7; }
.auth-language svg { width: 13px; height: 13px; }
.auth-language select { border: 0; outline: 0; color: #8f99b7; background: transparent; cursor: pointer; font-size: 8px; }

@keyframes authOrbit { to { transform: rotate(384deg) scaleY(.55); } }
@keyframes authOrbitReverse { to { transform: rotate(-386deg); } }
@keyframes authFloat { 50% { transform: translateY(-8px) rotate(3deg); } }
@keyframes authFormIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

@media (max-width: 920px) {
  .auth-gate { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-card-wrap { padding: 22px; }
}

@media (max-width: 520px) {
  .auth-card-wrap { padding: 12px; justify-content: flex-start; }
  .auth-card { margin-top: 10px; padding: 22px 17px; border-radius: 22px; }
  .auth-socials { grid-template-columns: 1fr; }
  .auth-card > header h2 { font-size: 22px; }
}

/* ===== MUXTAR AUTH UX V2 START ===== */

.auth-gate {
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr);
  overflow-x: hidden;
  overflow-y: auto;
}

.auth-visual,
.auth-card-wrap {
  min-height: 100vh;
  min-height: 100dvh;
}

.auth-card-wrap {
  padding: clamp(24px, 4vw, 56px);
}

.auth-card {
  width: min(100%, 480px);
  padding: clamp(28px, 3vw, 40px);
}

.auth-card > header p {
  margin-bottom: 10px;
  font-size: 11px;
  line-height: 1.4;
}

.auth-card > header h2 {
  font-size: clamp(28px, 2.5vw, 35px);
  line-height: 1.15;
}

.auth-card > header > span {
  margin-top: 10px;
  color: #a2acc7;
  font-size: 14px;
  line-height: 1.55;
}

.auth-socials {
  margin-top: 24px;
  gap: 10px;
}

.social-button {
  min-height: 48px;
  font-size: 13px;
}

.auth-divider {
  margin: 20px 0;
  font-size: 12px;
}

.auth-tabs {
  padding: 5px;
  border-radius: 14px;
}

.auth-tabs button {
  min-height: 44px;
  border-radius: 10px;
  font-size: 13px;
}

.auth-form {
  margin-top: 22px;
  gap: 17px;
}

.auth-form label {
  gap: 8px;
  color: #c0c8dc;
  font-size: 13px;
  line-height: 1.35;
}

.auth-form label > div {
  height: 52px;
  padding-inline: 14px;
  gap: 10px;
  border-radius: 14px;
  background: rgba(7, 12, 27, .82);
}

.auth-form label svg {
  width: 19px;
  height: 19px;
}

.auth-form input {
  font-size: 16px;
  line-height: 1.4;
}

.auth-form input::placeholder {
  color: #74809f;
  opacity: 1;
}

.password-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 16px;
}

.forgot-link,
.resend-link,
.auth-back {
  min-height: 40px;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  color: #aaa0ff;
  font-size: 12px;
  line-height: 1.3;
}

.auth-submit {
  height: 52px;
  padding-inline: 18px;
  border-radius: 14px;
  font-size: 15px;
}

.auth-submit svg {
  width: 17px;
  height: 17px;
}

.auth-form-intro h3 {
  margin-top: 14px;
  font-size: 20px;
}

.auth-form-intro p {
  color: #9ba6c1;
  font-size: 14px;
  line-height: 1.5;
}

.development-code,
.auth-error {
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.5;
}

.auth-card > footer {
  margin-top: 22px;
  padding-top: 18px;
  gap: 10px;
  color: #8994af;
  font-size: 12px;
  line-height: 1.55;
}

.auth-card > footer svg {
  width: 17px;
  height: 17px;
}

.auth-language {
  min-height: 44px;
  margin-top: 16px;
  padding-inline: 10px;
}

.auth-language svg {
  width: 17px;
  height: 17px;
}

.auth-language select {
  min-height: 44px;
  color: #aab4ce;
  font-size: 13px;
}

.auth-orbit > span {
  background-image: url("/static/muxtar_icon.png") !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* Chrome və Android autofill sarı fonunu silir */
.auth-form input:-webkit-autofill,
.auth-form input:-webkit-autofill:hover,
.auth-form input:-webkit-autofill:focus,
.auth-form input:-webkit-autofill:active {
  -webkit-text-fill-color: #f8faff !important;
  caret-color: #f8faff !important;
  -webkit-box-shadow: 0 0 0 1000px #0b132b inset !important;
  box-shadow: 0 0 0 1000px #0b132b inset !important;
  transition: background-color 9999s ease-out 0s;
}

.auth-gate button:focus-visible,
.auth-gate input:focus-visible,
.auth-gate select:focus-visible,
.auth-gate a:focus-visible {
  outline: 3px solid #67e8f9;
  outline-offset: 3px;
}

/* Planşet və telefon */
@media (max-width: 920px) {
  .auth-gate {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .auth-visual {
    display: none !important;
  }

  .auth-card-wrap {
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    padding:
      max(24px, env(safe-area-inset-top))
      18px
      max(24px, env(safe-area-inset-bottom));
    justify-content: center;
  }

  .auth-card {
    width: min(100%, 480px);
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .auth-card-wrap {
    padding:
      max(16px, env(safe-area-inset-top))
      14px
      max(20px, env(safe-area-inset-bottom));
    justify-content: center;
  }

  .auth-card {
    width: 100%;
    margin: 0;
    padding: 25px 18px;
    border-radius: 23px;
  }

  .auth-card > header h2 {
    font-size: 28px;
  }

  .auth-card > header > span {
    font-size: 14px;
  }

  .auth-socials {
    grid-template-columns: 1fr;
  }

  .auth-tabs button {
    font-size: 13px;
  }

  .auth-form input {
    font-size: 16px;
  }

  .auth-language {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-gate *,
  .auth-gate *::before,
  .auth-gate *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ===== MUXTAR AUTH UX V2 END ===== */

/* ===== AUTH FEATURE BADGES HIDDEN START ===== */
.auth-promise > div {
  display: none !important;
}
/* ===== AUTH FEATURE BADGES HIDDEN END ===== */

/* ===== MUXTAR SECOND LOGO ALIVE START ===== */

/* Ortadakı əsas AI loqosu */
.auth-orbit > span {
  position: relative;
  z-index: 3;
  isolation: isolate;
  overflow: visible;

  transform-origin: center;
  will-change: transform, filter, box-shadow;

  animation: muxtarCoreAlive 4.8s ease-in-out infinite !important;

  box-shadow:
    0 0 18px rgba(64, 210, 255, .35),
    0 0 42px rgba(92, 105, 255, .28),
    0 0 74px rgba(143, 74, 255, .18),
    inset 0 1px 0 rgba(255, 255, 255, .24) !important;

  transition:
    transform .28s ease,
    filter .28s ease,
    box-shadow .28s ease;
}

/* Fırlanan neon enerji çərçivəsi */
.auth-orbit > span::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -13px;

  border: 1px solid transparent;
  border-radius: 38px;

  background:
    linear-gradient(#050816, #050816) padding-box,
    conic-gradient(
      from 0deg,
      transparent 0deg,
      rgba(59, 213, 255, .95) 55deg,
      rgba(105, 123, 255, .42) 115deg,
      transparent 175deg,
      rgba(166, 85, 255, .88) 245deg,
      transparent 320deg
    ) border-box;

  opacity: .72;
  pointer-events: none;

  filter:
    drop-shadow(0 0 7px rgba(70, 211, 255, .55))
    drop-shadow(0 0 13px rgba(131, 88, 255, .32));

  animation: muxtarCoreRing 7s linear infinite;
}

/* Loqonun üzərindən keçən işıq */
.auth-orbit > span::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 7px;

  border-radius: 24px;
  pointer-events: none;

  background: linear-gradient(
    112deg,
    transparent 20%,
    transparent 36%,
    rgba(255, 255, 255, .08) 43%,
    rgba(148, 236, 255, .42) 50%,
    rgba(255, 255, 255, .10) 56%,
    transparent 67%
  );

  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-125%) skewX(-12deg);

  animation: muxtarCoreScan 4.6s ease-in-out infinite;
}

/* Orbitdəki kiçik işıqlar */
.auth-orbit > i {
  animation: muxtarParticlePulse 2.6s ease-in-out infinite !important;
}

.auth-orbit > i:nth-child(2) {
  animation-delay: -.8s !important;
}

.auth-orbit > i:nth-child(3) {
  animation-delay: -1.6s !important;
}

/* Mouse loqonun üzərinə gələndə */
.auth-orbit > span:hover {
  filter: brightness(1.12) saturate(1.12);

  box-shadow:
    0 0 24px rgba(64, 220, 255, .56),
    0 0 52px rgba(91, 111, 255, .44),
    0 0 92px rgba(153, 76, 255, .28),
    inset 0 1px 0 rgba(255, 255, 255, .30) !important;
}

@keyframes muxtarCoreAlive {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg) scale(1);
    filter: brightness(1) saturate(1);
  }

  45% {
    transform: translateY(-7px) rotate(-1deg) scale(1.035);
    filter: brightness(1.09) saturate(1.08);
  }

  55% {
    transform: translateY(-7px) rotate(0deg) scale(1.035);
    filter: brightness(1.12) saturate(1.10);
  }
}

@keyframes muxtarCoreRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes muxtarCoreScan {
  0%,
  20% {
    opacity: 0;
    transform: translateX(-125%) skewX(-12deg);
  }

  38% {
    opacity: .85;
  }

  58% {
    opacity: .45;
    transform: translateX(125%) skewX(-12deg);
  }

  70%,
  100% {
    opacity: 0;
    transform: translateX(125%) skewX(-12deg);
  }
}

@keyframes muxtarParticlePulse {
  0%,
  100% {
    opacity: .45;
    transform: scale(.82);
    filter: brightness(.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.28);
    filter: brightness(1.35);
  }
}

/* İstifadəçi animasiyaları azaltmaq istəyirsə */
@media (prefers-reduced-motion: reduce) {
  .auth-orbit > span,
  .auth-orbit > span::before,
  .auth-orbit > span::after,
  .auth-orbit > i {
    animation: none !important;
  }
}

/* ===== MUXTAR SECOND LOGO ALIVE END ===== */

/* ===== AUTH EYEBROW HIDDEN START ===== */
.auth-card > header > p {
  display: none !important;
}
/* ===== AUTH EYEBROW HIDDEN END ===== */

/* ===== AUTH BRAND TEXT HIDDEN START ===== */
.auth-brand > span:last-child {
  display: none !important;
}
/* ===== AUTH BRAND TEXT HIDDEN END ===== */

/* ===== MUXTAR AUTH HERO LIVE EFFECTS START ===== */

/* Ana sol hissə / hero sahəsi */
.auth-layout,
.auth-shell,
.auth-auth,
.auth-page {
  position: relative;
  overflow: hidden;
}

/* Arxa fonda yumşaq neon nəfəs effekti */
.auth-layout::before,
.auth-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 78%, rgba(0, 195, 255, 0.12), transparent 28%),
    radial-gradient(circle at 72% 22%, rgba(144, 92, 255, 0.15), transparent 32%),
    radial-gradient(circle at 58% 58%, rgba(66, 105, 255, 0.10), transparent 24%);
  filter: blur(12px);
  animation: muxtarBgPulse 9s ease-in-out infinite;
  z-index: 0;
}

/* Şəbəkə fonuna əlavə yumşaq işıq */
.auth-layout::after,
.auth-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(10, 36, 78, 0.00) 0%, rgba(84, 42, 160, 0.10) 100%);
  opacity: .95;
  animation: muxtarBgShift 12s ease-in-out infinite alternate;
  z-index: 0;
}

/* Hero daxilindəki vizual sahə */
.auth-hero,
.auth-showcase,
.auth-panel-hero,
.auth-visual-side {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* İkinci logo ətrafında aura */
.auth-hero .auth-visual::before,
.auth-showcase .auth-visual::before,
.auth-panel-hero .auth-visual::before,
.auth-visual-side .auth-visual::before,
.auth-hero .hero-visual::before,
.auth-showcase .hero-visual::before,
.auth-panel-hero .hero-visual::before,
.auth-visual-side .hero-visual::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(115, 138, 255, 0.22) 0%, rgba(70, 215, 255, 0.12) 32%, rgba(125, 72, 255, 0.08) 52%, transparent 72%);
  filter: blur(10px);
  animation: muxtarCoreAura 5.5s ease-in-out infinite;
  z-index: 0;
}

/* Orbit xətləri / dərinlik hissi */
.auth-hero .auth-visual::after,
.auth-showcase .auth-visual::after,
.auth-panel-hero .auth-visual::after,
.auth-visual-side .auth-visual::after,
.auth-hero .hero-visual::after,
.auth-showcase .hero-visual::after,
.auth-panel-hero .hero-visual::after,
.auth-visual-side .hero-visual::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 220px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  border-radius: 50%;
  border: 1px solid rgba(111, 129, 255, 0.14);
  box-shadow:
    0 0 24px rgba(82, 117, 255, 0.08),
    inset 0 0 18px rgba(130, 96, 255, 0.04);
  pointer-events: none;
  animation: muxtarOrbitFloat 10s ease-in-out infinite;
  z-index: 0;
}

/* İkinci logo / ortadakı ikon */
.auth-hero .auth-visual-card,
.auth-showcase .auth-visual-card,
.auth-panel-hero .auth-visual-card,
.auth-visual-side .auth-visual-card,
.auth-hero .hero-logo-card,
.auth-showcase .hero-logo-card,
.auth-panel-hero .hero-logo-card,
.auth-visual-side .hero-logo-card,
.auth-hero .app-logo-card,
.auth-showcase .app-logo-card,
.auth-panel-hero .app-logo-card,
.auth-visual-side .app-logo-card {
  position: relative;
  z-index: 2;
  isolation: isolate;
  animation: muxtarLogoFloat 4.8s ease-in-out infinite;
  box-shadow:
    0 0 0 1px rgba(110, 136, 255, 0.18),
    0 0 18px rgba(78, 133, 255, 0.18),
    0 0 42px rgba(121, 73, 255, 0.16),
    0 14px 40px rgba(0, 0, 0, 0.40);
}

/* İkinci logo ətrafında parıltı */
.auth-hero .auth-visual-card::before,
.auth-showcase .auth-visual-card::before,
.auth-panel-hero .auth-visual-card::before,
.auth-visual-side .auth-visual-card::before,
.auth-hero .hero-logo-card::before,
.auth-showcase .hero-logo-card::before,
.auth-panel-hero .hero-logo-card::before,
.auth-visual-side .hero-logo-card::before,
.auth-hero .app-logo-card::before,
.auth-showcase .app-logo-card::before,
.auth-panel-hero .app-logo-card::before,
.auth-visual-side .app-logo-card::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, rgba(96, 170, 255, 0.22), rgba(130, 84, 255, 0.14) 45%, transparent 72%);
  filter: blur(14px);
  z-index: -1;
  animation: muxtarLogoPulse 3.6s ease-in-out infinite;
}

/* Logo şəkli daha canlı görünsün */
.auth-hero .auth-visual-card img,
.auth-showcase .auth-visual-card img,
.auth-panel-hero .auth-visual-card img,
.auth-visual-side .auth-visual-card img,
.auth-hero .hero-logo-card img,
.auth-showcase .hero-logo-card img,
.auth-panel-hero .hero-logo-card img,
.auth-visual-side .hero-logo-card img,
.auth-hero .app-logo-card img,
.auth-showcase .app-logo-card img,
.auth-panel-hero .app-logo-card img,
.auth-visual-side .app-logo-card img {
  display: block;
  transform: translateZ(0);
  filter:
    saturate(1.18)
    contrast(1.08)
    brightness(1.03)
    drop-shadow(0 0 16px rgba(78, 155, 255, 0.22))
    drop-shadow(0 0 28px rgba(121, 73, 255, 0.16));
}

/* Yuxarıdakı kiçik logo da bir az parlasın */
.auth-hero .auth-brandmark,
.auth-showcase .auth-brandmark,
.auth-panel-hero .auth-brandmark,
.auth-visual-side .auth-brandmark,
.auth-hero .hero-brandmark,
.auth-showcase .hero-brandmark,
.auth-panel-hero .hero-brandmark,
.auth-visual-side .hero-brandmark {
  animation: muxtarTopLogoGlow 4.2s ease-in-out infinite;
  filter:
    drop-shadow(0 0 8px rgba(116, 167, 255, 0.24))
    drop-shadow(0 0 18px rgba(134, 92, 255, 0.18));
}

/* Mətn hissəsi arxa fondan ayrı düşsün */
.auth-hero .auth-copy,
.auth-showcase .auth-copy,
.auth-panel-hero .auth-copy,
.auth-visual-side .auth-copy,
.auth-hero .hero-copy,
.auth-showcase .hero-copy,
.auth-panel-hero .hero-copy,
.auth-visual-side .hero-copy {
  position: relative;
  z-index: 2;
}

/* Kiçik işıq nöqtələri */
.auth-hero .auth-copy::before,
.auth-showcase .auth-copy::before,
.auth-panel-hero .auth-copy::before,
.auth-visual-side .auth-copy::before,
.auth-hero .hero-copy::before,
.auth-showcase .hero-copy::before,
.auth-panel-hero .hero-copy::before,
.auth-visual-side .hero-copy::before {
  content: "";
  position: absolute;
  right: 12%;
  top: 8%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7c8fff;
  box-shadow:
    0 0 12px rgba(124, 143, 255, 0.9),
    0 0 22px rgba(124, 143, 255, 0.55);
  animation: muxtarParticleBlink 2.8s ease-in-out infinite;
}

/* Animations */
@keyframes muxtarBgPulse {
  0%, 100% {
    opacity: .88;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes muxtarBgShift {
  0% {
    opacity: .72;
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: .98;
    transform: translate3d(6px, -8px, 0);
  }
}

@keyframes muxtarCoreAura {
  0%, 100% {
    opacity: .72;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes muxtarOrbitFloat {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(-12deg) scale(1);
    opacity: .8;
  }
  50% {
    transform: translate(-50%, -50%) rotate(-5deg) scale(1.03);
    opacity: 1;
  }
}

@keyframes muxtarLogoFloat {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.015);
  }
}

@keyframes muxtarLogoPulse {
  0%, 100% {
    opacity: .62;
    transform: scale(1);
  }
  50% {
    opacity: .95;
    transform: scale(1.05);
  }
}

@keyframes muxtarTopLogoGlow {
  0%, 100% {
    opacity: .95;
    transform: translateY(0px);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes muxtarParticleBlink {
  0%, 100% {
    opacity: .5;
    transform: scale(.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Mobil üçün effekti bir az yumşalt */
@media (max-width: 900px) {
  .auth-hero .auth-visual::before,
  .auth-showcase .auth-visual::before,
  .auth-panel-hero .auth-visual::before,
  .auth-visual-side .auth-visual::before,
  .auth-hero .hero-visual::before,
  .auth-showcase .hero-visual::before,
  .auth-panel-hero .hero-visual::before,
  .auth-visual-side .hero-visual::before {
    width: 220px;
    height: 220px;
  }

  .auth-hero .auth-visual::after,
  .auth-showcase .auth-visual::after,
  .auth-panel-hero .auth-visual::after,
  .auth-visual-side .auth-visual::after,
  .auth-hero .hero-visual::after,
  .auth-showcase .hero-visual::after,
  .auth-panel-hero .hero-visual::after,
  .auth-visual-side .hero-visual::after {
    width: 270px;
    height: 180px;
  }
}

/* ===== MUXTAR AUTH HERO LIVE EFFECTS END ===== */

/* ===== MUXTAR AUTH PROFESSIONAL V3 START ===== */

.auth-gate {
  min-height: 100dvh;
  overflow-x: hidden;
}

.auth-promise > p,
.auth-promise > div,
.auth-card > header > p,
.auth-brand > span:last-child {
  display: none !important;
}

.auth-env-badge {
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  margin: 0 auto 14px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(120, 145, 220, .17);
  border-radius: 999px;
  color: #b9c4df;
  background: rgba(12, 21, 45, .72);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
}

.auth-env-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, .65);
}

.auth-env-badge[data-state="online"]::before {
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, .72);
}

.auth-env-badge[data-state="offline"]::before {
  background: #fb7185;
  box-shadow: 0 0 12px rgba(251, 113, 133, .72);
}

.auth-card {
  width: min(100%, 480px);
}

.auth-card > header h2 {
  max-width: 420px;
  margin-inline: auto;
  font-size: clamp(28px, 2.6vw, 35px);
  line-height: 1.13;
  text-wrap: balance;
}

.auth-card > header > span {
  max-width: 390px;
  margin: 10px auto 0;
  color: #9ca8c3;
  font-size: 14px;
  line-height: 1.55;
  text-wrap: balance;
}

.auth-tabs {
  margin-top: 22px;
  padding: 5px;
}

.auth-tabs button {
  min-height: 44px;
  font-size: 13px;
  font-weight: 650;
}

.auth-tabs button:not(.active) {
  color: #a3adc6;
}

.auth-form {
  gap: 17px;
}

.auth-form label {
  gap: 8px;
  color: #c1c9dc;
  font-size: 13px;
  line-height: 1.35;
}

.auth-form label > div {
  min-width: 0;
  height: 52px;
  padding-inline: 14px;
  gap: 10px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(7, 13, 29, .86);
}

.auth-form label > div:focus-within {
  border-color: rgba(99, 157, 255, .64);
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, .11),
    0 12px 30px rgba(16, 24, 52, .20);
}

.auth-form label svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: #8390ad;
}

.auth-form input {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  color: #f7f9ff;
  background: transparent !important;
  font-size: 16px;
  line-height: 1.4;
}

.auth-form input::placeholder {
  color: #74809d;
  opacity: 1;
}

.password-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #9aa6c2;
  font-size: 16px;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: #d8ddff;
  background: rgba(120, 91, 233, .14);
}

.forgot-link,
.resend-link,
.auth-back {
  min-height: 40px;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  color: #b2a9ff;
  font-size: 12px;
  line-height: 1.25;
}

.auth-submit {
  height: 52px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
}

.auth-submit:disabled {
  cursor: wait;
  filter: saturate(.72);
}

.auth-error {
  margin-top: 12px;
  padding: 11px 13px;
  color: #ffadbc;
  font-size: 13px;
  line-height: 1.5;
}

.auth-form-intro h3 {
  font-size: 20px;
}

.auth-form-intro p,
.development-code {
  font-size: 13px;
  line-height: 1.5;
}

.auth-card > footer {
  margin-top: 22px;
  padding-top: 18px;
  gap: 10px;
  color: #8e99b4;
  font-size: 12px;
  line-height: 1.55;
}

.auth-card > footer svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.auth-language {
  width: 100%;
  min-height: 46px;
  margin: 16px 0 0;
  padding: 0 12px;
  justify-content: center;
  border-top: 1px solid rgba(139, 164, 225, .08);
}

.auth-language svg {
  width: 17px;
  height: 17px;
}

.auth-language select {
  min-height: 44px;
  color: #aab4ce;
  font-size: 13px;
}

.auth-promise > span {
  max-width: 580px;
  color: #9aa6c0;
  font-size: 14px;
  line-height: 1.65;
}

.auth-form input:-webkit-autofill,
.auth-form input:-webkit-autofill:hover,
.auth-form input:-webkit-autofill:focus,
.auth-form input:-webkit-autofill:active {
  -webkit-text-fill-color: #f7f9ff !important;
  caret-color: #f7f9ff !important;
  -webkit-box-shadow: 0 0 0 1000px #0b142d inset !important;
  box-shadow: 0 0 0 1000px #0b142d inset !important;
  transition: background-color 9999s ease-out 0s;
}

.auth-gate button:focus-visible,
.auth-gate input:focus-visible,
.auth-gate select:focus-visible,
.auth-gate a:focus-visible {
  outline: 3px solid #67e8f9;
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .auth-gate {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .auth-visual {
    display: none !important;
  }

  .auth-card-wrap {
    width: 100%;
    min-width: 0;
    min-height: 100dvh;
    padding:
      max(22px, env(safe-area-inset-top))
      16px
      max(22px, env(safe-area-inset-bottom));
    justify-content: center;
  }

  .auth-card {
    width: min(100%, 480px);
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .auth-card-wrap {
    padding:
      max(14px, env(safe-area-inset-top))
      12px
      max(18px, env(safe-area-inset-bottom));
  }

  .auth-card {
    width: 100%;
    padding: 24px 18px;
    border-radius: 23px;
  }

  .auth-card > header h2 {
    font-size: 28px;
  }

  .auth-socials {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-gate *,
  .auth-gate *::before,
  .auth-gate *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ===== MUXTAR AUTH PROFESSIONAL V3 END ===== */

/* ===== CLEAR SECOND M LOGO START ===== */

/* İkinci loqonun qaranlıq şəklini kodla təmiz dizayna çevirir */
.auth-orbit > span {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;

  border: 1px solid rgba(117, 169, 255, .42) !important;
  border-radius: 30px !important;

  background:
    radial-gradient(
      circle at 34% 25%,
      rgba(78, 225, 255, .20),
      transparent 38%
    ),
    radial-gradient(
      circle at 72% 78%,
      rgba(145, 88, 255, .18),
      transparent 44%
    ),
    linear-gradient(
      145deg,
      #0b1932 0%,
      #050a18 52%,
      #100923 100%
    ) !important;

  transform: rotate(0deg) !important;
  filter: none !important;

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .05),
    0 0 20px rgba(65, 207, 255, .30),
    0 0 44px rgba(93, 110, 255, .28),
    0 0 70px rgba(151, 78, 255, .16),
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -18px 30px rgba(0, 0, 0, .24) !important;

  animation: secondLogoFloat 4.2s ease-in-out infinite !important;
}

/* Loqonun daxilində yumşaq hərəkət edən işıq */
.auth-orbit > span::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 7px;

  border: 1px solid rgba(101, 207, 255, .20);
  border-radius: 23px;

  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      rgba(68, 222, 255, .28) 70deg,
      transparent 145deg,
      rgba(157, 91, 255, .26) 235deg,
      transparent 320deg
    );

  opacity: .70;
  pointer-events: none;

  animation: secondLogoRing 9s linear infinite;
}

/* M hərfi — artıq şəkil yox, CSS mətni ilə aydın göstərilir */
.auth-orbit > span::after {
  content: "M";
  position: absolute;
  z-index: 3;
  inset: 0;

  display: grid;
  place-items: center;

  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 68px;
  font-weight: 720;
  line-height: 1;

  color: transparent;
  -webkit-text-fill-color: transparent;

  background:
    linear-gradient(
      145deg,
      #ffffff 8%,
      #bff7ff 32%,
      #52ddff 58%,
      #9f7cff 88%
    );

  background-clip: text;
  -webkit-background-clip: text;

  filter:
    drop-shadow(0 0 5px rgba(255, 255, 255, .65))
    drop-shadow(0 0 11px rgba(62, 218, 255, .78))
    drop-shadow(0 0 22px rgba(116, 91, 255, .55));

  pointer-events: none;

  animation: secondMGlow 3s ease-in-out infinite;
}

/* Mouse üzərinə gələndə bir az canlanır */
.auth-orbit > span:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08),
    0 0 27px rgba(65, 220, 255, .48),
    0 0 56px rgba(93, 110, 255, .40),
    0 0 86px rgba(151, 78, 255, .24),
    inset 0 1px 0 rgba(255, 255, 255, .23) !important;
}

/* Ətrafdakı üç işıq nöqtəsi */
.auth-orbit > i {
  opacity: .85;
  animation: secondLogoParticle 2.8s ease-in-out infinite !important;
}

.auth-orbit > i:nth-child(2) {
  animation-delay: -.9s !important;
}

.auth-orbit > i:nth-child(3) {
  animation-delay: -1.8s !important;
}

@keyframes secondLogoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1) !important;
  }

  50% {
    transform: translateY(-6px) scale(1.025) !important;
  }
}

@keyframes secondLogoRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes secondMGlow {
  0%,
  100% {
    opacity: .90;
    transform: scale(1);
    filter:
      drop-shadow(0 0 5px rgba(255, 255, 255, .55))
      drop-shadow(0 0 10px rgba(62, 218, 255, .65))
      drop-shadow(0 0 20px rgba(116, 91, 255, .45));
  }

  50% {
    opacity: 1;
    transform: scale(1.045);
    filter:
      drop-shadow(0 0 7px rgba(255, 255, 255, .75))
      drop-shadow(0 0 15px rgba(62, 218, 255, .90))
      drop-shadow(0 0 28px rgba(116, 91, 255, .65));
  }
}

@keyframes secondLogoParticle {
  0%,
  100% {
    opacity: .45;
    transform: scale(.80);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-orbit > span,
  .auth-orbit > span::before,
  .auth-orbit > span::after,
  .auth-orbit > i {
    animation: none !important;
  }
}

/* ===== CLEAR SECOND M LOGO END ===== */

/* ===== MUXTAR AUTH RESPONSIVE V4 START ===== */

html,
body {
  min-width: 0;
  min-height: 100%;
}

.auth-gate,
.auth-gate *,
.auth-gate *::before,
.auth-gate *::after {
  box-sizing: border-box;
}

.auth-gate {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  height: var(--auth-viewport-height, 100dvh);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
  overflow: hidden;
  overscroll-behavior: none;
  background: #050816;
}

.auth-gate::before {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: var(--auth-viewport-height, 100dvh);
  pointer-events: none;
}

.auth-visual,
.auth-card-wrap {
  width: 100%;
  min-width: 0;
  min-height: 0;
}

.auth-visual {
  height: var(--auth-viewport-height, 100dvh);
  min-height: 0;
  overflow: hidden;
  contain: layout paint;
}

.auth-card-wrap {
  height: var(--auth-viewport-height, 100dvh);
  min-height: 0;
  padding:
    max(24px, env(safe-area-inset-top))
    clamp(24px, 4vw, 58px)
    max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.auth-card {
  width: min(100%, 480px);
  max-width: 480px;
  min-width: 0;
  flex: 0 0 auto;
  margin: auto;
}

.auth-card > header,
.auth-form,
.auth-form label,
.auth-form label > div,
.auth-tabs,
.auth-language,
.auth-card > footer {
  min-width: 0;
}

.auth-card > header h2,
.auth-card > header > span,
.auth-promise h1,
.auth-promise > span,
.auth-card > footer span {
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

.auth-promise {
  width: min(100%, 650px);
  min-width: 0;
}

.auth-promise h1 {
  max-width: 650px;
  font-size: clamp(40px, 4vw, 58px);
}

.auth-promise > span {
  max-width: 570px;
  font-size: clamp(13px, 1.05vw, 15px);
}

.auth-tabs {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.auth-tabs button,
.auth-submit,
.social-button,
.password-toggle,
.forgot-link,
.resend-link,
.auth-back,
.auth-language select {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.auth-tabs button {
  min-width: 0;
  min-height: 44px;
  height: auto;
  padding: 10px 12px;
  white-space: normal;
  line-height: 1.25;
}

.auth-form label > div {
  width: 100%;
  min-width: 0;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-size: max(16px, 1rem);
}

.auth-form input {
  appearance: none;
  -webkit-appearance: none;
}

.password-toggle {
  width: 44px;
  min-width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.auth-submit,
.social-button {
  min-height: 48px;
  height: auto;
  padding-top: 13px;
  padding-bottom: 13px;
  line-height: 1.3;
}

.forgot-link,
.resend-link,
.auth-back {
  min-height: 44px;
  max-width: 100%;
  padding-block: 10px;
  white-space: normal;
}

.auth-card > footer {
  width: 100%;
  align-items: flex-start;
}

.auth-language {
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
}

.auth-language select {
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
}

@media (max-width: 1180px) {
  .auth-gate {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  }

  .auth-visual {
    padding: clamp(28px, 4vw, 48px);
  }

  .auth-promise h1 {
    font-size: clamp(38px, 4.2vw, 52px);
  }
}

@media (max-width: 980px),
       ((pointer: coarse) and (max-width: 1180px)) {
  .auth-gate {
    display: block;
    width: 100%;
    max-width: 100vw;
    height: var(--auth-viewport-height, 100dvh);
    overflow: hidden;
  }

  .auth-visual {
    display: none !important;
  }

  .auth-card-wrap {
    width: 100%;
    height: var(--auth-viewport-height, 100dvh);
    min-height: 0;
    padding:
      max(20px, env(safe-area-inset-top))
      clamp(16px, 4vw, 28px)
      max(20px, env(safe-area-inset-bottom));
    justify-content: flex-start;
  }

  .auth-card {
    width: min(100%, 500px);
    max-width: 500px;
    margin: auto;
  }
}

@media (max-width: 600px) {
  .auth-gate::before {
    background-size: 48px 48px, 48px 48px, auto;
  }

  .auth-card-wrap {
    padding:
      max(12px, env(safe-area-inset-top))
      12px
      max(16px, env(safe-area-inset-bottom));
  }

  .auth-card {
    width: 100%;
    max-width: none;
    margin: auto 0;
    padding: 24px 18px;
    border-radius: 22px;
    box-shadow:
      0 22px 60px rgba(0, 0, 0, .34),
      inset 0 1px 0 rgba(255, 255, 255, .04);
  }

  .auth-card > header h2 {
    font-size: clamp(27px, 8.2vw, 34px);
    line-height: 1.12;
  }

  .auth-card > header > span {
    font-size: 14px;
    line-height: 1.5;
  }

  .auth-tabs {
    gap: 4px;
  }

  .auth-form {
    gap: 15px;
  }

  .auth-form label > div {
    min-height: 52px;
  }

  .auth-socials {
    grid-template-columns: 1fr;
  }

  .auth-card > footer {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .auth-card-wrap {
    padding-inline: 8px;
  }

  .auth-card {
    padding: 21px 14px;
    border-radius: 19px;
  }

  .auth-card > header h2 {
    font-size: 26px;
  }

  .auth-tabs button {
    padding-inline: 8px;
    font-size: 12px;
  }

  .auth-submit {
    padding-inline: 12px;
  }
}

@media (max-height: 560px) and (max-width: 980px),
       ((orientation: landscape) and (pointer: coarse) and (max-height: 620px)) {
  .auth-card-wrap {
    display: block;
    padding:
      max(8px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
  }

  .auth-card {
    margin: 0 auto;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .auth-card > header h2 {
    font-size: 25px;
  }

  .auth-card > header > span {
    margin-top: 6px;
  }

  .auth-tabs,
  .auth-form {
    margin-top: 14px;
  }

  .auth-language {
    margin-top: 10px;
  }
}

@media (min-width: 981px) and (max-height: 720px) {
  .auth-visual {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .auth-orbit {
    width: min(300px, 28vw);
  }

  .auth-promise h1 {
    font-size: clamp(34px, 3.6vw, 48px);
  }

  .auth-card-wrap {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .auth-card {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@supports (-webkit-touch-callout: none) {
  .auth-gate,
  .auth-card-wrap {
    min-height: -webkit-fill-available;
  }

  .auth-card-wrap {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
}

@media (min-resolution: 1.5dppx) {
  .auth-card {
    transform: translateZ(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-gate *,
  .auth-gate *::before,
  .auth-gate *::after {
    scroll-behavior: auto !important;
  }
}

/* ===== MUXTAR AUTH RESPONSIVE V4 END ===== */\n\n/* ===== MUXTAR AUTH STATE LAYOUT V5 START ===== */

.auth-gate {
  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(410px, .92fr);
}

.auth-card-wrap {
  padding:
    max(22px, env(safe-area-inset-top))
    clamp(28px, 4vw, 58px)
    max(22px, env(safe-area-inset-bottom));
}

.auth-card {
  width: min(100%, 480px);
  max-width: 480px;
  min-width: 0;
}

.auth-form input {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  color: #f6f8ff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

.auth-form input[type="password"] {
  letter-spacing: .08em;
}

.auth-form input::placeholder {
  color: #78849f;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 1;
}

.password-toggle {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  color: #b5c0dc !important;
  background: rgba(121, 105, 211, .08) !important;
  opacity: 1 !important;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.password-toggle svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  opacity: 1 !important;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: #ffffff !important;
  background: rgba(112, 91, 232, .20) !important;
  border-color: rgba(146, 132, 255, .36) !important;
  box-shadow: 0 0 18px rgba(104, 93, 255, .20);
}

.password-toggle:active {
  transform: scale(.96);
}

.auth-submit {
  min-height: 52px;
  height: auto;
  padding: 13px 18px;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}

.auth-env-badge {
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  margin: 0 auto 14px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(128, 151, 219, .18);
  border-radius: 999px;
  color: #c2cbe0;
  background: rgba(10, 18, 39, .76);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.2;
  text-align: center;
}

.auth-env-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, .68);
}

.auth-env-badge[data-environment="cloud"][data-state="online"]::before {
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, .74);
}

.auth-env-badge[data-environment="local"][data-state="online"]::before {
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, .76);
}

.auth-env-badge[data-state="offline"]::before {
  background: #fb7185;
  box-shadow: 0 0 12px rgba(251, 113, 133, .72);
}

.auth-card > footer {
  width: 100%;
  margin-top: 20px;
  padding-top: 17px;
  padding-bottom: 2px;
  align-items: flex-start;
  gap: 10px;
  overflow-wrap: anywhere;
}

.auth-language {
  width: 100%;
  min-height: 48px;
  margin: 14px 0 0;
  padding: 8px 10px 0;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(139, 164, 225, .08);
}

.auth-language select {
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  font-size: 13px;
}

@media (min-width: 981px) and (max-height: 800px) {
  .auth-card-wrap {
    justify-content: flex-start;
    overflow-y: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .auth-card {
    margin-block: auto;
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@media (max-width: 980px) {
  .auth-gate {
    display: block;
    grid-template-columns: 1fr;
  }

  .auth-visual {
    display: none !important;
  }

  .auth-card-wrap {
    width: 100%;
    min-height: 100dvh;
    padding:
      max(16px, env(safe-area-inset-top))
      14px
      max(18px, env(safe-area-inset-bottom));
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .auth-card {
    width: min(100%, 500px);
    max-width: 500px;
    margin: auto;
  }
}

@media (max-width: 600px) {
  .auth-card {
    width: 100%;
    max-width: none;
    padding: 24px 18px;
    border-radius: 22px;
  }

  .auth-card > footer {
    font-size: 12px;
    line-height: 1.55;
  }

  .auth-language {
    margin-top: 12px;
  }
}

/* ===== MUXTAR AUTH STATE LAYOUT V5 END ===== */\n
