/* =========================================================
   TOE BEANS DESIGN SYSTEM
   INDIVIDUAL LOGIN

   Canonical page-specific styling for login.html.
   ========================================================= */

.ds-login-page {
  min-height: calc(100vh - 72px);
  padding: 56px 0 72px;
  background: var(--ds-background);
  color: var(--ds-text);
}

.ds-login-shell {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 56px;
  align-items: center;
}


/* LEFT SUPPORT PANEL */

.ds-login-intro {
  max-width: 610px;
  padding: 30px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-xl);
  background: var(--ds-surface);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--ds-text) 6%, transparent);
}

.ds-login-eyebrow {
  margin: 0 0 12px;
  color: var(--ds-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ds-login-intro h1 {
  margin: 0;
  max-width: 540px;
  color: var(--ds-heading);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.ds-login-description {
  margin: 18px 0 0;
  max-width: 570px;
  color: var(--ds-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ds-login-benefits {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  list-style: none;
}

.ds-login-benefit {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.ds-login-benefit-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ds-radius-md);
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
}

.ds-login-benefit-icon .ds-icon {
  width: 19px;
  height: 19px;
}

.ds-login-benefit strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ds-heading);
  font-size: 14px;
}

.ds-login-benefit p {
  margin: 0;
  color: var(--ds-muted);
  font-size: 13px;
  line-height: 1.5;
}


/* LOGIN CARD */

.ds-login-card {
  width: 100%;
  padding: 28px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-xl);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-md);
}

.ds-login-card-header {
  margin-bottom: 22px;
}

.ds-login-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--ds-primary) 18%, transparent);
  border-radius: var(--ds-radius-md);
  background: var(--ds-primary-soft);
  color: var(--ds-primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ds-login-card h2 {
  margin: 0 0 7px;
  color: var(--ds-heading);
  font-size: 26px;
  line-height: 1.15;
}

.ds-login-card-header > p:last-child {
  margin: 0;
  color: var(--ds-muted);
  font-size: 14px;
  line-height: 1.5;
}


/* FORM */

.ds-login-form {
  display: grid;
  gap: 16px;
}

.ds-login-field {
  display: grid;
  gap: 6px;
}

.ds-login-field label {
  color: var(--ds-heading);
  font-size: 14px;
  font-weight: 700;
}

.ds-login-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  background: var(--ds-surface);
  color: var(--ds-text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.ds-login-field input:focus {
  border-color: var(--ds-primary);
  box-shadow: 0 0 0 3px var(--ds-primary-soft);
}

.ds-login-field input::placeholder {
  color: var(--ds-muted);
}

.ds-login-field .ds-password-input-wrap {
  width: 100%;
}

.ds-login-field .ds-password-input-wrap input {
  padding-right: 52px;
}

.ds-login-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
  font-size: 14px;
}


/* ACCOUNT LINKS */

.ds-login-help {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  text-align: center;
}

.ds-login-help a {
  color: var(--ds-primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ds-login-help a:hover {
  text-decoration: underline;
}

.ds-login-help p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
  color: var(--ds-muted);
  font-size: 12px;
  line-height: 1.5;
}

.ds-login-account-links {
  margin-top: 22px;
  display: grid;
  border-top: 1px solid var(--ds-border);
  gap: 2px;
}

.ds-login-account-link {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  align-items: start;
  justify-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--ds-border);
  color: var(--ds-muted);
  font-size: 12px;
  line-height: 1.45;
  row-gap: 5px;
}

.ds-login-account-link:last-child {
  border-bottom: 0;
}

.ds-login-account-link a {
  color: var(--ds-primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-align: left;
  white-space: nowrap;
}

.ds-login-account-link a:hover {
  text-decoration: underline;
}


/* MESSAGE */

.ds-login-message {
  margin: 0;
}


/* RESPONSIVE */





.ds-login-help p a {
  white-space: nowrap;
}



