/* /login and /register SSR — no Tailwind bundle (Iran-friendly) */
.tnet-auth-page {
  min-height: 100vh;
  background: #f7faf9;
  padding: 2.5rem 1rem;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
}
.tnet-auth-wrap {
  max-width: 28rem;
  margin: 0 auto;
}
.tnet-auth-card {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  padding: 1.5rem 2rem;
  text-align: right;
}
@media (min-width: 640px) {
  .tnet-auth-card {
    padding: 2rem;
  }
}
.tnet-auth-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 0.25rem;
}
.tnet-auth-lead {
  font-size: 0.875rem;
  color: #475569;
  margin: 0 0 1.25rem;
}
.tnet-auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.tnet-auth-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.tnet-auth-hint {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}
.tnet-auth-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  box-sizing: border-box;
}
.tnet-auth-captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.tnet-auth-captcha-img {
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  min-height: 72px;
  min-width: 220px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tnet-auth-captcha-img svg,
.tnet-auth-captcha-img img {
  display: block;
  max-width: 100%;
  height: auto;
}
.tnet-auth-captcha-refresh {
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-family: inherit;
}
.tnet-auth-captcha-refresh:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.tnet-auth-error {
  font-size: 0.875rem;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  margin: 0;
}
.tnet-auth-error[hidden] {
  display: none !important;
}
.tnet-auth-status {
  font-size: 0.875rem;
  color: #475569;
  min-height: 1.25rem;
  margin: 0;
}
.tnet-auth-submit {
  width: 100%;
  border: none;
  border-radius: 0.75rem;
  background: #047857;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  min-height: 48px;
  cursor: pointer;
}
.tnet-auth-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.tnet-auth-secondary {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #6ee7b7;
}
.tnet-auth-secondary:hover:not(:disabled) {
  background: #d1fae5;
}
.tnet-auth-info {
  font-size: 0.875rem;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}
.tnet-auth-info[hidden] {
  display: none !important;
}
.tnet-auth-foot {
  text-align: center;
  font-size: 0.875rem;
  color: #475569;
  margin: 1.5rem 0 0;
}
.tnet-auth-foot a {
  font-weight: 700;
  color: #047857;
  text-decoration: underline;
}
.tnet-auth-legal {
  font-size: 0.75rem;
  color: #475569;
  margin: 1.25rem 0 0;
  line-height: 1.7;
}
.tnet-auth-legal a {
  color: #065f46;
  text-decoration: underline;
}
.tnet-auth-meta {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0.75rem 0 0;
  line-height: 1.7;
}
