/* Auth card polish v10.6.82
   Login and create-account keep distinct visual identities on phone + desktop. */
body.user-auth .auth-card.auth-login-compact{
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%)!important;
  border:1px solid #bfdbfe!important;
  border-top:4px solid #2563eb!important;
  box-shadow:0 16px 42px rgba(37,99,235,.10),0 2px 8px rgba(15,23,42,.06)!important;
}
body.user-auth .auth-card.auth-register-card,
body.user-auth .auth-card.registration-otp-card{
  background:linear-gradient(180deg,#ffffff 0%,#fbf8ff 100%)!important;
  border:1px solid #e9d5ff!important;
  border-top:4px solid #7c3aed!important;
  box-shadow:0 16px 42px rgba(124,58,237,.10),0 2px 8px rgba(15,23,42,.06)!important;
}
body.user-auth .auth-login-compact .panel-pill{
  color:#1d4ed8!important;
  background:#eff6ff!important;
  border-color:#bfdbfe!important;
}
body.user-auth .auth-register-card .panel-pill,
body.user-auth .registration-otp-card .panel-pill{
  color:#6d28d9!important;
  background:#f5f3ff!important;
  border-color:#ddd6fe!important;
}
body.user-auth .auth-card .field input,
body.user-auth .auth-card .field select,
body.user-auth .auth-card .field textarea{background:#fff!important;}

/* Login footer: always one clean left/right row. */
body.user-auth .auth-link-row{
  display:flex!important;
  align-items:stretch;
  justify-content:space-between;
  gap:10px;
  width:100%;
  margin-top:14px;
}
body.user-auth .auth-link-row>a{
  flex:1 1 0;
  min-width:0;
  min-height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border:1px solid transparent;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  line-height:1.2;
  text-decoration:none!important;
  text-align:center;
  white-space:nowrap;
}
body.user-auth .auth-link-row .auth-forgot-link{
  color:#1d4ed8!important;
  background:#eff6ff!important;
  border-color:#bfdbfe!important;
}
body.user-auth .auth-link-row .auth-create-link{
  color:#6d28d9!important;
  background:#f5f3ff!important;
  border-color:#ddd6fe!important;
}
body.user-auth .auth-link-row .auth-forgot-link:hover{background:#dbeafe!important;border-color:#93c5fd!important;}
body.user-auth .auth-link-row .auth-create-link:hover{background:#ede9fe!important;border-color:#c4b5fd!important;}

/* Register page sign-in link also stays in a clear compact box. */
body.user-auth .auth-register-card>.auth-meta{
  margin-top:14px!important;
  padding:10px 12px!important;
  border:1px solid #ddd6fe!important;
  border-radius:10px!important;
  background:#faf8ff!important;
  text-align:center!important;
}
body.user-auth .auth-register-card>.auth-meta a{color:#6d28d9!important;font-weight:800!important;}

@media(max-width:520px){
  body.user-auth .auth-card.auth-login-compact,
  body.user-auth .auth-card.auth-register-card,
  body.user-auth .auth-card.registration-otp-card{
    border-radius:14px!important;
  }
  body.user-auth .auth-link-row{gap:7px;}
  body.user-auth .auth-link-row>a{min-height:38px;padding:8px 7px;font-size:11.5px;border-radius:9px;}
}
