/* Auth pages (login + signup) — centered branded card, scoped scopes
   .lg2-page / .sg2-page. No markup hooks touched. */
.lg2-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
  padding-bottom: 56px;
}
.lg2-brand { text-align: center; margin-bottom: 18px; }
.lg2-logo { height: 54px; width: auto; margin-bottom: 10px; }
.lg2-title {
  font-size: 26px; font-weight: 800; color: var(--ink); margin: 0 0 4px;
}
.lg2-sub { color: var(--muted); font-size: 14.5px; margin: 0; }

.lg2-page .loginWrapper {
  width: min(480px, 100%);
  margin: 0 auto !important;
  float: none !important;
}
.lg2-page .loginWrapper .car-lists {
  border: 1px solid #ececec;
  border-radius: 16px !important;
  box-shadow: 0 14px 40px rgba(10, 20, 10, .10);
  padding: 34px 36px !important;
}
.lg2-page .cart-user-form {
  font-size: 20px; font-weight: 800; color: var(--ink);
  margin-bottom: 20px !important;
}
.lg2-page .control-label {
  font-size: 13px; font-weight: 700; color: var(--ink); padding: 0 0 6px;
}
.lg2-page .cart_asterisk { color: var(--red); }
.lg2-page .form-control {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14.5px;
  height: auto;
  box-shadow: none;
}
.lg2-page .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22,138,74,.12);
  outline: none;
}
.lg2-page .input-group-text {
  border-radius: 0 8px 8px 0;
  border: 1px solid var(--line);
  border-left: 0;
  background: #f6f7f4;
  cursor: pointer;
}
.lg2-page .input-group .form-control { border-radius: 8px 0 0 8px; }
.lg2-page .forgot-btn {
  color: var(--green); font-size: 13.5px; font-weight: 600;
  text-decoration: none; padding: 0;
}
.lg2-page .forgot-btn:hover { text-decoration: underline; }
.lg2-page .actn-btn,
.lg2-page #login, .lg2-page .btn.actn-btn {
  background: var(--orange) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 12px 40px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
.lg2-page .actn-btn:hover { filter: brightness(.94); }
.lg2-page .help-block { color: var(--red); font-size: 12.5px; margin: 6px 0 0; }

/* method-select cards */
.lg2-page .kgs-fa-cards { display: grid; gap: 10px; }
.lg2-page .kgs-fa-card,
.lg2-page .method_field .kgs-fa-card {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lg2-page .kgs-fa-card:hover {
  border-color: var(--green);
  box-shadow: 0 6px 16px rgba(22,138,74,.12);
}
.lg2-page .kgs-fa-card.is-active,
.lg2-page .kgs-fa-card[data-selected="1"] {
  border-color: var(--green);
  background: #f4faf6;
}

/* ===== signup ===== */
.sg2-page .main-page,
.sg2-page .cart-form-grid { background: transparent !important; }
.sg2-page .loginWrapper,
.sg2-page .signupWrapper,
.sg2-page .registerWrapper {
  width: min(860px, 100%);
  margin: 0 auto !important;
  float: none !important;
}
.sg2-page .car-lists {
  border: 1px solid #ececec;
  border-radius: 16px !important;
  box-shadow: 0 14px 40px rgba(10,20,10,.10);
  padding: 30px 34px !important;
}
.sg2-page .control-label {
  font-size: 13px; font-weight: 700; color: var(--ink); padding: 0 0 6px;
}
.sg2-page .cart_asterisk { color: var(--red); }
.sg2-page .form-control {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 14px;
  height: auto;
  box-shadow: none;
}
.sg2-page .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22,138,74,.12);
  outline: none;
}
.sg2-page .actn-btn {
  background: var(--orange) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 12px 40px !important;
  font-weight: 700 !important;
}
.sg2-page .actn-btn:hover { filter: brightness(.94); }

/* light surface + fixes */
.lg2-page, .sg2-page { background: #f4f5f2 !important; }
.sg2-page .nav-prex-next.removebuttons { display: none !important; }
.sg2-page .cart-user-form {
  font-size: 24px; font-weight: 800; color: var(--ink);
}
.sg2-page .signup_subtitle, .sg2-page p:first-of-type { color: var(--muted); }

/* --- Login benefits aside (mockup parity, UX_review 20261028) ---
   Right-hand account-benefits panel beside the login card on desktop. */
.lg2-split { width: 100%; }
.lg2-benefits { display: none; }
.lg2-benefits__title {
  float: none;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink, #18202b);
  margin: 0 0 4px;
}
.lg2-benefits__sub {
  color: var(--muted, #697386);
  font-size: 13.5px;
  margin: 0 0 20px;
}
.lg2-benefit {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #eef1f6;
}
.lg2-benefit:first-of-type { border-top: 0; padding-top: 0; }
.lg2-benefit__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef5ff;
  color: var(--blue-700, #174d9a);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lg2-benefit__body { display: flex; flex-direction: column; gap: 2px; }
.lg2-benefit__body strong { font-size: 15px; color: var(--ink, #18202b); }
.lg2-benefit__body span { font-size: 13px; color: var(--muted, #697386); line-height: 1.45; }
.lg2-benefit__link {
  color: var(--blue-700, #174d9a);
  font-weight: 700;
  font-size: 13.5px;
  margin-top: 6px;
  text-decoration: none;
}
.lg2-benefit__link:hover { text-decoration: underline; }

@media (min-width: 1024px) {
  .lg2-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    max-width: 1180px;
    margin: 0 auto;
  }
  .lg2-main { flex: 0 1 560px; min-width: 0; }
  .lg2-benefits {
    display: block;
    flex: 0 0 340px;
    background: #fff;
    border: 1px solid var(--line, #dce4ef);
    border-radius: 14px;
    padding: 30px 28px;
    box-shadow: 0 10px 30px rgba(16, 42, 67, .08);
  }
}
