/* From new-theme-html/login.html */
.lg-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 1300px 1300px at -5% -8%,
      rgba(255, 204, 0, .38) 0%, rgba(255, 204, 0, .18) 35%,
      rgba(255, 204, 0, .06) 60%, transparent 80%),
    radial-gradient(ellipse 1300px 1300px at 108% 108%,
      rgba(255, 204, 0, .38) 0%, rgba(255, 204, 0, .18) 35%,
      rgba(255, 204, 0, .06) 60%, transparent 80%),
    var(--bg);
}

.lg-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px 22px;
}

.lg-topbar-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-2);
}

.lg-topbar-link strong {
  font-weight: 700;
  color: var(--ink);
}

.lg-body {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding-bottom: 50px;
}

.lg-left {
  flex: 0 0 54%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 60px 72px;
}

.lg-form {
  width: 448px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.lg-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lg-heading h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 50px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lg-heading h1 em {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 600;
  color: var(--ink-2);
}

.lg-heading p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.52;
  letter-spacing: -0.0035em;
  color: var(--ink-2);
}

.login-alerts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-alert {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
}

.login-alert.error {
  background: #fff5f5;
  border: 1px solid #f0c4c4;
  color: #5c1a1a;
}

.login-alert.success {
  background: #f2fff7;
  border: 1px solid #b8e6c8;
  color: #173a24;
}

.login-alert ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.lg-socials {
  display: flex;
  gap: 9px;
}

.lg-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--ink);
  border: 1px solid var(--rule-3);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--paper);
  box-shadow: var(--shadow-xs), 0 4px 16px rgba(24, 22, 18, .06);
  transition: background .2s, transform .15s;
}

.lg-social-btn:hover {
  background: #0a0a0a;
  transform: translateY(-1px);
}

.lg-social-icon {
  width: 24px;
  height: 24px;
  border-radius: 20px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.lg-social-icon svg {
  display: block;
}

.lg-divider {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lg-divider::before,
.lg-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule-3);
}

.lg-divider span {
  font-family: "Inter", var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.025em;
  color: var(--ink);
  white-space: nowrap;
}

.lg-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lg-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.lg-field label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.lg-input-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--rule-3);
  border-radius: 10px;
  transition: border-color .18s;
}

.lg-input-box:focus-within {
  border-color: var(--accent);
}

.lg-input-box input {
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.lg-input-box input::placeholder {
  color: var(--ink-4);
  font-weight: 500;
}

.lg-input-box input:-webkit-autofill,
.lg-input-box input:-webkit-autofill:hover,
.lg-input-box input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--paper) inset;
  -webkit-text-fill-color: var(--ink);
  transition: background-color 5000s ease-in-out 0s;
}

.lg-eye {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink-3);
  border: 0;
  background: transparent;
  padding: 0;
}

.lg-eye svg {
  display: block;
  width: 16px;
  height: 16px;
}

.lg-field-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 30px;
  gap: 18px;
}

.lg-field-links .forgot {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #534f47;
  text-decoration: underline;
 /*  text-decoration-thickness: 1.5px; */
  text-underline-offset: 3px;
  white-space: nowrap;
}

.lg-btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 56px;
  padding: 16px 16px;
  background: var(--accent);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--accent-ink);
  box-shadow: 0 16px 34px rgba(245, 190, 0, 0.38);
  transition: background .2s, transform .15s;
  margin-top: 6px;
  margin-bottom: 10px;
}

.lg-btn-login:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.lg-btn-login svg {
  display: block;
  width: 16px;
  height: 16px;
}

/* Loader state for button */
.lg-btn-login.m-loader {
  color: transparent !important;
  pointer-events: none;
  position: relative;
}
.lg-btn-login.m-loader svg {
  display: none !important;
}
.lg-btn-login.m-loader::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(24,22,18,0.2);
  border-top-color: var(--ink-1a, #181612);
  animation: lg-loader-spin 0.6s linear infinite;
}
@keyframes lg-loader-spin {
  to { transform: rotate(360deg); }
}

