/* B2B auth only. Brand color and type remain owned by the configured theme. */
body.tmark-trade-auth {
  background: #f7f8f7;
  color: #222;
  min-height: 100vh;
}
.tmark-trade-auth .auth-header {
  display: flex;
  justify-content: center;
  padding: 40px 20px 24px;
  background: transparent;
}
.tmark-trade-auth .auth-header img {
  max-width: min(240px, 100%);
  max-height: 72px;
}
.tmark-trade-auth .auth-header h1 { margin: 0; font-size: 24px; }
.tmark-trade-auth .trade-auth-main { padding: 8px 20px 48px; }
.tmark-trade-auth .trade-auth-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 32px;
  background: #fff;
  border: 1px solid #e1e5e1;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
  overflow-wrap: anywhere;
}
.tmark-trade-auth .trade-auth-card h1 { margin: 0 0 10px; font-size: 24px; line-height: 1.3; font-weight: 600; }
.tmark-trade-auth .trade-auth-intro { margin: 0 0 26px; color: #596459; line-height: 1.6; }
.tmark-trade-auth .trade-auth-card .form-group { margin: 0 0 20px; }
.tmark-trade-auth .trade-auth-card label { display: block; margin: 0 0 8px; font-weight: 600; }
.tmark-trade-auth .trade-auth-card .form-control { height: 46px; font-size: 16px; border-radius: 4px; }
.tmark-trade-auth .trade-auth-card .btn-primary { min-height: 46px; border-radius: 4px; font-size: 16px; cursor: pointer; white-space: normal; }
.tmark-trade-auth .trade-auth-card .btn-primary:disabled { cursor: wait; opacity: .65; }
.tmark-trade-auth .trade-password { position: relative; }
.tmark-trade-auth .trade-password input { padding-right: 82px; }
.tmark-trade-auth .trade-password-toggle {
  position: absolute;
  right: 1px;
  top: 1px;
  height: 44px;
  min-width: 68px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  border-radius: 3px;
  color: #3d533d;
  font-size: 14px;
  cursor: pointer;
}
.tmark-trade-auth .trade-password-toggle[hidden] { display: none; }
.tmark-trade-auth .trade-password-toggle:hover { background: #edf2ed; }
.tmark-trade-auth .trade-auth-link { display: inline-block; padding: 12px 0; margin-top: 6px; color: #3d533d; text-decoration: underline; text-underline-offset: 3px; }
.tmark-trade-auth .trade-auth-link:hover { color: #172b17; }
.tmark-trade-auth .trade-auth-help { margin-top: 18px; padding-top: 20px; border-top: 1px solid #e1e5e1; color: #596459; font-size: 13px; line-height: 1.7; }
.tmark-trade-auth .trade-auth-help h2 { margin: 0 0 8px; color: #333; font-size: 14px; font-weight: 600; }
.tmark-trade-auth .trade-auth-help p { margin: 0 0 8px; }
.tmark-trade-auth .trade-auth-help p:last-child { margin-bottom: 0; }
.tmark-trade-auth .trade-auth-card :focus-visible { outline: 2px solid var(--main-color); outline-offset: 3px; }
.tmark-trade-auth .trade-auth-card .alert { margin: 0 0 20px; }
@media (max-width: 479px) {
  .tmark-trade-auth .auth-header { padding: 28px 20px 20px; }
  .tmark-trade-auth .trade-auth-main { padding: 4px 16px 32px; }
  .tmark-trade-auth .trade-auth-card { padding: 24px 20px; }
  .tmark-trade-auth .trade-auth-card h1 { font-size: 22px; }
}
