/**
 * Auth pages (login / register) — clean professional layout
 */
:root {
  --pp-teal: #035C6E;
  --pp-teal-dark: #024955;
  --pp-pale: #F2FAFC;
  --pp-teal-rgb: 3, 92, 110;
}

body.auth-page {
  margin: 0;
  min-height: 100vh;
  font-family: "Lato", "Segoe UI", sans-serif;
  background: #fff;
  color: #0f172a;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  /* Lock page scroll: aside stays put, only .auth-main scrolls */
  html:has(body.auth-page:not(.auth-register-fb)),
  body.auth-page:not(.auth-register-fb) {
    height: 100%;
    overflow: hidden;
  }

  .auth-shell {
    grid-template-columns: minmax(320px, 42%) 1fr;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }

  .auth-aside {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }

  .auth-main {
    height: 100vh;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.auth-aside {
  background: linear-gradient(165deg, #024955 0%, #035C6E 45%, #047a8f 100%);
  color: #fff;
  padding: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.auth-aside::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
  top: -80px;
  right: -100px;
}

.auth-aside-inner {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  margin-bottom: 2.5rem;
}

.auth-brand img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}

.auth-brand span {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
}

.auth-aside h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.85rem, 2.4vw, 2.35rem);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.auth-aside p {
  opacity: 0.92;
  margin-bottom: 1.75rem;
  line-height: 1.65;
  font-size: 1.125rem;
}

.auth-aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-aside-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
}

.auth-aside-list i {
  margin-top: 0.2rem;
  color: #b8e6ef;
}

.auth-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(180deg, #F2FAFC 0%, #ffffff 55%);
}

.auth-topbar {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  gap: 0.75rem;
}

.auth-brand-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--pp-teal);
  font-weight: 800;
}

.auth-brand-sm img {
  height: 36px;
  filter: brightness(0) saturate(100%) invert(24%) sepia(72%) saturate(900%) hue-rotate(155deg) brightness(92%) contrast(101%);
}

.auth-lang-btn,
.auth-ghost-btn {
  border: 1px solid rgba(3, 92, 110, 0.18);
  background: #fff;
  color: var(--pp-teal);
  border-radius: 999px;
  font-weight: 600;
}

.auth-card-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem 2.5rem;
}

/* Long register form: start from top so page scroll feels natural */
.auth-card-wrap:has(.auth-card--register) {
  align-items: flex-start;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid rgba(3, 92, 110, 0.1);
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

@media (min-width: 576px) {
  .auth-card {
    padding: 2rem 2rem 1.75rem;
  }
}

.auth-card > h2 {
  display: none;
}

.auth-lead {
  display: none;
}

.auth-card .login-card > h4 {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #0f172a;
  border: none;
  border-image: none;
  padding-bottom: 0;
  margin-bottom: 0.35rem;
  text-align: left !important;
}

.auth-card .login-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: none;
  margin: 0;
}

.auth-card .login-card .col-12.text-center.mt-3 {
  display: none;
}

.auth-footer-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(3, 92, 110, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
}

.auth-footer-note a {
  color: var(--pp-teal);
  font-weight: 700;
  text-decoration: none;
}

.auth-footer-note a:hover {
  text-decoration: underline;
}

.auth-card .btn-primary,
.auth-card .btn.btn-primary {
  background: #035C6E;
  border-color: #035C6E;
  border-radius: 10px;
  font-weight: 700;
  padding: 0.65rem 1rem;
}

.auth-card .btn-primary:hover {
  background: #024955;
  border-color: #024955;
}

.auth-card .form-control {
  border-radius: 10px;
  border-color: rgba(3, 92, 110, 0.2);
  padding: 0.65rem 0.85rem;
}

.auth-card .form-control:focus {
  border-color: #035C6E;
  box-shadow: 0 0 0 0.2rem rgba(3, 92, 110, 0.15);
}

.password-toggle-wrap {
  position: relative;
}

.password-toggle-wrap .form-control {
  padding-right: 2.75rem;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--pp-teal);
}

