/* =====================================================================
   LOCALBUDDY — SIGN UP (sign-upSeeker.php)
   Page-specific styles. Global tokens/header/footer: style.css
   ===================================================================== */

body.lb-signup { background: #ffffff; }

.lbs-main {
  position: relative;
  overflow: hidden;
  padding: 22px 0 64px;
}

/* Soft green waves behind the card */
.lbs-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 0% 100%, #d8f2dc 0%, rgba(216, 242, 220, 0) 70%),
    radial-gradient(55% 40% at 100% 95%, #cdeed3 0%, rgba(205, 238, 211, 0) 70%),
    radial-gradient(40% 30% at 100% 45%, #e6f7e9 0%, rgba(230, 247, 233, 0) 70%),
    radial-gradient(35% 30% at 0% 35%, #eef9f0 0%, rgba(238, 249, 240, 0) 70%),
    #ffffff;
}

.lbs-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------------------------------------------------------------------
   ADVERTISE BANNER (same look as Find a Service)
   --------------------------------------------------------------------- */
.lbs-adv {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 22px 56px;
  border-radius: 14px;
  background:
    radial-gradient(160px 120px at 0% 110%, #3fae5a 0%, rgba(63, 174, 90, 0) 70%),
    radial-gradient(160px 130px at 100% 110%, #3fae5a 0%, rgba(63, 174, 90, 0) 70%),
    linear-gradient(100deg, #075a2b 0%, #0b6b34 60%, #0d7a3c 100%);
  color: #ffffff;
}
.lbs-adv-ico { display: none; }
.lbs-adv-kicker {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
}
.lbs-adv h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #ffffff;
}
.lbs-adv-mid {
  margin: 0;
  padding-left: 44px;
  border-left: 2px solid rgba(255, 255, 255, .45);
  font-size: 18px;
  line-height: 1.38;
  color: rgba(255, 255, 255, .94);
}
.lbs-adv-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 32px;
  border-radius: 10px;
  background: var(--lb-yellow);
  color: #111827 !important;
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(248, 197, 28, .3);
  transition: transform .2s ease, background-color .2s ease;
}
.lbs-adv-btn:hover { background: #ffd23a; transform: translateY(-2px); }

/* ---------------------------------------------------------------------
   STAGE: mascot + card  (sizes = design px × --u, design width 1536)
   --------------------------------------------------------------------- */
.lbs-main { --u: clamp(0.66px, 0.0651vw, 1.12px); }

.lbs-stage {
  position: relative;
  max-width: calc(1022 * var(--u));
  margin: calc(44 * var(--u)) auto 0;
  transform: translateX(calc(60 * var(--u)));
}

/* Small, cute mascot peeking over the card's top-left corner */
.lbs-mascot {
  position: absolute;
  left: calc(-150 * var(--u));
  top: calc(-34 * var(--u));
  bottom: auto;
  z-index: 3;
  width: calc(205 * var(--u));
  height: auto;
  filter: drop-shadow(0 12px 16px rgba(16, 24, 40, .18));
  animation: lbsBob 3.2s ease-in-out infinite;
  transform-origin: 50% 100%;
  pointer-events: none;
}
@keyframes lbsBob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(calc(-8 * var(--u))) rotate(2deg); }
}

/* Speech bubble next to the mascot */
.lbs-stage::before {
  content: "Hi! Join us \1F44B";
  position: absolute;
  left: calc(-300 * var(--u));
  top: calc(70 * var(--u));
  z-index: 4;
  padding: calc(10 * var(--u)) calc(16 * var(--u));
  border-radius: calc(18 * var(--u)) calc(18 * var(--u)) calc(4 * var(--u)) calc(18 * var(--u));
  background: #ffffff;
  color: var(--lb-green);
  font-family: var(--lb-hand);
  font-size: calc(22 * var(--u));
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .12);
  transform: rotate(-6deg);
  animation: lbsPop .5s cubic-bezier(.2, 1.4, .4, 1) .4s both;
}
@keyframes lbsPop {
  from { opacity: 0; transform: rotate(-6deg) scale(.6); }
  to { opacity: 1; transform: rotate(-6deg) scale(1); }
}

/* Little sparkles around the mascot */
.lbs-stage::after {
  content: "";
  position: absolute;
  left: calc(-170 * var(--u));
  top: calc(-48 * var(--u));
  z-index: 2;
  width: calc(250 * var(--u));
  height: calc(250 * var(--u));
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 30%, #f8c51c 0 calc(5 * var(--u)), transparent calc(6 * var(--u))),
    radial-gradient(circle at 88% 14%, #f8c51c 0 calc(4 * var(--u)), transparent calc(5 * var(--u))),
    radial-gradient(circle at 92% 70%, #9be3ad 0 calc(5 * var(--u)), transparent calc(6 * var(--u))),
    radial-gradient(circle at 6% 78%, #9be3ad 0 calc(4 * var(--u)), transparent calc(5 * var(--u)));
  animation: lbsTwinkle 2.4s ease-in-out infinite;
}
@keyframes lbsTwinkle { 50% { opacity: .35; } }

.lbs-card {
  position: relative;
  z-index: 1;
  padding: calc(28 * var(--u)) calc(40 * var(--u)) calc(32 * var(--u));
  background: #ffffff;
  border-radius: calc(34 * var(--u));
  box-shadow: 0 24px 60px rgba(16, 24, 40, .12), 0 2px 6px rgba(16, 24, 40, .04);
}

.lbs-head { text-align: center; margin-bottom: calc(20 * var(--u)); }
.lbs-head h1 {
  margin: 0;
  font-size: calc(56 * var(--u));
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #0b0f14;
}
.lbs-head h1 span { color: var(--lb-green); }
.lbs-head p {
  margin: calc(6 * var(--u)) 0 0;
  font-size: calc(22 * var(--u));
  font-weight: 500;
  color: #1f2937;
}

/* Account type tabs */
.lbs-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(12 * var(--u));
  max-width: calc(916 * var(--u));
  margin: 0 auto calc(20 * var(--u));
}
.lbs-role {
  display: flex;
  align-items: center;
  gap: calc(16 * var(--u));
  padding: calc(14 * var(--u)) calc(22 * var(--u));
  border: 1px solid #e6ebe8;
  border-radius: calc(16 * var(--u));
  background: #ffffff;
  color: var(--lb-ink) !important;
  text-align: left;
  text-decoration: none;
  font-family: var(--lb-font);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lbs-role:hover { transform: translateY(-2px); border-color: var(--lb-green); }
.lbs-role.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #0b6b34 0%, #10843f 100%);
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(11, 107, 52, .25);
  cursor: default;
}
.lbs-role.is-active:hover { transform: none; }
.lbs-role-ico {
  flex: 0 0 calc(58 * var(--u));
  width: calc(58 * var(--u));
  height: calc(58 * var(--u));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(14 * var(--u));
  background: var(--lb-green-soft);
  color: var(--lb-green);
  font-size: calc(28 * var(--u));
}
.lbs-role.is-active .lbs-role-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.lbs-role-txt { display: flex; flex-direction: column; min-width: 0; }
.lbs-role-txt strong { font-size: calc(24 * var(--u)); font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
.lbs-role-txt small { margin-top: calc(4 * var(--u)); font-size: calc(16.5 * var(--u)); line-height: 1.3; opacity: .9; }

/* Form */
.lbs-form { max-width: calc(876 * var(--u)); margin: 0 auto; }

.lbs-photo {
  display: flex;
  align-items: center;
  gap: calc(16 * var(--u));
  padding: calc(12 * var(--u)) calc(16 * var(--u));
  margin-bottom: calc(6 * var(--u));
  border: 1.5px dashed #cfe0d5;
  border-radius: calc(14 * var(--u));
  background: #f7fbf8;
}
.lbs-photo-preview {
  flex: 0 0 calc(60 * var(--u));
  width: calc(60 * var(--u));
  height: calc(60 * var(--u));
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--lb-green-soft);
  color: var(--lb-green);
  font-size: calc(24 * var(--u));
}
.lbs-photo-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.lbs-photo-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lbs-photo-txt strong { font-size: calc(18 * var(--u)); font-weight: 700; color: var(--lb-ink); }
.lbs-photo-txt small { font-size: calc(14.5 * var(--u)); color: var(--lb-muted); }
.lbs-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: calc(44 * var(--u));
  padding: 0 calc(18 * var(--u));
  border: 1.5px solid var(--lb-green);
  border-radius: calc(10 * var(--u));
  background: #fff;
  color: var(--lb-green);
  font-family: var(--lb-font);
  font-size: calc(16 * var(--u));
  font-weight: 700;
  cursor: pointer;
}
.lbs-photo-btn:hover { background: var(--lb-green-soft); }

.lbs-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: calc(16 * var(--u)) 0 calc(10 * var(--u));
  font-size: calc(15 * var(--u));
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--lb-green-dark);
}

.lbs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(14 * var(--u)) calc(22 * var(--u));
}

