/* Gramotix, зона бэкенда: стили окон входа/быстрой регистрации, которыми владеет бэкенд (modals.tpl, login.tpl, stx-quickreg.js).
   Подключается из modules/gx-backend.tpl. Цвета — токены темы (tokens.css) с запасными значениями. */

/* «Уже есть аккаунт? Войти» — под кнопкой «Продолжить» окна быстрой регистрации */
#askEmail .ask-email-login {
  margin: 16px 0 8px;
  text-align: center;
  font: 400 14px/1.4 "Inter", sans-serif;
  color: var(--stx-text-2, #566274);
}
#askEmail .ask-email-login a {
  color: var(--stx-accent-text, #1F52D9);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: color .15s ease;
}
#askEmail .ask-email-login a:hover {
  color: var(--stx-accent-hover, #2258EE);
  text-decoration: underline;
}
#askEmail .ask-email-login a:focus-visible {
  outline: 2px solid var(--stx-accent-ring, rgba(47, 107, 255, .30));
  outline-offset: 2px;
}

/* ссылка «Войти» внутри сообщения «Аккаунт с этой почтой уже есть» */
#askEmail .ask-email-error a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}
#askEmail .ask-email-error a:hover { text-decoration: none; }