.otp-boxes-wrap {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

.otp-boxes {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.otp-box {
  width: 44px;
  height: 52px;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #035C6E;
  border: 2px solid rgba(3, 92, 110, 0.2);
  border-radius: 12px;
  background: #fff;
}

.otp-box:focus {
  outline: none;
  border-color: #035C6E;
  box-shadow: 0 0 0 0.25rem rgba(3, 92, 110, 0.2);
}

.otp-box.filled {
  border-color: #035C6E;
  background: #F2FAFC;
}

.otp-box.is-invalid {
  border-color: #dc3545;
}

.otp-verifying-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  color: #035C6E;
  font-weight: 600;
}

/* Register page — same shell as login, wider card for form steps */
.auth-card--register {
  max-width: 640px;
}

.auth-register-title {
  display: block !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.auth-register-lead {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.35rem;
}

.auth-card--register .form-control,
.auth-card--register .form-select {
  border-radius: 10px;
  border-color: rgba(3, 92, 110, 0.2);
  padding: 0.65rem 0.85rem;
}

.auth-card--register .form-control:focus,
.auth-card--register .form-select:focus {
  border-color: #035C6E;
  box-shadow: 0 0 0 0.2rem rgba(3, 92, 110, 0.15);
}

.auth-card--register .btn-outline-primary {
  color: #035C6E;
  border-color: rgba(3, 92, 110, 0.35);
}

.auth-card--register .btn-check:checked + .btn-outline-primary {
  background: #035C6E;
  border-color: #035C6E;
  color: #fff;
}

.auth-card--register .pp-register-type-btn {
  border-radius: 10px;
  font-weight: 700;
}

/* Registration stepper — horizontal + distinctive icons */
.auth-card--register .reg-steps {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 1.5rem;
  padding: 1rem 0.5rem 0.85rem;
  background: linear-gradient(135deg, rgba(242, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(3, 92, 110, 0.1);
  border-radius: 14px;
  position: relative;
}

.auth-card--register .reg-step-dot {
  flex: 1;
  position: relative;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #94a3b8;
  z-index: 1;
}

/* Connector line between steps */
.auth-card--register .reg-step-dot:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(3, 92, 110, 0.12), rgba(3, 92, 110, 0.08));
  z-index: 0;
}

.auth-card--register .reg-step-dot.done:not(:last-child)::after,
.auth-card--register .reg-step-dot.active:not(:last-child)::after {
  background: linear-gradient(90deg, #035C6E, rgba(3, 92, 110, 0.35));
}

.auth-card--register .reg-step-dot span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.4rem;
  border-radius: 50%;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #035C6E;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.95), transparent 45%),
    linear-gradient(145deg, #F2FAFC, #e0f2f6);
  border: 2px solid rgba(3, 92, 110, 0.18);
  box-shadow:
    0 0 0 4px rgba(3, 92, 110, 0.04),
    0 4px 10px rgba(3, 92, 110, 0.08);
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.auth-card--register .reg-step-dot.active {
  color: #035C6E;
  font-weight: 700;
}

.auth-card--register .reg-step-dot.active span {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.35), transparent 42%),
    linear-gradient(145deg, #047a8f, #024955);
  box-shadow:
    0 0 0 5px rgba(3, 92, 110, 0.14),
    0 8px 18px rgba(3, 92, 110, 0.28);
  transform: scale(1.08);
  animation: regStepPulse 1.8s ease-in-out infinite;
}

.auth-card--register .reg-step-dot.done {
  color: #035C6E;
}

.auth-card--register .reg-step-dot.done span {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #035C6E, #024955);
  box-shadow:
    0 0 0 4px rgba(3, 92, 110, 0.1),
    0 4px 12px rgba(3, 92, 110, 0.2);
  font-size: 0;
}

.auth-card--register .reg-step-dot.done span::before {
  content: "✓";
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

@keyframes regStepPulse {
  0%, 100% {
    box-shadow:
      0 0 0 5px rgba(3, 92, 110, 0.14),
      0 8px 18px rgba(3, 92, 110, 0.28);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(3, 92, 110, 0.08),
      0 10px 22px rgba(3, 92, 110, 0.32);
  }
}

@media (max-width: 575.98px) {
  .auth-card--register {
    padding: 1.35rem 1.1rem 1.25rem;
  }

  .auth-card--register .reg-steps {
    padding: 0.85rem 0.25rem 0.75rem;
  }

  .auth-card--register .reg-step-dot {
    font-size: 0.62rem;
  }

  .auth-card--register .reg-step-dot span {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
  }

  .auth-card--register .reg-step-dot:not(:last-child)::after {
    top: 16px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
  }
}

/* Country dial code picker (register customer + owner) */
.pp-contact-group {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

.pp-dial-select-wrap select.pp-dial-select,
.pp-dial-select-wrap select.tomselected {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.pp-dial-select-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 7.75rem;
  min-width: 7.75rem;
  max-width: 8.5rem;
  align-self: stretch;
}

.pp-dial-select-wrap.pp-dial-idle {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  overflow: hidden !important;
}

.pp-dial-select-wrap.pp-dial-active {
  display: block !important;
}

.pp-contact-group:not(.is-phone-mode) > .form-control {
  border-radius: 0.375rem !important;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.pp-contact-group.is-phone-mode > .form-control {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.pp-dial-select-wrap .ts-wrapper,
.pp-dial-select-wrap .pp-dial-ts {
  width: 100% !important;
  height: 100%;
}

.pp-dial-select-wrap .ts-wrapper.single .ts-control {
  min-height: 42px !important;
  height: 100%;
  border: 1px solid #ced4da !important;
  border-right: 0 !important;
  border-radius: 0.375rem 0 0 0.375rem !important;
  padding: 0.35rem 0.4rem !important;
  background: #f1f5f9 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem;
  cursor: pointer;
}

.pp-dial-select-wrap .ts-wrapper.focus .ts-control,
.pp-dial-select-wrap .ts-wrapper.dropdown-active .ts-control {
  border-color: #035C6E !important;
}

.pp-dial-select-wrap .ts-control .item {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.pp-dial-select-wrap .ts-control > input {
  display: none !important;
}

.pp-dial-item {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  line-height: 1;
}

.pp-dial-flag-img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
  display: inline-block;
  vertical-align: middle;
}

.pp-dial-flag-fallback {
  font-size: 0.7rem;
  font-weight: 800;
  color: #035C6E;
}

.pp-dial-code {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.pp-dial-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.2rem 0;
}

.pp-dial-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.pp-dial-meta strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
}

.pp-dial-meta small {
  color: #64748b;
  font-size: 0.75rem;
}

.pp-dial-dropdown.ts-dropdown,
.ts-dropdown.pp-dial-dropdown {
  min-width: min(22rem, 92vw) !important;
  z-index: 3000 !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16) !important;
}

.pp-dial-dropdown .dropdown-input,
.ts-dropdown.pp-dial-dropdown .dropdown-input {
  margin: 0.5rem 0.6rem !important;
  width: calc(100% - 1.2rem) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.4rem !important;
  padding: 0.45rem 0.65rem !important;
}

@media (max-width: 420px) {
  .pp-dial-select-wrap.pp-dial-active {
    width: 6.85rem;
    min-width: 6.85rem;
    max-width: 7.25rem;
  }
  .pp-dial-code { font-size: 0.8rem; }
}
.pp-dial-select-wrap:not(.pp-dial-idle) { display: block !important; }

html[data-theme="dark"] body.auth-page {
  background: #0f1419;
  color: #f3f4f6;
}
html[data-theme="dark"] .auth-main {
  background: #0f1419;
}
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .auth-card .login-card {
  background: #1a222c;
  color: #f3f4f6;
  border-color: #2a3440;
}
html[data-theme="dark"] .auth-card h2,
html[data-theme="dark"] .auth-card h4,
html[data-theme="dark"] .auth-register-title {
  color: #f3f4f6;
}
html[data-theme="dark"] .auth-card .form-control,
html[data-theme="dark"] .auth-card .form-select {
  background: #151b22;
  color: #f3f4f6;
  border-color: #2a3440;
}
html[data-theme="dark"] .auth-topbar,
html[data-theme="dark"] .auth-footer-note {
  color: #9ca3af;
}
html[data-theme="dark"] .auth-lang-btn,
html[data-theme="dark"] .auth-ghost-btn {
  background: #243040;
  color: #f3f4f6;
  border-color: #2a3440;
}

/* ── LalaGo login (Facebook-style split) ── */
body.auth-login-fb {
  background: #fff;
}

html:has(body.auth-login-fb),
body.auth-login-fb {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

@media (min-width: 992px) {
  html:has(body.auth-login-fb),
  body.auth-login-fb {
    height: 100%;
    overflow: hidden;
  }
}

.lg-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
}

@media (min-width: 992px) {
  .lg-shell {
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    overflow: hidden;
  }
}

.lg-visual {
  background: #fff;
  align-items: stretch;
  justify-content: stretch;
  padding: 2.5rem 3rem 3rem 3.25rem;
  border-right: 1px solid #e8eaed;
  overflow: hidden;
}

.lg-visual-inner {
  width: 100%;
  height: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.lg-visual-row {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1.2fr);
  align-items: end;
  gap: 0.4rem 0.6rem;
  min-height: 0;
}

.lg-headline {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(3.1rem, 7vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: #111827;
  margin: 0;
  padding-bottom: 0.35rem;
}

.lg-headline span {
  display: block;
}

.lg-headline-accent {
  color: #035C6E;
}

.lg-hero {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.lg-hero img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: transparent;
  transform: scale(1.06);
  transform-origin: center center;
}

.lg-brand {
  display: inline-flex;
  align-items: center;
  color: #035C6E;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.lg-brand span {
  display: none;
}

.lg-logo {
  height: 68px;
  width: 68px;
  object-fit: contain;
  background: transparent;
  border: 2px solid #035C6E;
  border-radius: 18px;
  padding: 5px;
}

.lg-brand-sm {
  margin-bottom: 0;
}

.lg-brand-sm .lg-logo {
  height: 48px;
  width: 48px;
  border-radius: 14px;
}

.lg-form {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 992px) {
  .lg-form {
    height: 100vh;
    min-height: 0;
    overflow-y: auto;
    padding: 0 3.5rem;
  }
}

.lg-form-top {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.25rem 0;
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .lg-form-top {
    padding: 1.25rem 0.25rem 0;
  }
}

.lg-form-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
}

@media (min-width: 992px) {
  .lg-form-body {
    padding: 1.5rem 0 2rem;
  }
}

.auth-login-fb .login-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: none;
}

.auth-login-fb .login-card > h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #111827;
  text-align: left !important;
  margin-bottom: 1.75rem !important;
}

.auth-login-fb .login-card .form-label,
.auth-login-fb .login-card .text-start.mb-2 {
  display: none;
}

.auth-login-fb .login-card .form-control {
  border-radius: 16px;
  border: 1px solid #cfd4da;
  min-height: 58px;
  padding: 0.85rem 1.1rem;
  font-size: 1.08rem;
}

.auth-login-fb .login-card .form-control:focus {
  border-color: #035C6E;
  box-shadow: 0 0 0 0.2rem rgba(3, 92, 110, 0.15);
}

.auth-login-fb .login-card .btn-primary {
  background: #035C6E;
  border-color: #035C6E;
  border-radius: 16px;
  font-weight: 700;
  min-height: 54px;
  font-size: 1.12rem;
}

.auth-login-fb .login-card .btn-primary:hover {
  background: #024955;
  border-color: #024955;
}

.auth-login-fb .pp-psc-alerts {
  padding: 0 0 1rem;
}

.lg-form-split {
  display: block;
  width: 100%;
  height: 1px;
  margin: 1.75rem 0 0;
  background: #dadde1;
  border: 0;
}

.lg-create-btn {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #035C6E;
  background: #fff;
  border: 2px solid #035C6E;
  border-radius: 16px;
  text-decoration: none;
}

.lg-create-btn:hover {
  background: #F2FAFC;
  color: #024955;
}

#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  gap: 1rem;
  transition: opacity 0.45s ease, visibility 0.45s;
}

#splash-screen.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#splash-screen .splash-logo {
  height: 88px;
  width: 88px;
  object-fit: contain;
  background: #fff;
  border: 2px solid #035C6E;
  border-radius: 22px;
  padding: 8px;
}

#splash-screen .splash-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #035C6E;
  letter-spacing: -0.03em;
}