.lg-signup-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 0 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
}

.lg-signup-row a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  color: var(--muted-text, #1F1612);
}

.login-validation-msg {
  display: block;
  width: 100%;
  margin: 4px 0 0;
  color: #c62828 !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  clear: both;
}

/* New-theme auth popups (forgot/resend/resend otp) */
.mfp-bg {
  background: rgba(0, 0, 0, 0.58);
  opacity: 1;
}

.mfp-container {
  padding: 20px;
}

.mfp-content {
  max-width: 700px;
}

.mfp-content:has(#forgot-form) {
  max-width: 680px;
}

.mfp-content:has(#resend-form) {
  max-width: 760px;
  overflow: visible;
}

.mfp-content:has(#resend-otp-form) {
  max-width: 620px;
  overflow: visible;
}

.mfp-container:has(#resend-otp-form) {
  overflow: visible;
}

.mfp-close {
  display: none !important;
}

.nt-auth-modal {
  position: relative;
  overflow: hidden;
  max-width: 580px;
  width: min(580px, calc(100vw - 40px));
  margin: 0 auto;
  background: var(--tint-soft);
  border: 1px solid var(--rule);
  border-radius: 26px;
  padding: 36px 44px 34px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.nt-auth-modal::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  top: -120px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.45;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.nt-auth-modal > * {
  position: relative;
  z-index: 1;
}

.nt-auth-modal-icon {
  width: auto;
  height: auto;
  margin: 0 auto 20px;
  padding: 26px;
  border: 1px solid var(--accent);
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tint);
}

.nt-auth-modal-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.nt-auth-modal h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.nt-auth-modal h3 em {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 600;
  color: var(--ink-2);
}

.nt-auth-modal p {
  margin: 0 0 18px;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.4;
  color: var(--ink-2);
}

.nt-auth-modal label {
  display: block;
  margin: 0 0 8px;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 600;
  color: var(--ink);
}

.nt-auth-modal input:not(.nt-country-picker-search),
.nt-auth-modal select {
  width: 100%;
  height: auto;
  min-height: 0;
  border: 1px solid var(--rule-3);
  border-radius: 10px;
  background: var(--paper);
  padding: 20px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
  box-shadow: none;
}

.nt-auth-modal input:not(.nt-country-picker-search)::placeholder {
  color: var(--ink-4);
  opacity: 1;
}

.nt-auth-modal input:not(.nt-country-picker-search):focus,
.nt-auth-modal select:focus {
  border-color: var(--accent);
  outline: none;
}

/* Forgot password modal — design system */
#forgot-form.nt-forgot-modal {
  max-width: 640px;
  width: min(640px, calc(100vw - 40px));
  padding: 80px 80px 80px;
  border-radius: 40px;
  background:
    radial-gradient(95% 75% at 100% 0%, rgba(255, 220, 120, 0.45) 0%, rgba(255, 250, 234, 0) 52%),
    var(--tint-soft);
}

#forgot-form.nt-forgot-modal::before {
  display: none;
}

#forgot-form .nt-forgot-modal__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

#forgot-form .nt-forgot-modal__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

#forgot-form .nt-forgot-modal__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

#forgot-form .nt-auth-modal-icon {
  margin: 0;
  padding: 26px;
  border-radius: 24px;
  background: var(--tint);
  border: 1px solid var(--accent);
}

#forgot-form h3 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
}

#forgot-form h3 em {
  font-weight: 600;
  color: var(--ink-2);
}

#forgot-form .nt-auth-modal-lead {
  margin: 0;
  max-width: 482px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.52;
  letter-spacing: 0.015em;
  color: var(--ink-2);
  text-align: center;
}

#forgot-form .nt-auth-modal-fields {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
}

#forgot-form .nt-forgot-modal__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#forgot-form .nt-forgot-modal__field label {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

#forgot-form .nt-auth-asterisk {
  color: var(--accent);
}

