/* =========================================================
   REGISTRATION POPUP – MOBILE CARD + DESKTOP SPLIT LAYOUT
   Scope: .pop-form.pop-sign-log.register
   ========================================================= */

.pop-form.pop-sign-log.register {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* step1 wraps our shell */
.pop-form.pop-sign-log.register .step1 {
  max-width: 900px;
  margin: 0 auto;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* Inner card shell (same as login) */
.pop-form.pop-sign-log.register .mg-reg-shell {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

/* default stacked layout (mobile) */
.pop-form.pop-sign-log.register .mg-reg-left,
.pop-form.pop-sign-log.register .mg-reg-right {
  width: 100%;
}

/* ----------------------------------------------
   LEFT SIDE (logo + copy)
   ---------------------------------------------- */

.pop-form.pop-sign-log.register .mg-reg-left {
  display: none;
}

.pop-form.pop-sign-log.register .mg-reg-logo {
  width: 230px;
  height: 70px;
  margin-bottom: 26px;
  background-image: url('https://cdn.lofty.com/image/fs/529915036715152/website/30384/cmsbuild/h200_20251016_bdc3761dd7674eb4-png.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.pop-form.pop-sign-log.register .mg-reg-heading-clone {
  margin: 0 0 12px;
  text-align: center;
}

.pop-form.pop-sign-log.register .mg-reg-heading-clone h2 p {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #f9fafb;
}

.pop-form.pop-sign-log.register .mg-reg-heading-clone h3 p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #cbd5f5;
}

.pop-form.pop-sign-log.register .mg-reg-heading-clone h3 em {
  color: #e5e7eb;
}

.pop-form.pop-sign-log.register .mg-reg-copy {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #d1d5db;
  text-align: center;
  max-width: 320px;
}

/* ----------------------------------------------
   RIGHT SIDE (social + email form)
   ---------------------------------------------- */

.pop-form.pop-sign-log.register .mg-reg-right {
  padding: 24px 22px 20px;
  background: #ffffff;
}

.pop-form.pop-sign-log.register .mg-reg-right hgroup {
  text-align: center;
  margin-bottom: 16px;
}

.pop-form.pop-sign-log.register .mg-reg-right hgroup h2 p {
  margin: 0 0 6px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  color: #111827;
}

.pop-form.pop-sign-log.register .mg-reg-right hgroup h3 p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #6b7280;
}

.pop-form.pop-sign-log.register .mg-reg-right hgroup h3 em {
  font-style: normal;
  color: #9ca3af;
}

/* social iframe – neutral (same as login) */

.pop-form.pop-sign-log.register .mg-reg-right iframe {
  width: 100%;
  height: 120px;
  border-radius: 10px;
  border: none;
  overflow: hidden;
  display: block;
  transition: none;
  box-shadow: none;
  transform: none;
  filter: none;
}

.pop-form.pop-sign-log.register .mg-reg-right iframe:hover {
  box-shadow: none;
  transform: none;
  filter: none;
}

/* divider "OR" */

.pop-form.pop-sign-log.register .mg-reg-right .desc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

.pop-form.pop-sign-log.register .mg-reg-right .desc .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #e5e7eb, transparent);
}

.pop-form.pop-sign-log.register .mg-reg-right .desc .text {
  white-space: nowrap;
}

/* email input */

.pop-form.pop-sign-log.register .mg-reg-right .v-input {
  margin-bottom: 14px;
}

.pop-form.pop-sign-log.register .mg-reg-right .v-input .input-container {
  position: relative;
  padding: 10px 14px 8px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.pop-form.pop-sign-log.register .mg-reg-right .v-input .label-top {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 2px;
}

.pop-form.pop-sign-log.register
  .mg-reg-right
  .v-input
  input[type='email'] {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #111827;
  padding: 2px 0 0;
}

.pop-form.pop-sign-log.register
  .mg-reg-right
  .v-input
  input[type='email']::placeholder {
  color: #9ca3af;
}

.pop-form.pop-sign-log.register
  .mg-reg-right
  .v-input
  .input-container:focus-within {
  border-color: #111827;
  background: #ffffff;
  box-shadow: 0 0 0 1px #1118270f, 0 0 0 6px rgba(15, 23, 42, 0.08);
}

/* error text */

.pop-form.pop-sign-log.register .mg-reg-right .v-input .mg-error,
.pop-form.pop-sign-log.register .mg-reg-right form > .mg-error {
  font-size: 11px;
  color: #b91c1c;
  margin-top: 6px;
}

/* submit button – same gold pill */

.pop-form.pop-sign-log.register .mg-reg-right .submit {
  margin-top: 4px;
}

.pop-form.pop-sign-log.register
  .mg-reg-right
  .submit
  input[type='submit'] {
  width: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  height: 46px;
  padding: 0 24px;
  background: linear-gradient(135deg, #f7d297, #e7ae5d);
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.pop-form.pop-sign-log.register
  .mg-reg-right
  .submit
  input[type='submit']:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.pop-form.pop-sign-log.register
  .mg-reg-right
  .submit
  input[type='submit']:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

/* sign-in link */

.pop-form.pop-sign-log.register .mg-reg-right .sign-in {
  margin-top: 14px;
  font-size: 12px;
  text-align: center;
  color: #6b7280;
}

.pop-form.pop-sign-log.register .mg-reg-right .sign-in .mg-color {
  color: #111827;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.pop-form.pop-sign-log.register .mg-reg-right .sign-in .mg-color:hover {
  text-decoration-thickness: 2px;
}

/* =========================================================
   MOBILE (<= 899px) – single card, left side hidden
   ========================================================= */

@media (max-width: 899.98px) {
  .pop-form.pop-sign-log.register .mg-reg-shell {
    max-width: 420px;
    margin: 0 auto;
    border-radius: 18px;
  }

  .pop-form.pop-sign-log.register .mg-reg-left {
    display: none;
  }
}

/* =========================================================
   DESKTOP (>= 900px) – split layout (50/50, same as login)
   ========================================================= */

@media (min-width: 900px) {
  .pop-form.pop-sign-log.register .mg-reg-shell {
    display: flex;
    max-width: 880px;
    margin: 0 auto;
  }

  .pop-form.pop-sign-log.register .mg-reg-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 50%;
    padding: 36px 34px;
    background: radial-gradient(
        circle at bottom left,
        rgba(251, 191, 36, 0.2),
        transparent 60%
      ),
      #020617;
    color: #e5e7eb;
    border-right: 1px solid #020617;
  }

  .pop-form.pop-sign-log.register .mg-reg-right {
    flex: 0 0 50%;
    padding: 30px 30px 24px;
  }

  .pop-form.pop-sign-log.register .mg-reg-right hgroup {
    display: none;
  }
}

/* =========================================================
   OUTER POPUP – GLASS BACKGROUND (shared with login)
   ========================================================= */

.sign-log.broker .pop-sign-log {
  width: auto !important;
  max-width: 980px;
  padding: 32px 34px;
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

/* Remove section’s own background so the glass shows through */
.sign-log.broker .pop-sign-log > section.pop-form.pop-sign-log.register {
  background: transparent !important;
}

/* Mobile sizing for outer popup */

@media (max-width: 899.98px) {
  .sign-log.broker .pop-sign-log {
    width: 100% !important;
    max-width: 420px;
    padding: 20px 10px;
  }
}


/* Match REGISTER "Continue" button to LOGIN "OK" button */
.pop-form.pop-sign-log.register .mg-reg-right .submit input[type='submit'] {
  width: 100%;
  border: none !important;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  height: 46px;
  padding: 0 24px;
  background: linear-gradient(135deg, #f7d297, #e7ae5d) !important;
  color: #111827 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.pop-form.pop-sign-log.register
  .mg-reg-right
  .submit
  input[type='submit']:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.pop-form.pop-sign-log.register
  .mg-reg-right
  .submit
  input[type='submit']:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}


/* =========================================================
   REGISTER STEP 2 – EMAIL REGISTRATION CARD
   Matches login/register styling
   ========================================================= */

.pop-form.pop-sign-log.register .step2 {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 36px 26px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

/* Heading */

.pop-form.pop-sign-log.register .step2 hgroup {
  text-align: center;
  margin-bottom: 20px;
}

.pop-form.pop-sign-log.register .step2 h2 p {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #111827;
}

.pop-form.pop-sign-log.register .step2 h3 p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #6b7280;
}

/* Inputs (Full Name + Phone) */

.pop-form.pop-sign-log.register .step2 .v-input {
  margin-bottom: 14px;
}

.pop-form.pop-sign-log.register .step2 .v-input .input-container {
  position: relative;
  padding: 10px 14px 8px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.pop-form.pop-sign-log.register .step2 .v-input .label-top {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 2px;
}

.pop-form.pop-sign-log.register
  .step2
  .v-input
  input[type='text'],
.pop-form.pop-sign-log.register
  .step2
  .v-input
  input[type='tel'] {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #111827;
  padding: 2px 0 0;
}

.pop-form.pop-sign-log.register
  .step2
  .v-input
  input::placeholder {
  color: #9ca3af;
}

.pop-form.pop-sign-log.register
  .step2
  .v-input
  .input-container:focus-within {
  border-color: #111827;
  background: #ffffff;
  box-shadow: 0 0 0 1px #1118270f, 0 0 0 6px rgba(15, 23, 42, 0.08);
}

/* Error text */

.pop-form.pop-sign-log.register .step2 .v-input .mg-error,
.pop-form.pop-sign-log.register .step2 form > .mg-error {
  font-size: 11px;
  color: #b91c1c;
  margin-top: 6px;
}

/* Disclaimer / checkbox */

.pop-form.pop-sign-log.register .step2 .disclaimer-wrap {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.5;
  color: #4b5563;
}

.pop-form.pop-sign-log.register
  .step2
  .disclaimer-wrap
  .checkbox-li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pop-form.pop-sign-log.register
  .step2
  .disclaimer-wrap
  .check-box-container {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.pop-form.pop-sign-log.register
  .step2
  .disclaimer-wrap
  .privacy-link {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Submit button – same gold pill as login/register */

.pop-form.pop-sign-log.register .step2 .submit {
  margin-top: 18px;
}

.pop-form.pop-sign-log.register
  .step2
  .submit
  input[type='submit'] {
  width: 100%;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  height: 46px;
  padding: 0 24px;
  background: linear-gradient(135deg, #f7d297, #e7ae5d) !important;
  color: #111827 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
  appearance: none;
  background-image: none;
}

/* Disabled state (before checkbox tick) */
.pop-form.pop-sign-log.register
  .step2
  .submit.disabled
  input[type='submit'] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.pop-form.pop-sign-log.register
  .step2
  .submit
  input[type='submit']:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.pop-form.pop-sign-log.register
  .step2
  .submit
  input[type='submit']:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

/* Small tweak for mobile */

@media (max-width: 599.98px) {
  .pop-form.pop-sign-log.register .step2 {
    padding: 24px 16px 20px;
    border-radius: 18px;
  }
}
