/* ДеньгиОК — вход и регистрация */

.mo-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: linear-gradient(160deg, #eef2ff 0%, #f8f9fc 45%, #fff 100%);
}

.mo-auth-shell {
  width: 100%;
  max-width: 420px;
}

.mo-auth-brand {
  text-align: center;
  margin-bottom: 1.25rem;
}

.mo-auth-brand-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--mo-indigo-dark);
  margin-bottom: 0.25rem;
}

.mo-auth-brand-subtitle {
  font-size: 0.875rem;
  color: var(--mo-muted);
  margin-bottom: 0;
}

.mo-auth-card {
  background: #fff;
  border: 1px solid #e0e7ff;
  border-radius: var(--mo-radius);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.12);
  padding: 1.35rem 1.35rem 1.25rem;
}

.mo-auth-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mo-text);
  margin-bottom: 1rem;
  text-align: center;
}

.mo-auth-field {
  margin-bottom: 0.65rem;
}

.mo-auth-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #4f46e5;
  margin-bottom: 0.2rem;
}

.mo-auth-input {
  min-height: 44px;
  border: 1px solid #e0e7ff !important;
  border-radius: 0.65rem;
  font-size: 0.9375rem;
  padding: 0.45rem 0.75rem;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mo-auth-input:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.2) !important;
  outline: 0;
}

.mo-auth-help {
  font-size: 0.75rem;
  color: var(--mo-muted);
  margin-top: 0.25rem;
}

.mo-auth-errors {
  font-size: 0.8125rem;
}

.mo-auth-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 0.35rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mo-auth-submit:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.42);
}

.mo-auth-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--mo-muted);
}

.mo-auth-footer a {
  font-weight: 700;
  color: #4f46e5;
  text-decoration: none;
}

.mo-auth-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .mo-auth-card {
    padding: 1.1rem 1rem 1rem;
  }

  .mo-auth-input {
    min-height: 42px;
    font-size: 0.875rem;
  }

  .mo-auth-submit {
    min-height: 42px;
    font-size: 0.875rem;
  }
}