#forgot-form input#forgot_email_phone {
  margin-bottom: 0;
  padding: 20px 16px;
  border: 1px solid var(--rule-3);
  border-radius: 10px;
  background: var(--paper);
}

#forgot-form .nt-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 20px 12px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-yellow);
}

#forgot-form .nt-auth-modal-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 4px 0 0;
  text-align: center;
}

#forgot-form .nt-auth-modal-foot span {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--ink-2);
}

#forgot-form .nt-auth-modal-back {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--ink);
}

@media (max-width: 640px) {
  #forgot-form.nt-forgot-modal {
    width: calc(100vw - 28px);
    padding: 32px 24px 28px;
    border-radius: 20px;
  }

  #forgot-form .nt-forgot-modal__inner {
    gap: 28px;
  }

  #forgot-form h3 {
    white-space: normal;
    font-size: 32px;
  }

  #forgot-form .nt-auth-modal-lead {
    font-size: 16px;
  }

  #forgot-form .nt-auth-submit {
    padding: 18px 12px;
    font-size: 16px;
  }
}

.nt-auth-phone-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.nt-auth-phone-row select {
  max-width: 260px;
}

.nt-country-picker {
  position: relative;
  flex: 0 0 auto;
}

.nt-country-picker-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nt-country-picker-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 90px;
  min-width: 90px;
  max-width: 100px;
  min-height: 52px;
  margin: 0;
  border: 1px solid var(--rule-3);
  border-radius: 10px;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23BAB4A4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding: 0 28px 0 14px;
  text-align: left;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
}

.nt-country-picker-label {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nt-country-picker-btn.is-placeholder .nt-country-picker-label {
  color: var(--ink-4);
  font-weight: 500;
}

.nt-country-picker-btn:not(.is-placeholder) .nt-country-picker-label {
  color: var(--ink-3);
  font-weight: 500;
}

.nt-country-picker-btn[aria-expanded="true"] {
  border-color: var(--accent);
}

.nt-country-picker-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 40;
  min-width: 280px;
  max-width: min(320px, calc(100vw - 32px));
  background: var(--paper);
  border: 1px solid var(--rule-3);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.nt-country-picker-menu.opens-up {
  top: auto;
  bottom: calc(100% + 6px);
}

.nt-country-picker-menu[hidden] {
  display: none !important;
}

.nt-country-picker-search {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  box-sizing: border-box;
  padding: 12px 14px;
  border: none;
  border-bottom: 1px solid var(--rule-3);
  border-radius: 0;
  box-shadow: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  background: var(--paper);
}

.nt-country-picker-search::placeholder {
  color: #bab4a4;
}

.nt-country-picker-search:focus {
  border-bottom: 1px solid var(--rule-3);
  box-shadow: none;
}

.nt-country-picker-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 220px;
  overflow-y: auto;
}

.nt-country-picker-list li {
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
}

.nt-country-picker-list li:hover,
.nt-country-picker-list li.is-selected {
  background: rgba(255, 204, 0, 0.18);
}

.nt-country-picker-empty {
  color: var(--ink-3);
  cursor: default;
  font-weight: 400;
}

.nt-country-picker-empty:hover {
  background: transparent;
}

/* Resend verification + OTP modals — match forgot modal / design system */
#resend-form.nt-resend-modal,
#resend-otp-form.nt-resend-modal {
  max-width: 580px;
  width: min(580px, calc(100vw - 40px));
  padding: 80px 80px 80px;
  border-radius: 40px;
  background:
    radial-gradient(95% 75% at 100% 0%, rgba(255, 220, 120, 0.45) 0%, rgba(255, 250, 234, 0) 52%),
    var(--tint-soft);
}


#resend-form.nt-resend-modal::before,
#resend-otp-form.nt-resend-modal::before {
  display: none;
}

#resend-form .nt-resend-modal__inner,
#resend-otp-form .nt-resend-modal__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

