/* Tchumy betatest-style auth (login + 2FA) */

.tchumy-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: #0a0a13;
}

.tchumy-auth-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1000px 600px at 20% -10%, rgba(255, 107, 61, 0.12), transparent 60%),
    radial-gradient(900px 500px at 95% 0%, rgba(124, 92, 255, 0.1), transparent 55%),
    radial-gradient(900px 500px at 50% 110%, rgba(255, 77, 125, 0.12), transparent 55%);
}

.tchumy-auth {
  position: relative;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tchumy-auth__brand {
  margin-bottom: 44px;
}

.tchumy-auth__logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}

.tchumy-auth__logo img {
  width: 96px;
  height: 96px;
}

.tchumy-auth__title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.tchumy-auth__subtitle {
  font-size: 0.95rem;
  color: #b8b0d9;
}

.tchumy-auth__support {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.tchumy-auth__support-color {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tchumy-auth__support-white {
  color: var(--text-primary);
}

.tchumy-auth__form,
.tchumy-auth__panel {
  width: 100%;
  max-width: 360px;
  text-align: left;
}

.tchumy-auth__field {
  margin-bottom: 18px;
}

.tchumy-auth__field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #6b6489;
  margin-bottom: 8px;
}

.tchumy-auth__field input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid rgba(124, 92, 200, 0.16);
  background: #17142c;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.tchumy-auth__field input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.16);
}

.tchumy-auth__submit,
.tchumy-auth__btn-primary {
  width: 100%;
  margin-top: 8px;
  padding: 15px 24px;
  border: none;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  transition: opacity 150ms, transform 100ms;
  -webkit-tap-highlight-color: transparent;
}

.tchumy-auth__submit:hover:not(:disabled),
.tchumy-auth__btn-primary:hover:not(:disabled) {
  opacity: 0.95;
}

.tchumy-auth__submit:active:not(:disabled),
.tchumy-auth__btn-primary:active:not(:disabled) {
  opacity: 0.88;
  transform: scale(0.98);
}

.tchumy-auth__submit:disabled,
.tchumy-auth__btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.tchumy-auth__footer {
  margin-top: 26px;
  font-size: 0.92rem;
  color: #6b6489;
}

.tchumy-auth__footer a {
  color: #c4b5fd;
  font-weight: 600;
}

.tchumy-auth__footer a:hover {
  color: #f0abfc;
}

.tchumy-auth__back {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tchumy-auth__back:hover {
  color: var(--text-secondary);
}

.tchumy-auth__hint {
  margin-top: 10px;
  font-size: 0.84rem;
  color: #b8b0d9;
  line-height: 1.5;
  text-align: center;
}

.tchumy-auth__code {
  letter-spacing: 0.35em;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.tchumy-auth__hidden {
  display: none !important;
}

@media (max-width: 420px) {
  .tchumy-auth__title {
    font-size: 1.75rem;
  }
}
