/* 15 · Login · Register — Figma 390:4240 (Desktop 390:4241 · Mobile 395:5045) */
/* Line-heights are whole px: Figma rounds each text line box (15.73 → 16, 18.15 → 18, 31.2 → 31). */

.lr-content { padding-block: 28px 56px; }
.lr-row { display: flex; flex-direction: column; gap: 36px; }

/* Sign in card — 390:4298 / 395:5081 */
.lr-card {
  display: flex; flex-direction: column; gap: 20px;
  padding: 28px 22px;
  border-radius: var(--vt-radius-32);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100), var(--vt-shadow-card);
}
.lr-tabs { display: flex; gap: 28px; }
.lr-tab {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 18px; line-height: 22px; letter-spacing: 0;
  color: var(--vt-semantic-meta); text-align: left;
}
.lr-tab::after { content: ""; display: block; height: 4px; border-radius: var(--vt-radius-pill); background: transparent; }
.lr-tab[aria-selected="true"] { color: var(--vt-semantic-ink); }
.lr-tab[aria-selected="true"]::after { background: var(--vt-raw-lime); }

.lr-role { display: flex; flex-direction: column; gap: 10px; }
.lr-label {
  font-size: 12px; line-height: 15px; font-weight: 600;
  letter-spacing: 1.44px; text-transform: uppercase; color: var(--vt-semantic-meta);
}
.lr-segmented { display: flex; gap: 6px; padding: 6px; border-radius: var(--vt-radius-pill); background: var(--vt-neutral-50); }
.lr-seg {
  flex: 1 1 0; height: 43px; border-radius: var(--vt-radius-pill);
  font-size: 16px; line-height: 19px; font-weight: 600; color: var(--vt-semantic-ink);
}
.lr-seg[aria-checked="true"] { background: var(--cliente-p1-rol-deep); color: var(--vt-base-white); }
/* Keyboard focus lands on the visually hidden radio: draw the ring on its segment (WCAG 2.4.7; PR #9 r2 sweep). */
.lr-seg:has(input:focus-visible) { outline: 3px solid var(--vt-raw-state-focus); outline-offset: 0; }

.lr-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; } /* SPACE_BETWEEN; the 12px gap keeps "Keep me signed in" and "Forgot password?" apart at 375 (dp-uiux S2 N1); wraps, 8px row gap, when both do not fit (375: 302px > 291px, dp-uiux re-gate) */
.lr-keep { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; line-height: 18px; color: var(--vt-semantic-ink); cursor: pointer; white-space: nowrap; }
.lr-forgot { font-size: 15px; line-height: 18px; font-weight: 600; color: var(--cliente-p1-rol-primary); white-space: nowrap; }
.lr-submit { width: 100%; height: 56px; justify-content: space-between; }
.lr-new-title {
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 22px; line-height: 26px; letter-spacing: -0.22px;
  color: var(--vt-semantic-ink);
}
.lr-new-desc { font-size: 15px; line-height: 23px; color: var(--vt-semantic-body); }
.lr-create { width: 100%; }

/* What an account unlocks — 390:4340 / 395:5123 */
.lr-unlocks { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lr-unlocks__title {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 32px; line-height: 32px; letter-spacing: -0.8px;
  color: var(--vt-semantic-ink);
}
.lr-unlocks__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
.lr-unlock {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 22px;
  border-radius: var(--vt-radius-28);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100);
}
.lr-unlock__disc {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: var(--vt-radius-pill);
  background: var(--cliente-p1-rol-secondary);
  color: var(--vt-semantic-ink);                                  /* icon instance colour 390:4345 */
}
.lr-unlock__disc .vt-icon { width: 28px; height: 28px; }
.lr-unlock__title {
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 22px; line-height: 26px; letter-spacing: -0.22px;
  color: var(--vt-semantic-ink);
}
.lr-unlock__desc { font-size: 15px; line-height: 23px; color: var(--vt-semantic-body); }
.lr-unlock__aud { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--cliente-p1-rol-primary); }
.lr-unlock--dark { background: var(--vt-semantic-slab); box-shadow: none; }
.lr-unlock--dark .lr-unlock__title { color: var(--vt-base-white); }
.lr-unlock--dark .lr-unlock__desc  { color: var(--cliente-p1-rol-tint-200); }
.lr-unlock--dark .lr-unlock__aud   { color: var(--vt-raw-lime); }

@media (min-width: 1024px) {
  .lr-content { padding-block: 64px 110px; }
  .lr-row { flex-direction: row; align-items: flex-start; gap: 64px; }
  .lr-card { flex: none; width: 540px; padding: 36px 40px; }
  .lr-tab { font-size: 22px; line-height: 26px; }
  .lr-unlocks { flex: 1 1 auto; gap: 32px; }
  /* Figma 390:4341 breaks "What an account / unlocks" in the 548px column; browser Bricolage measures
     ~1–2px narrower than Figma (measured on 18 hug-width nodes), so the line would not break. The cap
     reproduces Figma's break; any value between ~340px and 546px gives the same result. */
  .lr-unlocks__title { max-width: 520px; font-size: 48px; line-height: 48px; letter-spacing: -1.2px; }
  .lr-unlocks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .lr-unlock { padding: 28px; }
}