#resend-form .nt-resend-modal__hero,
#resend-otp-form .nt-resend-modal__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

#resend-form .nt-resend-modal__copy,
#resend-otp-form .nt-resend-modal__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 482px;
  margin: 0 auto;
}

#resend-form .nt-auth-modal-icon,
#resend-otp-form .nt-auth-modal-icon {
  margin: 0;
  padding: 26px;
  border-radius: 24px;
  background: var(--tint);
  border: 1px solid var(--accent);
}

#resend-form h3,
#resend-otp-form h3 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.05em;
  text-align: center;
}

#resend-form h3 em,
#resend-otp-form h3 em {
  display: block;
  margin-top: 2px;
  font-weight: 600;
  color: var(--ink-2);
}

#resend-form .nt-auth-modal-lead,
#resend-otp-form .nt-auth-modal-lead {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.52;
  letter-spacing: 0.015em;
  color: var(--ink-2);
  text-align: center;
}

#resend-form .nt-auth-modal-fields,
#resend-otp-form .nt-auth-modal-fields {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: left;
}

#resend-form .nt-resend-modal__field,
#resend-otp-form .nt-resend-modal__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#resend-form .nt-resend-modal__field label,
#resend-otp-form .nt-resend-modal__field label {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

#resend-form input#resend_email {
  margin-bottom: 0;
}

/* === Resend Verification EMAIL only — wider card, title 1 line, desc 2 lines === */
#resend-form.nt-resend-modal {
  max-width: 720px;
  width: min(720px, calc(100vw - 40px));
}

#resend-form .nt-resend-modal__copy {
  max-width: 100%;
}

#resend-form h3 {
  white-space: nowrap;
  font-size: 32px;
  letter-spacing: -0.04em;
}

#resend-form h3 em {
  display: inline;
  margin-top: 0;
}

#resend-form .nt-auth-modal-lead {
  max-width: 520px;
  font-size: 16px;
}

#resend-otp-form.nt-resend-modal,
#resend-otp-form .nt-resend-modal__inner,
#resend-otp-form .nt-auth-modal-fields,
#resend-otp-form .nt-resend-modal__field {
  overflow: visible;
}

#resend-otp-form .nt-auth-phone-row {
  gap: 12px;
  align-items: stretch;
  position: relative;
  overflow: visible;
  margin-bottom: 0;
  z-index: 1;
}

#resend-otp-form .nt-auth-phone-row:has(.nt-country-picker.is-open) {
  z-index: 300;
}

#resend-otp-form .nt-country-picker {
  position: static;
  flex: 0 0 auto;
}

#resend-otp-form .nt-country-picker.is-open {
  z-index: 300;
}

#resend-otp-form .nt-country-picker-btn {
  align-self: stretch;
  height: auto;
  min-height: 52px;
}

#resend-otp-form .nt-country-picker-label {
  font-size: 14px;
  line-height: 1.2;
}

#resend-otp-form .nt-country-picker-menu {
  left: 0;
  right: 0;
  width: auto;
  min-width: 0;
  max-width: none;
  top: calc(100% + 8px);
  border: 1px solid var(--rule-3);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
}

#resend-otp-form .nt-country-picker-menu.opens-up {
  top: auto;
  bottom: calc(100% + 8px);
}

#resend-otp-form .nt-country-picker-list {
  max-height: min(200px, 40vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--paper);
}

#resend-otp-form .nt-country-picker-search {
  background: var(--paper);
  border-bottom: 1px solid var(--rule-3);
  color: var(--ink);
}

#resend-otp-form .nt-country-picker-search::placeholder {
  color: var(--ink-4);
}

#resend-otp-form .nt-country-picker-list li {
  color: var(--ink);
}

#resend-otp-form .nt-country-picker-list li:hover,
#resend-otp-form .nt-country-picker-list li.is-selected {
  background: rgba(255, 204, 0, 0.18);
}