#splash-screen .splash-powered {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
}

.lg-footer {
  margin: 0;
  padding: 0.85rem 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

html[data-theme="dark"] body.auth-login-fb,
html[data-theme="dark"] .lg-shell,
html[data-theme="dark"] .lg-visual,
html[data-theme="dark"] .lg-form {
  background: #111827;
}

html[data-theme="dark"] .lg-visual {
  border-right-color: #1f2937;
}

html[data-theme="dark"] .lg-form-split {
  background: #374151;
}

html[data-theme="dark"] .lg-headline,
html[data-theme="dark"] .auth-login-fb .login-card > h4 {
  color: #f3f4f6;
}

html[data-theme="dark"] .lg-create-btn {
  background: #111827;
  color: #5ec8d8;
  border-color: #035C6E;
}

html[data-theme="dark"] .lg-footer {
  color: #94a3b8;
}

html[data-theme="dark"] #splash-screen {
  background: #fff;
}

/* ── LalaGo register (Facebook-style centered column) ── */
body.auth-register-fb {
  background: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.rg-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.rg-tools {
  display: flex;
  justify-content: flex-end;
  padding: 0.85rem 1.25rem 0;
}

.rg-col {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0.5rem 1.35rem 2.5rem;
  flex: 1;
}

.rg-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 0 1.1rem -0.35rem;
  color: #1c1e21;
  font-size: 1.15rem;
  text-decoration: none;
  border-radius: 50%;
}

