/**
 * Rigged Auth Shell v2.1 (logo stacked above card)
 * Dark split-panel login / register. Scoped under .lpm-auth-shell
 * Brand: #0a0b0f / #ff6a00
 */
.lpm-auth-shell {
  --lpm-auth-bg: #0a0b0f;
  --lpm-auth-bg2: #11141b;
  --lpm-auth-card: #151922;
  --lpm-auth-line: rgba(255, 255, 255, 0.08);
  --lpm-auth-line2: rgba(255, 255, 255, 0.12);
  --lpm-auth-text: #f3f4f7;
  --lpm-auth-muted: #98a0b0;
  --lpm-auth-muted2: #6b7385;
  --lpm-auth-orange: #ff6a00;
  --lpm-auth-orange2: #ff8626;
  --lpm-auth-orange3: #e85d00;
  --lpm-auth-radius: 12px;
  --lpm-auth-radius-lg: 18px;
  --lpm-auth-input-h: 44px;
  --lpm-auth-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  box-sizing: border-box;
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: var(--lpm-auth-bg);
  color: var(--lpm-auth-text);
  font-family: var(--lpm-auth-font);
  line-height: 1.5;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  max-width: none;
}

.lpm-auth-shell *,
.lpm-auth-shell *::before,
.lpm-auth-shell *::after {
  box-sizing: border-box;
}

.lpm-auth-shell a {
  color: var(--lpm-auth-orange2);
  text-decoration: none;
}
.lpm-auth-shell a:hover {
  color: #ff9a4a;
  text-decoration: underline;
}

/* ---- Brand panel ---- */
.lpm-auth-brand {
  position: relative;
  padding: 44px 40px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(255, 106, 0, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 90%, rgba(255, 106, 0, 0.08), transparent 50%),
    linear-gradient(165deg, #0d0f15 0%, #0a0b0f 50%, #12151c 100%);
  border-right: 1px solid var(--lpm-auth-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lpm-auth-brand-logo {
  display: inline-block;
  line-height: 0;
}
.lpm-auth-brand-logo img {
  height: 40px;
  width: auto;
  display: block;
  max-width: 220px;
}

.lpm-auth-brand-copy {
  margin-top: 64px;
  max-width: 360px;
}
.lpm-auth-brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lpm-auth-orange2);
  margin-bottom: 14px;
}
.lpm-auth-brand-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--lpm-auth-orange);
  border-radius: 2px;
}
.lpm-auth-brand-copy h1,
.lpm-auth-brand-copy .lpm-auth-brand-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--lpm-auth-text);
}
.lpm-auth-brand-copy .lpm-auth-accent {
  font-style: normal;
  color: var(--lpm-auth-orange);
}
.lpm-auth-brand-copy > p {
  color: var(--lpm-auth-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.lpm-auth-perks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.lpm-auth-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #c9ced8;
  margin: 0;
}
.lpm-auth-perks .lpm-auth-perk-dot {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  flex-shrink: 0;
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.35);
  display: grid;
  place-items: center;
  color: var(--lpm-auth-orange2);
  font-size: 12px;
  line-height: 1;
}
.lpm-auth-brand-foot {
  font-size: 11px;
  color: var(--lpm-auth-muted2);
  margin-top: 32px;
}

/* Mobile logo / blurb (shown only on small screens) */
.lpm-auth-mobile-top {
  display: none;
  text-align: center;
  padding: 4px 0 12px;
}
.lpm-auth-mobile-top img {
  height: 28px;
  width: auto;
  margin: 0 auto 8px;
  display: block;
}
.lpm-auth-mobile-blurb {
  font-size: 12.5px;
  color: var(--lpm-auth-muted);
  margin: 0;
}

/* ---- Form panel / card ---- */
.lpm-auth-panel {
  display: flex;
  flex-direction: column; /* logo + blurb above card — never beside */
  align-items: center;
  justify-content: center;
  padding: 36px 32px;
  background: var(--lpm-auth-bg);
  min-width: 0;
  gap: 0;
}

