
/* ============================================================
   Step 22
   1. "Kirish" always orange, "Ro'yxatdan o'tish" always green —
      the admin colour palette can never repaint them.
   2. The admin's chosen palette reaches every student.
   3. Registration "Iltimos, barcha maydonlarni to'ldiring." dead end:
      feat-01's review step validated the OLD single "#ri_fio" field,
      which feat-05 split into #ri_first / #ri_last — so it always
      failed and the real doReg never ran. The review pop-up is
      removed and the legacy field ids are kept in sync.
   ============================================================ */

/* 1 — fixed brand colours for the two MODAL submit buttons (login/register
   forms). The intro-page Kirish/Ro'yxatdan o'tish buttons are styled by
   paintButtons() in j39.js instead (green filled / white-with-green-text) --
   this file used to also force-paint those with !important, which fought
   the JS every time and left the register button's icon+text stuck white
   on its own white background. Keep this scoped to the modal buttons only. */
#loginGo,
body.tl-palette #loginGo,
body.tl-dark #loginGo{
  background:linear-gradient(135deg,#34d399,#059669) !important;
  color:#ffffff !important;
  border-color:transparent !important;
}
#loginGo:hover{
  box-shadow:0 22px 40px -14px rgba(16,185,129,.65) !important;
}
#regGo,
body.tl-palette #regGo,
body.tl-dark #regGo{
  background:linear-gradient(135deg,#22c55e,#15803d) !important;
  color:#ffffff !important;
  border-color:transparent !important;
}
#regGo:hover{
  box-shadow:0 22px 40px -14px rgba(21,128,61,.6) !important;
}
#loginGo *, #regGo *{ color:#ffffff !important; }

/* 3 — the registration review pop-up never shows again */
#rvwOv{ display:none !important; }
