/*
 * thenetMonster | PNLCS 1.26.0 | Companion authentication screens
 * Registration, forgot-password and reset-password ONLY.
 * Upstream forms, CSRF, reCAPTCHA, validation, routes and event hooks are untouched.
 * Independent of the already-approved client-login.css stylesheet.
 */
body.tm-register,body.tm-compact-auth {
  --tm-bg:#0c0f10;
  --tm-surface:#161b1b;
  --tm-surface-soft:#1b241e;
  --tm-field:#0c1410;
  --tm-border:#536654;
  --tm-lime:#bef24a;
  --tm-lime-hover:#d0ff6b;
  --tm-ink:#111b0b;
  --tm-text:#f6f8f1;
  --tm-muted:#b4c2b4;
  color-scheme:dark;
  min-height:100vh;
  margin:0;
  box-sizing:border-box;
  padding:54px 18px 64px;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;
  color:var(--tm-text);
  background:
    radial-gradient(ellipse 700px 520px at 80% 16%,rgba(119,164,51,.15),transparent 74%),
    radial-gradient(ellipse 620px 460px at 10% 90%,rgba(45,96,43,.12),transparent 72%),
    repeating-linear-gradient(0deg,transparent 0 66px,rgba(152,198,111,.04) 66px 67px),
    repeating-linear-gradient(90deg,transparent 0 66px,rgba(152,198,111,.04) 66px 67px),
    var(--tm-bg);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
body.tm-register *,body.tm-compact-auth *{box-sizing:border-box}
body.tm-register .register-box{width:100%;max-width:570px}
body.tm-register .login-logo{
  margin-bottom:26px;text-align:center
}
body.tm-register .login-logo p{
  color:#d1ddce!important;
  font-size:12px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin:8px 0 0;
}
.tm-brand-logo{
  display:block;
  margin:0 auto 10px;
  width:auto;
  max-width:min(100%,245px);
  max-height:84px;
  object-fit:contain;
}
.tm-brand-fallback{
  display:block;
  font-size:clamp(22px,5vw,29px);
  line-height:1.25;
  font-weight:800;
  color:var(--tm-text);
  text-align:center;
}
body.tm-register .register-box>.card,
body.tm-compact-auth .card.tm-auth-card{
  width:100%;
  max-width:100%;
  background:linear-gradient(155deg,#1b241e 0%,#121915 100%)!important;
  border:1px solid #4a6348!important;
  border-radius:15px!important;
  box-shadow:0 22px 70px rgba(0,0,0,.44),0 0 0 1px rgba(190,242,74,.05) inset!important;
  overflow:hidden;
}
body.tm-register .register-box>.card::before,
body.tm-compact-auth .card.tm-auth-card::before{
  content:"";display:block;height:3px;
  background:linear-gradient(90deg,#bef24a,#668d34,#283b26);
}
body.tm-register .register-box>.card .card-body{
  padding:34px 34px 30px!important;
  background:transparent!important;
  color:var(--tm-text)!important;
}
body.tm-register .register-box .form-group,
body.tm-compact-auth .tm-auth-card .fg{margin-bottom:17px}
body.tm-register .register-box .form-label,
body.tm-compact-auth .tm-auth-card .fl{
  display:block;
  color:#e7f0e2!important;
  font-size:12px;
  font-weight:700;
  margin-bottom:8px;
  letter-spacing:.015em;
}
body.tm-register .register-box .form-control,
body.tm-compact-auth .tm-auth-card .fc{
  display:block;
  width:100%;
  min-height:46px;
  border:1px solid #536654!important;
  border-radius:7px!important;
  background-color:var(--tm-field)!important;
  color:var(--tm-text)!important;
  font-family:inherit;
  font-size:14px;
  line-height:1.4;
  padding:11px 13px;
  box-shadow:none!important;
  caret-color:var(--tm-text);
}
body.tm-register .register-box select.form-control{
  height:auto;
  appearance:auto;
  color-scheme:dark;
}
body.tm-register .register-box .form-control::placeholder,
body.tm-compact-auth .tm-auth-card .fc::placeholder{
  color:#9fb39e!important;opacity:1;
}
body.tm-register .register-box .form-control:hover,
body.tm-compact-auth .tm-auth-card .fc:hover{border-color:#85a475!important}
body.tm-register .register-box .form-control:focus-visible,
body.tm-compact-auth .tm-auth-card .fc:focus-visible{
  outline:2px solid var(--tm-lime)!important;
  outline-offset:2px;
  border-color:var(--tm-lime)!important;
  box-shadow:0 0 0 3px rgba(190,242,74,.18)!important;
}
body.tm-register .register-box .form-control:is(:autofill, :-webkit-autofill),
body.tm-compact-auth .tm-auth-card .fc:is(:autofill, :-webkit-autofill){
  box-shadow:inset 0 0 0 2px #739a48,inset 0 0 0 100vmax #15251a!important;
  -webkit-text-fill-color:var(--tm-text)!important;
  border-color:#739a48!important;
}
body.tm-register .register-box .form-control:is(:autofill, :-webkit-autofill):focus-visible,
body.tm-compact-auth .tm-auth-card .fc:is(:autofill, :-webkit-autofill):focus-visible{
  box-shadow:inset 0 0 0 2px var(--tm-lime),inset 0 0 0 100vmax #15251a,0 0 0 3px rgba(190,242,74,.2)!important;
}
body.tm-register .register-box .form-row{gap:14px}
body.tm-register .register-box .field-note{color:var(--tm-muted)!important}
body.tm-register .register-box input[type="radio"],
body.tm-register .register-box input[type="checkbox"]{
  accent-color:var(--tm-lime);
  min-width:15px;min-height:15px;
}
body.tm-register .register-box label,
body.tm-register .register-box [style*="font-weight:600"],
body.tm-register .register-box [style*="font-weight:400"]{color:#dbe6d7}
body.tm-register .register-box [style*="border-top:1px solid"]{
  border-top-color:#425443!important;
}
body.tm-register .register-box .login-link{color:var(--tm-muted);font-size:12px;margin-top:23px}
body.tm-register .register-box a,
body.tm-compact-auth .tm-auth-card a{
  color:var(--tm-lime)!important;text-decoration:none;
}
body.tm-register .register-box a:hover,
body.tm-compact-auth .tm-auth-card a:hover{
  color:var(--tm-lime-hover)!important;text-decoration:underline;
}
body.tm-register .register-box .btn-primary,
body.tm-compact-auth .tm-auth-card .btn{
  width:100%;
  min-height:47px;
  border:1px solid var(--tm-lime)!important;
  border-radius:7px!important;
  background:var(--tm-lime)!important;
  color:var(--tm-ink)!important;
  font-family:inherit;
  font-size:13px;
  font-weight:850!important;
  letter-spacing:.025em;
  cursor:pointer;
  box-shadow:none!important;
}
body.tm-register .register-box .btn-primary:hover,
body.tm-compact-auth .tm-auth-card .btn:hover{
  background:var(--tm-lime-hover)!important;
  border-color:var(--tm-lime-hover)!important;
  color:var(--tm-ink)!important;
}
body.tm-register .register-box .btn-primary:focus-visible,
body.tm-compact-auth .tm-auth-card .btn:focus-visible,
body.tm-register a:focus-visible,
body.tm-compact-auth a:focus-visible{
  outline:2px solid var(--tm-lime-hover)!important;
  outline-offset:3px;
}
body.tm-register .register-box .alert,
body.tm-compact-auth .tm-auth-card .ae{
  background:#42231c!important;
  border:1px solid #b86a57!important;
  color:#ffdfd2!important;
  border-radius:7px;
  padding:12px 14px;
  font-size:13px;
}
body.tm-compact-auth .card.tm-auth-card{
  width:min(100%,460px);
  padding:34px 32px 30px;
}
body.tm-compact-auth .tm-auth-brand{
  text-align:center;
  padding-bottom:18px;
  border-bottom:1px solid rgba(190,242,74,.16);
  margin-bottom:22px;
}
body.tm-compact-auth .tm-auth-brand .tm-brand-logo{max-height:75px;max-width:210px}
body.tm-compact-auth .tm-auth-brand p{
  font-size:11px;letter-spacing:.16em;
  color:#d1ddce;font-weight:700;text-transform:uppercase;
  margin:7px 0 0;
}
body.tm-compact-auth .tm-auth-card h1{
  font-size:clamp(20px,5vw,24px);
  line-height:1.25;
  font-weight:800;
  color:var(--tm-text)!important;
  margin:0 0 10px;
}
body.tm-compact-auth .tm-auth-card p.sub{
  color:#c3d1be!important;
  font-size:13px;
  line-height:1.6;
  margin-bottom:22px;
}
body.tm-compact-auth .tm-auth-card .as{
  background:#193a27!important;
  border:1px solid #3f925d!important;
  color:#e4ffe9!important;
  border-radius:7px;
  padding:12px 14px;
}
body.tm-compact-auth .tm-auth-card [style*="text-align:center"] a{
  font-size:13px;font-weight:700;
}
/* Responsive, keyboard-safe; no behavioral styling for CAPTCHA or SSO. */
@media(max-width:620px){
  body.tm-register,body.tm-compact-auth{padding:28px 14px 34px}
  body.tm-register .register-box .form-row{grid-template-columns:1fr!important;gap:0}
  body.tm-register .register-box>.card .card-body{padding:26px 21px!important}
  body.tm-compact-auth .card.tm-auth-card{padding:27px 21px 25px}
  .tm-brand-logo{max-height:69px;max-width:205px}
}
@media(max-width:350px){
  body.tm-register,body.tm-compact-auth{padding-left:10px;padding-right:10px}
  body.tm-register .register-box>.card .card-body{padding:23px 15px!important}
  body.tm-compact-auth .card.tm-auth-card{padding:24px 15px}
}
@media(prefers-reduced-motion:reduce){
  body.tm-register *,body.tm-compact-auth *{scroll-behavior:auto}
}