.lpm-auth-shell .lpm-login-wrap,
.lpm-auth-shell .lpm-login-form-container,
.lpm-auth-shell .lpm-register-form-container,
.lpm-auth-card {
  width: 100%;
  max-width: 400px;
  margin: 0;
  padding: 28px 26px 22px;
  background: var(--lpm-auth-card) !important;
  border: 1px solid var(--lpm-auth-line) !important;
  border-radius: var(--lpm-auth-radius-lg) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35) !important;
  color: var(--lpm-auth-text);
}

.lpm-auth-shell.is-register .lpm-register-form-container,
.lpm-auth-shell.is-register .lpm-auth-card {
  max-width: 460px;
  padding: 24px 24px 18px;
}

.lpm-auth-shell .lpm-login-wrap {
  min-height: 0;
  display: block;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
  max-width: 400px;
}

.lpm-auth-shell .lpm-login-form-container {
  /* nested card look when wrap is outer */
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-width: none;
  margin: 0;
}

.lpm-auth-shell .lpm-login-wrap.lpm-auth-card .lpm-login-form-container {
  padding: 0;
}

/* When login wrap IS the card */
.lpm-auth-shell > .lpm-auth-panel > .lpm-login-wrap.lpm-auth-card {
  padding: 28px 26px 22px;
  background: var(--lpm-auth-card) !important;
  border: 1px solid var(--lpm-auth-line) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35) !important;
}

/* Header */
.lpm-auth-shell .lpm-form-header {
  text-align: left;
  margin-bottom: 16px;
}
.lpm-auth-shell .lpm-form-header-icon,
.lpm-auth-shell .lpm-form-header > .dashicons {
  display: none !important;
}
.lpm-auth-shell .lpm-form-header h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lpm-auth-text) !important;
}
.lpm-auth-shell .lpm-form-description {
  color: var(--lpm-auth-muted) !important;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

/* Security note */
.lpm-auth-shell .lpm-auth-security-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  margin: 0 0 16px;
  background: rgba(255, 106, 0, 0.06) !important;
  border: 1px solid rgba(255, 106, 0, 0.22) !important;
  border-radius: 10px;
  color: var(--lpm-auth-muted);
  grid-template-columns: unset;
}
.lpm-auth-shell .lpm-auth-security-note > .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  color: var(--lpm-auth-orange2) !important;
  flex-shrink: 0;
  margin-top: 1px;
}
.lpm-auth-shell .lpm-auth-security-note p {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--lpm-auth-muted);
}
.lpm-auth-shell .lpm-auth-security-note strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 1px;
}
.lpm-auth-shell .lpm-auth-security-note span {
  font-size: 12px;
  color: var(--lpm-auth-muted);
}

/* Fields */
.lpm-auth-shell .lpm-form-row {
  margin-bottom: 12px;
}
.lpm-auth-shell .lpm-form-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #c9ced8 !important;
  margin-bottom: 6px;
  gap: 0;
}
.lpm-auth-shell .lpm-form-row label .dashicons {
  display: none;
}
.lpm-auth-shell .lpm-form-row .required {
  color: var(--lpm-auth-orange) !important;
}

.lpm-auth-shell .lpm-input,
.lpm-auth-shell input.lpm-input,
.lpm-auth-shell input[type="text"],
.lpm-auth-shell input[type="email"],
.lpm-auth-shell input[type="password"] {
  width: 100%;
  height: var(--lpm-auth-input-h);
  padding: 0 14px !important;
  background: var(--lpm-auth-bg2) !important;
  border: 1px solid var(--lpm-auth-line2) !important;
  border-radius: var(--lpm-auth-radius) !important;
  color: var(--lpm-auth-text) !important;
  font-size: 14px !important;
  box-shadow: none !important;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lpm-auth-shell .lpm-input::placeholder {
  color: var(--lpm-auth-muted2);
}
.lpm-auth-shell .lpm-input:focus,
.lpm-auth-shell input.lpm-input:focus {
  outline: none;
  border-color: rgba(255, 106, 0, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.14) !important;
  background: var(--lpm-auth-bg2) !important;
}

.lpm-auth-shell .lpm-input-wrap {
  position: relative;
}
.lpm-auth-shell .lpm-input-wrap .lpm-input {
  padding-left: 38px !important;
}
.lpm-auth-shell .lpm-input-wrap .lpm-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lpm-auth-muted2) !important;
  font-size: 16px;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

