.auth {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: clamp(20px, 5vh, 44px) 18px;
}

@media (max-height: 760px) {
  .auth { justify-content: flex-start; }
}

.auth__card {
  width: 100%;
  max-width: 420px;
  padding: 30px 26px 24px;
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: 0 12px 34px -18px rgba(0, 0, 0, 0.25);
}

.auth__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.auth__mark { width: 44px; height: 44px; border-radius: 12px; }

.auth__brandtext { display: flex; flex-direction: column; line-height: 1.15; }

.auth__name { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }

.auth__tagline { font-size: 12px; color: var(--text-dim); }

.auth__head { margin-bottom: 22px; }

.auth__title { margin: 0 0 6px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }

.auth__subtitle { margin: 0; font-size: 15px; color: var(--text-dim); line-height: 1.4; }

.auth__form { display: flex; flex-direction: column; gap: 14px; }

.auth__foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 0.5px solid var(--separator);
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
}

.auth__legal { font-size: 12px; color: var(--text-faint); }

.otp-resend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-dim);
}

.lang { display: flex; flex-direction: column; gap: 10px; }

.lang__option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  background: var(--field-bg);
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.13s ease, filter 0.15s ease;
}

.lang__option:active { transform: scale(0.99); filter: brightness(0.96); }

.lang__flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
}

.lang__label { flex: 1; text-align: left; }
.lang__caret { color: var(--text-faint); font-size: 15px; }