.rg-back:hover {
  background: #f2f4f7;
  color: #1c1e21;
}

.rg-logo-link {
  display: inline-flex;
  margin-bottom: 1.15rem;
}

.rg-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  background: transparent;
  border: 2px solid #035C6E;
  border-radius: 14px;
  padding: 4px;
}

.rg-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.65rem, 3.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #1c1e21;
  margin: 0 0 0.55rem;
}

.rg-lead {
  color: #65676b;
  font-size: 0.98rem;
  line-height: 1.45;
  margin: 0 0 1.75rem;
}

.auth-register-fb .reg-steps {
  display: none !important;
}

.auth-register-fb #registerForm > .text-center.mt-4 {
  display: none !important;
}

.auth-register-fb .form-label,
.auth-register-fb .rg-field-label,
.auth-register-fb .pp-text-teal {
  color: #1c1e21 !important;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  text-align: left !important;
}

.auth-register-fb .form-control,
.auth-register-fb .form-select {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid #cfd4da;
  padding: 0.75rem 0.95rem;
  font-size: 1rem;
  background: #fff;
}

.auth-register-fb .form-control:focus,
.auth-register-fb .form-select:focus {
  border-color: #035C6E;
  box-shadow: 0 0 0 0.2rem rgba(3, 92, 110, 0.15);
}