/* Password */
.lpm-auth-shell .lpm-password-wrapper,
.lpm-auth-shell .lpm-password-row {
  position: relative;
  display: block;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}
.lpm-auth-shell .lpm-password-wrapper .lpm-password-input,
.lpm-auth-shell .lpm-password-wrapper .lpm-input {
  padding-right: 44px !important;
  border: 1px solid var(--lpm-auth-line2) !important;
  background: var(--lpm-auth-bg2) !important;
}
.lpm-auth-shell .lpm-password-wrapper:focus-within {
  box-shadow: none !important;
  background: transparent !important;
}
.lpm-auth-shell .lpm-toggle-password {
  position: absolute !important;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  min-height: 32px !important;
  margin: 0;
  padding: 0;
  border: none !important;
  border-left: none !important;
  border-radius: 8px;
  background: transparent !important;
  color: var(--lpm-auth-muted) !important;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.lpm-auth-shell .lpm-toggle-password:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.04) !important;
}
.lpm-auth-shell .lpm-toggle-password .dashicons {
  width: 17px;
  height: 17px;
  font-size: 17px;
}

/* Inline remember / forgot */
.lpm-auth-shell .lpm-form-row-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.lpm-auth-shell .rememberme-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #c9ced8 !important;
  cursor: pointer;
  margin: 0;
}
.lpm-auth-shell .rememberme-label input[type="checkbox"],
.lpm-auth-shell input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--lpm-auth-line2);
  background: var(--lpm-auth-bg2);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  margin: 0;
  accent-color: var(--lpm-auth-orange);
}
.lpm-auth-shell input[type="checkbox"]:checked {
  background: var(--lpm-auth-orange);
  border-color: var(--lpm-auth-orange);
}
.lpm-auth-shell input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}
.lpm-auth-shell input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.14);
}
.lpm-auth-shell .lpm-link-forgot {
  color: var(--lpm-auth-orange2) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.lpm-auth-shell .lpm-link-forgot:hover {
  color: #ff9a4a !important;
  text-decoration: underline;
}

/* Primary CTA */
.lpm-auth-shell .lpm-btn-login,
.lpm-auth-shell .lpm-button.button-large,
.lpm-auth-shell button.lpm-btn-login,
.lpm-auth-shell button[name="lpm_register"],
.lpm-auth-shell button[name="wp-submit"] {
  width: 100% !important;
  height: 46px !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px !important;
  border: 2px solid #ff6a00 !important;
  background: #000 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: none !important;
  cursor: pointer;
  transition: transform 0.12s, filter 0.12s;
  transform: none !important;
}
.lpm-auth-shell .lpm-btn-login:hover,
.lpm-auth-shell .lpm-button.button-large:hover,
.lpm-auth-shell button[name="lpm_register"]:hover {
  filter: brightness(1.06);
  transform: none !important;
  background: #000 !important;
  border: 2px solid #ff6a00 !important;
  color: #fff !important;
}
.lpm-auth-shell .lpm-btn-login:focus-visible,
.lpm-auth-shell button[name="lpm_register"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.28), 0 10px 24px rgba(255, 106, 0, 0.32) !important;
}
.lpm-auth-shell .lpm-btn-login.is-loading,
.lpm-auth-shell .lpm-btn-login:disabled,
.lpm-auth-shell button[name="lpm_register"]:disabled {
  opacity: 0.75;
  cursor: wait;
}

/* Divider + secondary link */
.lpm-auth-shell .lpm-form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 12px;
  color: var(--lpm-auth-muted2);
  font-size: 12px;
  text-align: center;
}
.lpm-auth-shell .lpm-form-divider::before,
.lpm-auth-shell .lpm-form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--lpm-auth-line);
}
.lpm-auth-shell .lpm-register-link,
.lpm-auth-shell .lpm-login-link {
  text-align: center;
  margin-top: 0;
  padding-top: 0;
  border-top: none !important;
}
.lpm-auth-shell .lpm-link-register {
  display: inline;
  width: auto;
  padding: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--lpm-auth-orange2) !important;
  background: transparent !important;
  border: none !important;
  text-decoration: none;
}
.lpm-auth-shell .lpm-link-register:hover {
  background: transparent !important;
  color: #ff9a4a !important;
  text-decoration: underline;
}
.lpm-auth-shell .lpm-form-footer-text {
  margin: 0;
  color: var(--lpm-auth-muted);
  font-size: 13.5px;
}
.lpm-auth-shell .lpm-link-primary {
  color: var(--lpm-auth-orange2) !important;
  font-weight: 700;
  text-decoration: none;
}
.lpm-auth-shell .lpm-link-primary:hover {
  color: #ff9a4a !important;
  text-decoration: underline;
}