#resend-otp-form .nt-country-picker-empty,
#resend-otp-form .nt-country-picker-empty:hover {
  color: var(--ink-3);
  background: transparent;
}

#resend-otp-form .nt-auth-phone-row input {
  flex: 1;
  min-width: 0;
  height: auto;
  min-height: 52px;
  margin-bottom: 0;
  padding: 0 16px;
  border: 1px solid var(--rule-3);
  border-radius: 10px;
  background-color: var(--paper);
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

#resend-otp-form .nt-auth-phone-row input::placeholder {
  color: var(--ink-4);
  opacity: 1;
}

@media (max-width: 640px) {
  #resend-form.nt-resend-modal,
  #resend-otp-form.nt-resend-modal {
    padding: 32px 24px 28px;
    border-radius: 20px;
  }

  #resend-form .nt-resend-modal__inner,
  #resend-otp-form .nt-resend-modal__inner {
    gap: 28px;
  }

  #resend-form .nt-auth-modal-lead,
  #resend-otp-form .nt-auth-modal-lead {
    font-size: 16px;
  }

  #resend-otp-form .nt-auth-phone-row {
    flex-direction: column;
  }

  #resend-otp-form .nt-country-picker-btn {
    width: 100%;
    max-width: none;
  }
}

.nt-auth-submit {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 20px 12px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-yellow);
  cursor: pointer;
}

@media (max-width: 640px) {
  .mfp-container {
    padding: 14px;
  }

  .nt-auth-modal {
    width: calc(100vw - 28px);
    border-radius: 20px;
    padding: 28px 20px 24px;
  }

  .nt-auth-modal-icon {
    padding: 20px;
    border-radius: 20px;
  }

  .nt-auth-modal-icon svg {
    width: 28px;
    height: 28px;
  }

  .nt-auth-phone-row {
    flex-direction: column;
    gap: 10px;
  }

  .nt-auth-phone-row select {
    max-width: 100%;
  }
}

.lg-input-invalid {
  border-color: #c62828 !important;
}

.lg-right {
  /* flex: 1; */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 48px 0 16px;
}

.lg-panel {
  width: 546px;
  height: 993px;
  background: var(--tint-soft);
  border: 1px solid var(--rule);
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.lg-panel-glow {
  position: absolute;
  width: 542px;
  height: 542px;
  left: 417px;
  top: -403px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .8;
  filter: blur(180px);
  pointer-events: none;
  z-index: 0;
}

.lg-live {
  position: absolute;
  top: 48px;
  left: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: var(--ink);
  border-radius: 9999px;
  z-index: 2;
}

.lg-live .ldot {
  width: 6px;
  height: 6px;
  background: var(--accent-deep);
  border-radius: 50%;
  flex-shrink: 0;
}

.lg-live .lsep {
  width: 2px;
  height: 2px;
  background: var(--accent-deep);
  border-radius: 50%;
  flex-shrink: 0;
}

.lg-live .ltxt {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--accent-deep);
}

.lg-panel-hero {
  position: absolute;
  top: 105px;
  left: 42px;
  right: 42px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.lg-panel-hero h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.lg-panel-hero h2 em {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 600;
}

.lg-panel-hero p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

.lg-cards-zone {
  position: absolute;
  top: 285px;
  left: 33px;
  width: 481px;
  height: 508px;
  z-index: 2;
}

.lg-cards-photo {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
}

.lg-cards-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
}

.lg-card-evt {
  position: absolute;
  left: -32px;
  top: 10px;
  width: 210px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 13px;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: var(--shadow-xl, 0 24px 50px rgba(24, 22, 18, .18), 0 8px 20px rgba(24, 22, 18, .08));
  z-index: 3;
  transform: rotate(-3deg);
}

.lg-crd-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lg-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.lg-crd-sep {
  width: 2.1px;
  height: 2.1px;
  background: #B8B2A4;
  border-radius: 50%;
  flex-shrink: 0;
}

.lg-cnt {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
}