.lbs-field {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  height: calc(54 * var(--u));
  margin: 0;
  padding: 0 calc(10 * var(--u)) 0 calc(20 * var(--u));
  border: 1.5px solid #cfd8e3;
  border-radius: calc(12 * var(--u));
  background: #ffffff;
  cursor: text;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lbs-field:focus-within { border-color: var(--lb-green); box-shadow: 0 0 0 4px rgba(11, 107, 52, .12); }
.lbs-ico { width: calc(26 * var(--u)); font-size: calc(21 * var(--u)); color: #111827; text-align: center; }
.lbs-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 0 0 calc(16 * var(--u));
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--lb-font);
  font-size: max(16px, calc(18.5 * var(--u)));
  font-weight: 500;
  color: var(--lb-ink);
}
.lbs-field input::placeholder { color: #6b7280; }

.lbs-eye {
  flex: 0 0 auto;
  width: calc(42 * var(--u));
  height: calc(42 * var(--u));
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #111827;
  font-size: calc(20 * var(--u));
  cursor: pointer;
}
.lbs-eye:hover { background: #f2f4f7; }

.lbs-otp-btn {
  flex: 0 0 auto;
  height: calc(38 * var(--u));
  padding: 0 calc(14 * var(--u));
  border: 0;
  border-radius: calc(9 * var(--u));
  background: var(--lb-green);
  color: #fff;
  font-family: var(--lb-font);
  font-size: calc(14 * var(--u));
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.lbs-otp-btn:hover { background: var(--lb-green-dark); }
.lbs-otp-btn:disabled { opacity: .7; cursor: not-allowed; }

/* Select2 (PSGC address) */
.lbs-select { position: relative; min-width: 0; }
/* Plain select look (before / without Select2) */
.lbs-select select.location-select2 {
  width: 100%;
  height: calc(54 * var(--u));
  padding: 0 40px 0 calc(20 * var(--u));
  border: 1.5px solid #cfd8e3;
  border-radius: calc(12 * var(--u));
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23111827' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-family: var(--lb-font);
  font-size: max(15px, calc(17.5 * var(--u)));
  color: var(--lb-ink);
  appearance: none;
}
.lbs-select select.location-select2:disabled { background-color: #f6f7f9; color: #6b7280; }
.lb-signup .select2-container { width: 100% !important; }
.lb-signup .select2-container .select2-selection--single {
  height: calc(54 * var(--u)) !important;
  display: flex !important;
  align-items: center !important;
  border: 1.5px solid #cfd8e3 !important;
  border-radius: calc(12 * var(--u)) !important;
  background: #fff !important;
}
.lb-signup .select2-container .select2-selection--single .select2-selection__rendered {
  width: 100%;
  padding-left: calc(20 * var(--u)) !important;
  padding-right: 40px !important;
  font-family: var(--lb-font);
  font-size: max(15px, calc(17.5 * var(--u)));
  font-weight: 500;
  color: var(--lb-ink) !important;
  line-height: 1.2 !important;
}
.lb-signup .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #6b7280 !important; }
.lb-signup .select2-container .select2-selection--single .select2-selection__arrow { height: 100% !important; right: 10px !important; }
.lb-signup .select2-container--default.select2-container--focus .select2-selection--single,
.lb-signup .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--lb-green) !important;
  box-shadow: 0 0 0 4px rgba(11, 107, 52, .12);
}
.lb-signup .select2-container--disabled .select2-selection--single { background: #f6f7f9 !important; cursor: not-allowed; }
.select2-dropdown { border: 1px solid #dfe5e1 !important; border-radius: 12px !important; overflow: hidden; font-family: var(--lb-font); }
.select2-search--dropdown .select2-search__field { border: 1px solid #d0d5dd !important; border-radius: 8px; padding: 8px 10px; outline: none; }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--lb-green) !important; color: #fff; }
.select2-container--open { z-index: 350000; }

.location-loading { display: none; margin-top: 6px; font-size: 12.5px; color: var(--lb-muted); }
.location-loading.active { display: block; }

/* Terms */
.lbs-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: calc(14 * var(--u));
  margin: calc(20 * var(--u)) 0 calc(20 * var(--u));
  font-size: calc(18 * var(--u));
  font-weight: 500;
  line-height: 1.45;
  color: #111827;
  cursor: pointer;
}
.lbs-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lbs-check-box {
  flex: 0 0 calc(26 * var(--u));
  width: calc(26 * var(--u));
  height: calc(26 * var(--u));
  margin-top: 1px;
  border: 2px solid #344054;
  border-radius: 6px;
  background: #fff;
}
.lbs-check input:checked + .lbs-check-box {
  border-color: var(--lb-green);
  background: var(--lb-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.lbs-check input:focus-visible + .lbs-check-box { outline: 3px solid rgba(11, 107, 52, .35); outline-offset: 2px; }
.lbs-check a { color: var(--lb-green); font-weight: 600; text-decoration: underline; }

/* OTP modal (Bootstrap) */
.lb-otp-modal { z-index: 400000; }
.modal-backdrop { z-index: 399000; }
.lb-otp-modal .modal-content { border: 0; border-radius: 20px; font-family: var(--lb-font); box-shadow: 0 22px 60px rgba(0, 0, 0, .18); }
.lb-otp-modal .modal-header { border-bottom: 0; padding: 18px 20px 0; }
.lb-otp-modal .modal-body { padding: 4px 26px 26px; }
.lb-otp-modal-icon { width: 60px; height: 60px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--lb-green-soft); color: var(--lb-green); font-size: 24px; }
.lb-otp-modal-title { margin: 0; text-align: center; font-size: 22px; font-weight: 800; color: var(--lb-ink); }
.lb-otp-modal-subtitle { margin: 8px 0 18px; text-align: center; font-size: 14px; color: var(--lb-muted); line-height: 1.5; }
.lb-otp-modal-email { color: var(--lb-green); font-weight: 700; word-break: break-all; }
.lb-otp-code-input { min-height: 60px; border-radius: 12px !important; text-align: center; font-size: 26px; font-weight: 800; letter-spacing: 10px; }
.lb-otp-code-input:focus { border-color: var(--lb-green) !important; box-shadow: 0 0 0 4px rgba(11, 107, 52, .12) !important; }
.lb-email-otp-status { display: block; margin-top: 8px; font-size: 12.5px; color: var(--lb-muted); text-align: center; }
.lb-email-otp-status.is-success { color: var(--lb-green); font-weight: 700; }
.lb-otp-modal-actions { display: grid; gap: 10px; margin-top: 16px; }
.lb-otp-verify-btn { min-height: 50px; border: 0; border-radius: 12px; background: var(--lb-green); color: #fff; font-weight: 800; }
.lb-otp-verify-btn:hover { background: var(--lb-green-dark); }
.lb-otp-resend-btn { border: 0; background: transparent; color: var(--lb-green); font-size: 13.5px; font-weight: 700; }
.lb-otp-resend-btn:disabled { color: #9ca3af; cursor: not-allowed; }

.lbs-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: calc(62 * var(--u));
  border: 0;
  border-radius: calc(14 * var(--u));
  background: linear-gradient(180deg, #13883f 0%, #0b6b34 100%);
  color: #ffffff;
  font-family: var(--lb-font);
  font-size: calc(32 * var(--u));
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(11, 107, 52, .3);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.lbs-submit:hover { filter: brightness(1.05); transform: translateY(-1px); }
.lbs-submit:active { transform: scale(.99); }
.lbs-submit:disabled { cursor: wait; opacity: .85; transform: none; }
.lbs-submit.is-loading::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lbsSpin .8s linear infinite;
}
@keyframes lbsSpin { to { transform: rotate(360deg); } }

.lbs-divider {
  display: flex;
  align-items: center;
  gap: calc(18 * var(--u));
  margin: calc(22 * var(--u)) 0 0;
  font-size: calc(20 * var(--u));
  font-weight: 600;
  color: #111827;
}
.lbs-divider::before,
.lbs-divider::after { content: ""; flex: 1; height: 1px; background: #cfd8e3; }
.lbs-divider a { margin-left: 6px; color: var(--lb-green); font-size: calc(24 * var(--u)); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1500px) {
  .lbs-adv { padding: 20px 36px; gap: 32px; }
  .lbs-adv h2 { font-size: 26px; }
  .lbs-adv-mid { font-size: 15.5px; padding-left: 30px; }
  .lbs-adv-btn { height: 50px; font-size: 16px; padding: 0 24px; }
}

@media (max-width: 1200px) {
  .lbs-container { padding: 0 24px; }
  .lbs-adv { grid-template-columns: 1fr auto; }
  .lbs-adv-mid { display: none; }
  .lbs-main { --u: clamp(0.66px, 0.075vw, 1px); }
  .lbs-stage { transform: none; max-width: 760px; }
  .lbs-mascot { width: 150px; left: -60px; top: -40px; }
  .lbs-stage::before { left: -150px; top: 10px; font-size: 16px; }
  .lbs-stage::after { left: -80px; top: -54px; width: 190px; height: 190px; }
}

@media (max-width: 991.98px) {
  .lbs-main { --u: 0.8px; }
  .lbs-roles { grid-template-columns: 1fr; }
  .lbs-mascot { display: none; }
  .lbs-stage::before,
  .lbs-stage::after { display: none; }
}

/* ---------------------------------------------------------------------
   MOBILE (≤ 767px)
   --------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .lbs-main { padding: 12px 0 40px; --u: 1px; }
  .lbs-stage { transform: none; max-width: none; }
  .lbs-container { padding: 0 14px; }

  .lbs-adv {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 12px 12px 12px 14px;
    border-radius: 16px;
  }
  .lbs-adv-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .14);
    color: var(--lb-yellow);
    font-size: 17px;
  }
  .lbs-adv-kicker { font-size: 10px; margin: 0; letter-spacing: .08em; }
  .lbs-adv h2 { font-size: 14.5px; line-height: 1.25; letter-spacing: -0.01em; }
  .lbs-adv-btn { height: 36px; padding: 0 12px; gap: 6px; border-radius: 10px; font-size: 0; box-shadow: none; }
  .lbs-adv-btn::before { content: "Advertise"; font-size: 13px; }
  .lbs-adv-btn i { font-size: 12px; }

  .lbs-stage { margin-top: 14px; }
  /* Mascot sits inside the card, right of the heading */
  .lbs-mascot {
    display: block;
    width: auto;
    height: 104px;
    max-width: 80px;
    object-fit: contain;
    object-position: right top;
    left: auto;
    right: 14px;
    top: 22px;
    bottom: auto;
    z-index: 2;
    filter: drop-shadow(0 8px 12px rgba(16, 24, 40, .14));
  }
  .lbs-stage::before {
    display: block;
    content: "Hi! \1F44B";
    left: auto;
    right: 70px;
    top: 10px;
    padding: 4px 10px;
    border-radius: 12px 12px 4px 12px;
    font-size: 13px;
    box-shadow: 0 6px 14px rgba(16, 24, 40, .12);
  }
  .lbs-stage::after { display: none; }
  .lbs-card { padding: 26px 18px 24px; border-radius: 26px; }
  .lbs-head { text-align: left; margin-bottom: 16px; padding-right: 84px; min-height: 104px; }
  .lbs-head h1 { font-size: 26px; }
  .lbs-head p { font-size: 14px; margin-top: 6px; color: #475467; }

  .lbs-roles { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
  .lbs-role { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 14px; }
  .lbs-role-ico { flex-basis: 36px; width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
  .lbs-role-txt strong { font-size: 13.5px; }
  .lbs-role-txt small { display: none; }

  .lbs-photo { padding: 10px 12px; gap: 12px; border-radius: 14px; }
  .lbs-photo-preview { flex-basis: 52px; width: 52px; height: 52px; font-size: 20px; }
  .lbs-photo-txt strong { font-size: 14.5px; }
  .lbs-photo-txt small { font-size: 12px; }
  .lbs-photo-btn { height: 38px; padding: 0 12px; font-size: 13px; }

  .lbs-section { font-size: 12px; margin: 16px 0 8px; }
  .lbs-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lbs-select select.location-select2 { height: 52px; border-radius: 14px; padding-left: 14px; }
  .lbs-field { height: 52px; padding: 0 8px 0 14px; border-radius: 14px; }
  .lbs-ico { width: 20px; font-size: 17px; }
  .lbs-field input { padding-left: 12px; }
  .lbs-otp-btn { height: 36px; padding: 0 12px; font-size: 12.5px; border-radius: 10px; }
  .lb-signup .select2-container .select2-selection--single { height: 52px !important; border-radius: 14px !important; }
  .lb-signup .select2-container .select2-selection--single .select2-selection__rendered { padding-left: 14px !important; }

  .lbs-check { font-size: 13.5px; gap: 10px; margin: 16px 0; }
  .lbs-check-box { flex-basis: 22px; width: 22px; height: 22px; }
  .lbs-submit { height: 54px; font-size: 19px; }
  .lbs-divider { font-size: 14px; gap: 10px; }
  .lbs-divider a { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .lbs-mascot, .lbs-stage::before, .lbs-stage::after { animation: none; }
}

/* ---------------------------------------------------------------------
   AVATAR PICKER
   --------------------------------------------------------------------- */
.lbs-photo-preview.has-photo { background: #fff; box-shadow: 0 0 0 3px var(--lb-green); }

#lbAvatarModal.modal { z-index: 400000; }
.lbs-avatar-modal .modal-content { border: 0; border-radius: 22px; font-family: var(--lb-font); overflow: hidden; }
.lbs-avatar-modal .modal-header { align-items: flex-start; padding: 20px 22px 8px; border-bottom: 0; }
.lbs-avatar-modal .modal-title { font-size: 21px; font-weight: 800; color: var(--lb-ink); }
.lbs-avatar-sub { margin: 2px 0 0; font-size: 13px; color: var(--lb-muted); }
.lbs-avatar-modal .modal-body { padding: 8px 22px 22px; }

.lbs-avatar-upload {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b6b34, #10843f);
  color: #fff;
  text-align: left;
  font-family: var(--lb-font);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(11, 107, 52, .22);
}
.lbs-avatar-upload:hover { filter: brightness(1.05); }
.lbs-avatar-upload-ico {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .16);
  font-size: 19px;
}
.lbs-avatar-upload-txt { flex: 1; display: flex; flex-direction: column; }
.lbs-avatar-upload-txt strong { font-size: 16px; font-weight: 800; }
.lbs-avatar-upload-txt small { font-size: 12.5px; opacity: .85; }

.lbs-avatar-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lb-muted);
}
.lbs-avatar-or::before,
.lbs-avatar-or::after { content: ""; flex: 1; height: 1px; background: var(--lb-line); }

.lbs-avatar-modal .lb-avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px;
  max-height: 52vh;
  overflow-y: auto;
  padding: 4px;
}
.lb-avatar-choice {
  position: relative;
  padding: 8px 6px 8px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #f6f8f7;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.lb-avatar-choice:hover,
.lb-avatar-choice:focus-visible { border-color: var(--lb-green); background: var(--lb-green-mint); transform: translateY(-2px); outline: none; }
.lb-avatar-choice.is-selected { border-color: var(--lb-green); background: var(--lb-green-soft); }
.lb-avatar-choice.is-selected::after {
  content: "\2713";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lb-green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.lb-avatar-choice:disabled { opacity: .55; cursor: wait; transform: none; }
.lb-avatar-choice img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #fff; }
.lb-avatar-choice span { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 600; text-align: center; color: #475467; overflow-wrap: anywhere; }
.lbs-avatar-empty { grid-column: 1 / -1; padding: 18px; text-align: center; color: var(--lb-muted); }

@media (max-width: 767.98px) {
  .lbs-avatar-modal .modal-dialog { margin: 0; max-width: none; min-height: 100%; display: flex; align-items: flex-end; }
  .lbs-avatar-modal .modal-content { border-radius: 22px 22px 0 0; max-height: 92dvh; }
  .lbs-avatar-modal .lb-avatar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-height: 50dvh; }
  .lb-avatar-choice span { font-size: 10.5px; }
}

/* Safety: keep modals hidden even if the Bootstrap CSS CDN is slow */
.lb-signup .modal:not(.show) { display: none; }