.lpm-auth-shell .lpm-recaptcha-badge-wrap {
  margin-top: 14px;
  padding-top: 0;
  border-top: none !important;
  text-align: center;
}
.lpm-auth-shell .lpm-recaptcha-text {
  font-size: 11px !important;
  color: var(--lpm-auth-muted2) !important;
  line-height: 1.4;
  margin: 0;
}

/* Errors */
.lpm-auth-shell .lpm-error-messages .lpm-notice.error,
.lpm-auth-shell .lpm-notice.error {
  position: relative;
  margin: 0 0 16px;
  padding: 12px 40px 12px 14px;
  background: rgba(225, 29, 72, 0.12) !important;
  border: 1px solid rgba(251, 113, 133, 0.35) !important;
  border-left: 3px solid #e11d48 !important;
  border-radius: 10px;
  color: #fecdd3 !important;
}
.lpm-auth-shell .lpm-error-text {
  color: #fecdd3;
  margin: 0;
}
.lpm-auth-shell .lpm-login-error-reset {
  color: #fda4af !important;
}

/* Role cards (register) */
.lpm-auth-shell .lpm-role-selection {
  margin-bottom: 12px;
}
.lpm-auth-shell .lpm-role-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.lpm-auth-shell .lpm-role-option {
  margin: 0;
  cursor: pointer;
  display: block;
}
.lpm-auth-shell .lpm-role-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.lpm-auth-shell .lpm-role-card {
  height: 100%;
  padding: 11px;
  background: var(--lpm-auth-bg2) !important;
  border: 1px solid var(--lpm-auth-line2) !important;
  border-radius: 12px;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  transform: none !important;
  box-shadow: none !important;
}
.lpm-auth-shell .lpm-role-card .dashicons {
  width: 28px;
  height: 28px;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lpm-auth-line);
  color: var(--lpm-auth-muted) !important;
  display: inline-block;
}
.lpm-auth-shell .lpm-role-card h3 {
  margin: 0 0 2px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff !important;
}
.lpm-auth-shell .lpm-role-card p {
  margin: 0;
  font-size: 11px;
  color: var(--lpm-auth-muted) !important;
  line-height: 1.35;
}
.lpm-auth-shell .lpm-role-option input:checked + .lpm-role-card {
  border-color: rgba(255, 106, 0, 0.65) !important;
  background: rgba(255, 106, 0, 0.08) !important;
  box-shadow: 0 0 0 1px rgba(255, 106, 0, 0.25), 0 8px 24px rgba(255, 106, 0, 0.1) !important;
}
.lpm-auth-shell .lpm-role-option input:checked + .lpm-role-card .dashicons {
  background: rgba(255, 106, 0, 0.15);
  border-color: rgba(255, 106, 0, 0.4);
  color: var(--lpm-auth-orange2) !important;
}
.lpm-auth-shell .lpm-role-card:hover {
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Name row — keep stacked by default; optional side-by-side via wrapper class */
.lpm-auth-shell .lpm-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lpm-auth-shell .lpm-name-grid .lpm-form-row {
  margin-bottom: 12px;
}

/* Password strength */
.lpm-auth-shell .lpm-password-strength {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lpm-auth-shell .lpm-strength-meter {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0;
}
.lpm-auth-shell .lpm-strength-bar {
  height: 100%;
  width: 0%;
  background: #e2e8f0;
  transition: all 0.3s;
  border-radius: 4px;
}
.lpm-auth-shell .lpm-strength-bar.weak { width: 25%; background: #dc2626; }
.lpm-auth-shell .lpm-strength-bar.fair { width: 50%; background: #f59e0b; }
.lpm-auth-shell .lpm-strength-bar.good { width: 75%; background: #3b82f6; }
.lpm-auth-shell .lpm-strength-bar.strong {
  width: 100%;
  background: linear-gradient(90deg, #ff8626, #22c55e);
}
.lpm-auth-shell .lpm-strength-text {
  font-size: 11px;
  color: var(--lpm-auth-muted);
  font-weight: 600;
  white-space: nowrap;
}
.lpm-auth-shell .lpm-email-hint.lpm-hint-error { color: #f87171; }
.lpm-auth-shell .lpm-email-hint.lpm-hint-ok { color: #86efac; }

/* Legal checkboxes */
.lpm-auth-shell .lpm-form-row > label[style*="display: flex"],
.lpm-auth-shell .lpm-legal-check {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #c9ced8 !important;
  line-height: 1.4;
  margin-bottom: 0;
  cursor: pointer;
}
.lpm-auth-shell .lpm-form-row > label[style*="display: flex"] a {
  color: var(--lpm-auth-orange2);
}

/* ---- 2FA modal overrides (when auth-shell CSS is loaded) ---- */
.lpm-verification-modal .lpm-verification-overlay {
  background: rgba(6, 7, 10, 0.82) !important;
  backdrop-filter: blur(6px);
}
.lpm-verification-modal .lpm-verification-content {
  background: var(--lpm-auth-card, #151922) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55) !important;
  color: #f3f4f7;
  max-width: 380px;
  padding: 28px 26px 22px !important;
}
.lpm-verification-modal .lpm-verification-header .dashicons {
  width: 46px;
  height: 46px;
  font-size: 22px;
  line-height: 46px;
  border-radius: 12px;
  margin: 0 auto 12px;
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.35);
  color: #ff8626 !important;
  display: grid;
  place-items: center;
}
.lpm-verification-modal .lpm-verification-header h2 {
  color: #f3f4f7 !important;
  font-size: 22px;
  font-weight: 800;
}
.lpm-verification-modal .lpm-verification-subtitle {
  color: #98a0b0 !important;
  font-size: 13.5px;
}
.lpm-verification-modal .lpm-code-inputs {
  display: flex !important;
  gap: 10px;
  justify-content: center;
  grid-template-columns: unset;
  margin: 6px 0 16px;
}
.lpm-verification-modal .lpm-code-digit {
  width: 46px !important;
  height: 54px !important;
  min-width: 40px;
  font-size: 22px !important;
  font-weight: 700;
  background: #11141b !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  color: #f3f4f7 !important;
  transform: none !important;
}
.lpm-verification-modal .lpm-code-digit:focus {
  border-color: rgba(255, 106, 0, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.14) !important;
  background: #11141b !important;
  transform: none !important;
}
.lpm-verification-modal .lpm-code-digit.filled {
  border-color: rgba(255, 106, 0, 0.45) !important;
  color: #ff8626 !important;
  background: #11141b !important;
}
.lpm-verification-modal .lpm-verification-timer {
  color: #98a0b0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.lpm-verification-modal .lpm-verification-timer strong {
  color: #fff !important;
  font-variant-numeric: tabular-nums;
}
.lpm-verification-modal .lpm-verification-actions .button-primary,
.lpm-verification-modal #lpm-verify-btn {
  background: linear-gradient(180deg, #ff8626, #ff6a00 55%, #e85d00) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 12px !important;
  height: 44px !important;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.32);
}
.lpm-verification-modal .lpm-verification-actions .button-secondary,
.lpm-verification-modal #lpm-resend-btn {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #c9ced8 !important;
  border-radius: 12px !important;
  height: 42px !important;
  font-weight: 600;
}
.lpm-verification-modal .lpm-verification-error {
  background: rgba(225, 29, 72, 0.12) !important;
  border-color: rgba(251, 113, 133, 0.35) !important;
  color: #fecdd3 !important;
}

/* ---- Soften / hide site chrome on auth pages ---- */
body.lpm-auth-page #masthead,
body.lpm-auth-page .site-header,
body.lpm-auth-page header.elementor-location-header,
body.lpm-auth-page .elementor-location-header,
body.lpm-auth-page footer.site-footer,
body.lpm-auth-page .site-footer,
body.lpm-auth-page footer.elementor-location-footer,
body.lpm-auth-page .elementor-location-footer {
  /* Best-effort: may not match every theme builder setup */
}
body.lpm-auth-page {
  background: #0a0b0f !important;
}
body.lpm-auth-page .site-content,
body.lpm-auth-page #content,
body.lpm-auth-page .elementor-location-single,
body.lpm-auth-page .entry-content {
  background: #0a0b0f;
}

/* Optional: hide common Elementor header/footer when body class present.
   Disabled by default comment — enable selectors that match live theme.
   Uncomment after confirming live DOM classes in computerUse pass. */
body.lpm-auth-page .elementor-location-header,
body.lpm-auth-page .elementor-location-footer {
  display: none !important;
}

/* ---- Responsive: stacked mobile ---- */
@media (max-width: 900px) {
  .lpm-auth-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    background:
      radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255, 106, 0, 0.12), transparent 60%),
      var(--lpm-auth-bg);
  }
  .lpm-auth-shell {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
  }
  .lpm-auth-brand {
    display: none !important;
  }
  .lpm-auth-mobile-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
    padding: 16px 16px 8px;
    gap: 8px;
  }
  .lpm-auth-mobile-top a {
    display: block;
    line-height: 0;
  }
  .lpm-auth-mobile-top img {
    display: block !important;
    margin: 0 auto !important;
    height: 32px !important;
    width: auto !important;
  }
  .lpm-auth-mobile-blurb {
    text-align: center !important;
    width: 100%;
  }
  .lpm-auth-panel {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 16px 24px;
    width: 100%;
  }
  .lpm-auth-shell .lpm-login-wrap.lpm-auth-card,
  .lpm-auth-shell .lpm-register-form-container,
  .lpm-auth-shell .lpm-auth-card {
    max-width: none;
    padding: 20px 16px 16px !important;
    border-radius: 16px !important;
  }
  .lpm-auth-shell .lpm-form-header {
    margin-bottom: 12px;
  }
  .lpm-auth-shell .lpm-form-header h2 {
    font-size: 20px;
  }
  .lpm-auth-shell .lpm-auth-security-note {
    margin-bottom: 12px;
    padding: 8px 10px;
  }
  .lpm-auth-shell .lpm-form-row {
    margin-bottom: 10px;
  }
  .lpm-auth-shell .lpm-role-options {
    grid-template-columns: 1fr 1fr;
  }
  .lpm-auth-shell .lpm-role-card p {
    display: none; /* denser mobile tiles: icon + title */
  }
  .lpm-auth-shell .lpm-name-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lpm-verification-modal .lpm-code-digit {
    width: 40px !important;
    height: 48px !important;
    font-size: 18px !important;
  }
}

@media (max-width: 420px) {
  .lpm-auth-shell .lpm-name-grid {
    grid-template-columns: 1fr;
  }
}


/* ---- Compatibility aliases (template class drift) ---- */
.lpm-auth-shell .lpm-auth-mobile-blurb { /* alias if templates use -blurb */ }
.lpm-auth-mobile-blurb {
  font-size: 12.5px;
  color: var(--lpm-auth-muted);
  margin: 0;
}
.lpm-auth-shell.is-login,
.lpm-auth-shell.is-register {
  /* state hooks for future tweaks */
}
.lpm-auth-shell .lpm-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lpm-auth-shell .lpm-name-grid .lpm-form-row {
  margin-bottom: 12px;
}
.lpm-auth-shell .lpm-register-form-container.lpm-auth-card {
  width: 100%;
  max-width: 460px;
  margin: 0;
  padding: 24px 24px 18px;
  background: var(--lpm-auth-card) !important;
  border: 1px solid var(--lpm-auth-line) !important;
  border-radius: var(--lpm-auth-radius-lg) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35) !important;
  color: var(--lpm-auth-text);
}
.lpm-auth-shell .lpm-password-strength,
.lpm-auth-shell .lpm-password-strength {
  margin-top: 6px;
}
.lpm-auth-shell .lpm-strength-meter,
.lpm-auth-shell .lpm-strength-meter {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.08) !important;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0;
}
.lpm-auth-shell .lpm-email-hint,
.lpm-auth-shell .lpm-field-hint {
  font-size: 12px;
  margin: 6px 0 0;
}
.lpm-auth-shell .lpm-form-footer-text,
.lpm-auth-shell .lpm-form-footer-text {
  margin: 0;
  color: var(--lpm-auth-muted);
  font-size: 13.5px;
  text-align: center;
}
.lpm-auth-shell .lpm-login-link {
  margin-top: 12px;
  padding-top: 0;
  border-top: none !important;
  text-align: center;
}
@media (max-width: 420px) {
  .lpm-auth-shell .lpm-name-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1025px) {
  .lpm-auth-shell.is-login .lpm-login-wrap,
  .lpm-auth-shell.is-login .lpm-login-form-container,
  .lpm-auth-shell.is-login .lpm-auth-card {
    max-width: 560px;
  }
}