.auth-register-fb .form-text,
.auth-register-fb .text-muted {
  color: #65676b !important;
  font-size: 0.82rem;
}

.auth-register-fb .btn-group {
  display: flex;
  width: 100%;
  gap: 0.65rem;
}

.auth-register-fb .pp-register-type-btn {
  flex: 1;
  border-radius: 12px !important;
  min-height: 48px;
  font-weight: 700;
  color: #035C6E;
  border: 1px solid #cfd4da;
  background: #fff;
}

.auth-register-fb .btn-check:checked + .pp-register-type-btn {
  background: #035C6E;
  border-color: #035C6E;
  color: #fff;
}

.rg-google-wrap {
  margin-top: 0.35rem;
}

.rg-google-or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  color: #80868b;
  font-size: 0.82rem;
  font-weight: 600;
}

.rg-google-or::before,
.rg-google-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dadce1;
}

.rg-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 52px;
  padding: 0.7rem 1rem;
  background: #fff;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
}

.rg-google-btn:hover {
  background: #f8f9fa;
  color: #3c4043;
  border-color: #d2d3d4;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.18);
}

.rg-google-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.auth-register-fb .rg-google-wrap {
  margin-top: 1.35rem;
}

.auth-register-fb .rg-legal {
  margin: 1.5rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #65676b;
}