.lg-grn {
  width: 6.3px;
  height: 6.3px;
  background: #1F8A4C;
  border-radius: 3px;
  flex-shrink: 0;
}

.lg-upd {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
}

.lg-card-rsvp {
  position: absolute;
  left: 350px;
  top: 404px;
  width: 135px;
  height: 91px;
  background: var(--ink);
  border-radius: 13px;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-xl, 0 24px 50px rgba(24, 22, 18, .18), 0 8px 20px rgba(24, 22, 18, .08));
  z-index: 3;
  transform: rotate(3deg);
}

.lg-rsvp-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lg-rsvp-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--accent);
}

.lg-rsvp-big {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--rule);
}

.lg-rsvp-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .0455em;
  color: var(--ink-3);
}

.lg-testimonial {
  position: absolute;
  top: 817px;
  left: 41px;
  width: 464px;
  height: 128px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 25px 58px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  z-index: 2;
}

.lg-testimonial .tquote {
  position: absolute;
  top: 19px;
  left: 30px;
  font-family: var(--display);
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  pointer-events: none;
}

.lg-testimonial .ttext {
  margin: 0;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.44;
  letter-spacing: .01em;
  color: var(--ink);
  width: 372px;
}

.lg-testimonial .tattr {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: .0292em;
  color: var(--ink-3);
}

/* Layout uses .su-footer in signup-standalone */
.su-footer {
  background: #FFFFFF;
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  flex-shrink: 0;
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 2;
}

.su-footer-copy {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink-3);
}

.su-footer-copy a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}

.su-footer-copy a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink-3);
}

.su-footer-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 32px;
}

.su-footer-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink-3);
  padding: 0 12px;
  transition: color .15s;
}
.su-footer-links a:first-child { padding-left: 0; }
.su-footer-links a:hover { color: var(--ink); }

/* Footer social icons — auth-standalone.css */

@media (max-width: 768px) {
  .su-footer {
    padding: 0 28px;
  }
}

@media (max-width: 640px) {
  .su-footer {
    height: auto;
    min-height: 56px;
    padding: 12px 20px;
    flex-wrap: wrap;
    row-gap: 8px;
    align-content: center;
  }

  .su-footer-copy {
    flex: 0 0 100%;
    font-size: 12px;
  }

  .su-footer-links {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .su-footer {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    padding: 14px 16px 12px;
    gap: 10px;
  }

  .su-footer-copy {
    flex: none;
    width: auto;
  }

  .su-footer-links {
    margin-left: 0;
    flex-wrap: wrap;
  }

}

@media (max-width: 1100px) {
  .lg-right {
    display: none;
  }

  .lg-left {
    flex: 0 0 100%;
    align-items: flex-start;
    justify-content: center;
    padding: 56px 60px 64px;
  }
}

@media (max-width: 768px) {
  .lg-topbar {
    padding: 20px 28px 18px;
  }

  .lg-left {
    padding: 40px 40px 56px;
  }
}

@media (max-width: 640px) {
  .lg-topbar {
    padding: 16px 20px 14px;
  }

  .lg-topbar-link {
    display: none;
  }

  .lg-left {
    padding: 32px 24px 48px;
  }

  .lg-form {
    width: 100%;
  }

  .lg-heading h1 {
    font-size: 36px;
  }

  .lg-socials {
    flex-direction: column;
  }

  .su-footer {
    row-gap: 8px;
  }
}

@media (max-width: 480px) {
  .lg-left {
    padding: 24px 20px 40px;
  }

  .lg-heading h1 {
    font-size: 30px;
  }

  .lg-field-links {
    flex-wrap: wrap;
    gap: 2px;
  }

  .su-footer {
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .lg-topbar {
    padding: 14px 16px 12px;
  }

  .lg-left {
    padding: 20px 16px 36px;
  }

  .lg-heading h1 {
    font-size: 26px;
  }

  .lg-heading p {
    font-size: 14px;
  }

  .lg-btn-login {
    font-size: 14px;
  }
}