/* Login 2FA: code step inside the existing auth card (not a second modal). */
.lpm-auth-shell.is-login:has(#lpm-2fa-modal.lpm-2fa-incard.active) #lpm-login-form{display:none!important}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard{position:static!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;z-index:auto!important;display:none!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important;align-items:stretch!important;justify-content:flex-start!important;overflow:visible!important}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard.active{display:block!important;visibility:visible!important;opacity:1!important}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-verification-overlay{display:none!important}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-verification-content{position:static!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--lpm-auth-text,#f4f5f7)!important;animation:none!important;transform:none!important}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-verification-header{display:none!important}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-verification-subtitle{display:flex!important;gap:12px;align-items:flex-start;margin:0!important;padding:14px 16px!important;border-radius:12px!important;background:rgba(255,106,0,.06)!important;border:1px solid rgba(255,106,0,.25)!important;font-family:inherit!important;font-size:14px!important;font-weight:400!important;line-height:1.45!important;color:var(--lpm-auth-text,#f4f5f7)!important;text-align:left!important;overflow-wrap:anywhere}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-verification-subtitle .set2-ico{color:#ff6a00;flex:none;margin-top:1px}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-verification-subtitle b,.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-verification-subtitle strong{font-weight:700;color:inherit}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-verification-spam{margin:10px 2px 0;font-family:inherit;font-size:13px;line-height:1.4;color:#6f7580}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-code-field{display:flex;flex-direction:column;gap:7px;margin-top:18px}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-code-field label{font-family:inherit;font-size:13px;font-weight:600;color:#d7d9de}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-code-inputs{display:flex!important;gap:7px!important;width:100%!important;margin:0!important;justify-content:stretch!important;grid-template-columns:none!important}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-code-digit{flex:1 1 0!important;width:0!important;min-width:0!important;max-width:none!important;height:52px!important;margin:0!important;padding:0!important;border-radius:12px!important;border:1px solid #2d313a!important;background:#0c0d11!important;color:#f4f5f7!important;text-align:center!important;font-family:inherit!important;font-size:20px!important;font-weight:600!important;line-height:1!important;box-shadow:none!important;transform:none!important;caret-color:#ff6a00}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-code-digit:focus{outline:none!important;border-color:#ff6a00!important;background:#0c0d11!important;box-shadow:0 0 0 3px rgba(255,106,0,.15)!important;transform:none!important}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-code-digit.filled{background:#0c0d11!important;color:#f4f5f7!important;border-color:#2d313a!important}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-code-digit.error{border-color:#dc3545!important}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-verification-timer{display:none!important}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard .lpm-verification-actions{display:flex!important;flex-direction:column!important;gap:12px!important;margin-top:18px!important}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard #lpm-verify-btn,.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard #lpm-resend-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:46px!important;margin:0!important;padding:0 22px!important;border-radius:999px!important;font-family:inherit!important;font-size:14px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;line-height:1!important;box-shadow:none!important;text-decoration:none!important;cursor:pointer}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard #lpm-verify-btn{background:#000!important;background-image:none!important;color:#fff!important;border:2px solid #ff6a00!important}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard #lpm-verify-btn:disabled{opacity:.55;cursor:default}
.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard #lpm-resend-btn,.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard #lpm-resend-btn:hover,.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard #lpm-resend-btn:focus,.lpm-auth-shell.is-login #lpm-2fa-modal.lpm-2fa-incard #lpm-resend-btn:disabled{background:transparent!important;background-image:none!important;color:#d7d9de!important;border:2px solid #2d313a!important}