.auth-register-fb .rg-actions {
  margin-top: 0.85rem !important;
}

.auth-register-fb .rg-actions.row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.auth-register-fb .rg-actions > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  padding-left: 0;
  padding-right: 0;
}

.auth-register-fb #btnRegPrev,
.auth-register-fb #btnOwnerRegPrev,
.auth-register-fb .rg-actions > .col-6:first-child {
  display: none !important;
}
.auth-register-fb #btnRegNext,
.auth-register-fb #btnRegister,
.auth-register-fb #btnOwnerRegNext,
.auth-register-fb #btnForgotSubmit {
  border-radius: 999px;
  min-height: 52px;
  font-weight: 700;
  font-size: 1.08rem;
  background: #035C6E;
  border-color: #035C6E;
  box-shadow: none !important;
}

.auth-register-fb #btnRegNext:hover,
.auth-register-fb #btnRegister:hover,
.auth-register-fb #btnOwnerRegNext:hover,
.auth-register-fb #btnForgotSubmit:hover {
  background: #024955;
  border-color: #024955;
}

.auth-register-fb #btnRegPrev,
.auth-register-fb #btnOwnerRegPrev {
  border-radius: 999px;
  min-height: 48px;
}

.rg-have-account {
  display: block;
  text-align: center;
  margin-top: 1.15rem;
  font-weight: 600;
  color: #035C6E;
  text-decoration: none;
}

.rg-have-account:hover {
  text-decoration: underline;
  color: #024955;
}

.rg-langs {
  padding: 0.5rem 1.25rem 1.35rem;
  text-align: center;
}

.rg-langs a {
  color: #65676b;
  text-decoration: none;
  font-size: 0.82rem;
  margin: 0 0.55rem;
}

.rg-langs a.is-active,
.rg-langs a:hover {
  color: #035C6E;
  font-weight: 700;
}

.rg-powered {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8a8d91;
}

.auth-register-fb .pp-dial-btn {
  min-height: 52px;
  border-radius: 12px 0 0 12px;
}

.auth-register-fb .pp-contact-group:not(.is-phone-mode) > .form-control {
  border-radius: 12px !important;
}

.auth-register-fb .pp-contact-group.is-phone-mode > .form-control {
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

.auth-register-fb .ts-wrapper .ts-control {
  min-height: 52px;
  border-radius: 12px;
  border-color: #cfd4da;
  padding: 0.55rem 0.85rem;
}

.auth-register-fb .ts-wrapper.focus .ts-control {
  border-color: #035C6E;
  box-shadow: 0 0 0 0.2rem rgba(3, 92, 110, 0.15);
}

html[data-theme="dark"] body.auth-register-fb,
html[data-theme="dark"] .rg-page {
  background: #111827;
}

html[data-theme="dark"] .rg-title,
html[data-theme="dark"] .rg-back,
html[data-theme="dark"] .auth-register-fb .form-label,
html[data-theme="dark"] .auth-register-fb .rg-field-label,
html[data-theme="dark"] .auth-register-fb .pp-text-teal {
  color: #f3f4f6 !important;
}

html[data-theme="dark"] .rg-lead,
html[data-theme="dark"] .rg-legal,
html[data-theme="dark"] .rg-powered,
html[data-theme="dark"] .rg-langs a {
  color: #94a3b8;
}

html[data-theme="dark"] .auth-register-fb .form-control,
html[data-theme="dark"] .auth-register-fb .form-select,
html[data-theme="dark"] .auth-register-fb .pp-register-type-btn,
html[data-theme="dark"] .auth-register-fb .ts-wrapper .ts-control {
  background: #1f2937;
  color: #f3f4f6;
  border-color: #374151;
}

html[data-theme="dark"] .rg-back:hover {
  background: #1f2937;
  color: #f3f4f6;
}

html[data-theme="dark"] .rg-google-btn {
  background: #fff;
  color: #3c4043;
  border-color: #dadce0;
}



