/**
 * InFront Login – Professional two-path layout
 * Side-by-side on desktop: Sign in (left) | New here? (right).
 */

:root {
  --ift-auth-brand: #e56a1a;
  --ift-auth-brand-dark: #c75012;
  --ift-auth-brand-soft: rgba(229, 106, 26, 0.12);
  --ift-auth-ink: #0f172a;
  --ift-auth-muted: #64748b;
  --ift-auth-border: #e2e8f0;
  --ift-auth-surface: #ffffff;
  --ift-auth-canvas: #f1f5f9;
}

/* Hide floating social slide on auth pages */
body.page-authentication .ets_solo_slide_widget {
  display: none !important;
}

/* Fix ets_sociallogin slider icon being cut off */
.ets_solo_social_wrapper.slw_and_alw .ets_solo_slide_widget {
  right: 0 !important;
  overflow: visible !important;
}

.ets_solo_social_wrapper.slw_and_alw .ets_solo_slide_widget .ets_solo_title {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.ets_solo_social_wrapper.slw_and_alw .ets_solo_slide_widget .ets_solo_title i,
.ets_solo_social_wrapper.slw_and_alw .ets_solo_slide_widget .ets_solo_title .material-icons {
  margin-left: 5px !important;
}

/* ========== Focused page chrome (login + contact + guest tracking + CMS) ========== */
body.page-authentication #wrapper,
body.page-contact #wrapper,
body.page-guest-tracking #wrapper,
body.page-cms #wrapper,
body.page-password #wrapper {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(229, 106, 26, 0.14), transparent 55%),
    linear-gradient(180deg, #fdf3ea 0%, var(--ift-auth-canvas) 14rem);
}

/* Fill tall desktop windows so no white band shows under the footer */
body.page-authentication #main-page-content,
body.page-contact #main-page-content,
body.page-guest-tracking #main-page-content,
body.page-cms #main-page-content,
body.page-password #main-page-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.page-authentication #main-page-content > #wrapper,
body.page-contact #main-page-content > #wrapper,
body.page-guest-tracking #main-page-content > #wrapper,
body.page-cms #main-page-content > #wrapper,
body.page-password #main-page-content > #wrapper {
  flex: 1 0 auto;
}

body.page-authentication #inner-wrapper.container,
body.page-contact #inner-wrapper.container,
body.page-guest-tracking #inner-wrapper.container,
body.page-cms #inner-wrapper.container,
body.page-password #inner-wrapper.container {
  max-width: 1080px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

body.page-authentication .infront-auth-content,
body.page-authentication .infront-focused-content,
body.page-contact .infront-focused-content,
body.page-guest-tracking .infront-focused-content,
body.page-cms .infront-focused-content,
body.page-password .infront-focused-content {
  padding: 1.25rem 0 2.75rem;
}

.infront-auth-chrome__header {
  background: transparent;
  box-shadow: none;
  padding: 1.35rem 0 0.5rem;
}

.infront-auth-chrome__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto;
}

.infront-auth-chrome__logo-link {
  display: inline-flex;
  justify-content: center;
}

.infront-auth-chrome__logo-link .logo {
  max-height: 48px;
  width: auto;
}

.infront-auth-chrome__back,
.infront-auth-chrome__help {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ift-auth-muted) !important;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.infront-auth-chrome__back {
  justify-self: start;
  font-size: 1.0625rem;
}

.infront-auth-chrome__help {
  justify-self: end;
  font-size: 0.875rem;
}

.infront-auth-chrome__back:hover,
.infront-auth-chrome__help:hover {
  color: var(--ift-auth-ink) !important;
  text-decoration: none;
}

.infront-auth-chrome__back-label--mobile {
  display: none;
}

.infront-auth-chrome__help-icon {
  display: none;
}

@media (max-width: 767px) {
  .infront-auth-chrome__header {
    padding: 1rem 0 0.25rem;
  }

  .infront-auth-chrome__bar {
    gap: 0.5rem;
  }

  .infront-auth-chrome__back-label--desktop,
  .infront-auth-chrome__help-label {
    display: none;
  }

  .infront-auth-chrome__back-label--mobile,
  .infront-auth-chrome__help-icon {
    display: inline;
  }

  .infront-auth-chrome__back {
    font-size: 1.125rem;
  }

  .infront-auth-chrome__back-label--mobile {
    font-size: 1.125rem;
    font-weight: 600;
  }

  .infront-auth-chrome__logo-link .logo {
    max-height: 40px;
  }
}

.infront-auth-chrome__header--in-card {
  grid-column: 1 / -1;
  padding: 1.15rem 2rem 1rem;
  margin: 0;
  border-bottom: 1px solid var(--ift-auth-border);
  background: #fff;
}

.infront-auth-chrome__header--in-card .infront-auth-chrome__bar {
  max-width: none;
}

@media (max-width: 767px) {
  .infront-auth-chrome__header--in-card {
    padding: 1rem 1.15rem 0.85rem;
  }
}

.infront-auth-chrome__footer {
  margin-top: 0;
  background: var(--ift-auth-surface);
  border-top: 1px solid var(--ift-auth-border);
}

.infront-auth-chrome__trust--compact {
  padding: 0.875rem 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--ift-auth-border);
}

.infront-auth-chrome__trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.5;
  text-align: center;
}

.infront-auth-chrome__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.infront-auth-chrome__trust-item .fa {
  color: var(--ift-auth-brand);
  font-size: 0.75rem;
}

.infront-auth-chrome__trust-sep {
  color: #cbd5e1;
  font-weight: 400;
  user-select: none;
}

.infront-auth-chrome__links--inline {
  padding: 0.75rem 0;
  background: #fff;
  border-bottom: 1px solid var(--ift-auth-border);
}

.infront-auth-chrome__links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.infront-auth-chrome__links-row li {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.infront-auth-chrome__links-row li + li::before {
  content: '·';
  margin-right: 0.65rem;
  color: #cbd5e1;
  font-weight: 400;
  user-select: none;
}

.infront-auth-chrome__links-row a {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ift-auth-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.infront-auth-chrome__links-row a:hover {
  color: var(--ift-auth-brand-dark);
  text-decoration: underline;
}

.infront-auth-chrome__copyright {
  margin-top: 0;
  padding: 0.875rem 0 1rem;
  background: #f8fafc;
  border-top: none;
}

.infront-auth-chrome__copyright-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.infront-auth-chrome__copyright-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ift-auth-muted);
}

.infront-auth-chrome__copyright-payments {
  flex-shrink: 0;
}

.infront-auth-chrome__copyright-payments .ift-payment-icons img {
  max-height: 24px;
  width: auto;
}

@media (max-width: 767px) {
  .infront-auth-chrome__trust--compact {
    display: none;
  }

  .infront-auth-chrome__links--inline {
    padding: 0.5rem 0 0.35rem;
    border-bottom: none;
    background: #f8fafc;
  }

  .infront-auth-chrome__links-row {
    gap: 0.15rem 0.4rem;
  }

  .infront-auth-chrome__links-row li:nth-child(2) {
    display: none;
  }

  .infront-auth-chrome__links-row a {
    font-size: 0.6875rem;
  }

  .infront-auth-chrome__links-row li + li::before {
    margin-right: 0.4rem;
  }

  .infront-auth-chrome__copyright {
    padding: 0 0 0.625rem;
    background: #f8fafc;
  }

  .infront-auth-chrome__copyright-inner {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }

  .infront-auth-chrome__copyright-text {
    font-size: 0.625rem;
    line-height: 1.3;
    text-align: center;
  }

  .infront-auth-chrome__copyright-extra {
    display: none;
  }

  .infront-auth-chrome__copyright-payments {
    display: none;
  }

  body.page-authentication .infront-focused-content,
  body.page-contact .infront-focused-content,
  body.page-guest-tracking .infront-focused-content,
  body.page-cms .infront-focused-content,
  body.page-password .infront-focused-content {
    padding-bottom: 1rem;
  }
}

@media (max-width: 575px) {
  .infront-auth-chrome__trust-line {
    font-size: 0.75rem;
  }
}

body.page-authentication #footer-copyrights,
body.page-contact #footer-copyrights,
body.page-guest-tracking #footer-copyrights,
body.page-cms #footer-copyrights,
body.page-password #footer-copyrights {
  margin-top: 0;
  background: #f8fafc;
  border-top: none;
  font-size: 0.75rem;
  color: var(--ift-auth-muted);
}

body.page-authentication #footer-copyrights .copyright-txt,
body.page-contact #footer-copyrights .copyright-txt,
body.page-guest-tracking #footer-copyrights .copyright-txt,
body.page-cms #footer-copyrights .copyright-txt,
body.page-password #footer-copyrights .copyright-txt {
  line-height: 1.45;
}

body.page-authentication #footer-copyrights .ift-payment-icons img,
body.page-contact #footer-copyrights .ift-payment-icons img,
body.page-guest-tracking #footer-copyrights .ift-payment-icons img,
body.page-cms #footer-copyrights .ift-payment-icons img,
body.page-password #footer-copyrights .ift-payment-icons img,
.infront-auth-chrome__copyright-payments .ift-payment-icons img {
  max-height: 24px;
  width: auto;
}

/* ========== Page shell ========== */
body.infront-login-page #main {
  position: relative;
  min-height: auto;
  padding: 0;
  margin: 0;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ========== Two-column layout ========== */
body.infront-login-page #main .infront-login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  min-height: 34rem;
  background: var(--ift-auth-surface);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ift-auth-border);
}

@media (max-width: 767px) {
  body.infront-login-page #main .infront-login-layout {
    grid-template-columns: 1fr;
    border-radius: 0;
    min-height: auto;
  }

  body.infront-login-page #main .infront-login-left {
    padding: 1rem 1rem 1.25rem;
  }

  body.page-authentication .infront-auth-content,
  body.page-authentication .infront-focused-content,
  body.page-contact .infront-focused-content,
  body.page-guest-tracking .infront-focused-content,
  body.page-cms .infront-focused-content {
    padding: 0 0 0.5rem;
  }

  body.page-authentication #inner-wrapper.container,
  body.page-contact #inner-wrapper.container,
  body.page-guest-tracking #inner-wrapper.container,
  body.page-cms #inner-wrapper.container,
  body.page-password #inner-wrapper.container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  body.infront-login-page #main .infront-login-layout,
  body.infront-register-page #main .infront-register-layout {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
  }

  .infront-auth-chrome__header--in-card {
    padding: 0.85rem 1rem 0.75rem;
  }
}

/* ========== Left column – Sign in ========== */
body.infront-login-page #main .infront-login-left {
  padding: 3rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767px) {
  body.infront-login-page #main .infront-login-left {
    padding: 2rem 1.35rem 1.75rem;
  }
}

/* Kill theme page-title bar/underline inside login card */
body.infront-login-page #main .page-header {
  margin: 0;
  padding: 0;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

body.infront-login-page #main .page-title,
body.infront-login-page #main .page-header .page-title {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.infront-login-page #main .page-title::before,
body.infront-login-page #main .page-title::after,
body.infront-login-page #main .page-header::before,
body.infront-login-page #main .page-header::after {
  display: none !important;
  content: none !important;
}

/* Welcome pill — hidden on connect layout */
body.infront-login-page #main .infront-login-welcome {
  display: none;
}

/* Page title */
body.infront-login-page #main .infront-login-left .page-title,
body.infront-login-page #main .infront-login-left .page-header .page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ift-auth-ink);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

body.infront-login-page #main .infront-login-subtitle {
  font-size: 0.9375rem;
  color: var(--ift-auth-muted);
  margin: 0 0 2rem 0;
  line-height: 1.6;
  max-width: 26rem;
}

/* Connect layout: Google first, then email — styled to match InFront auth theme */
body.infront-login-page #main .infront-login-connect,
body.infront-register-page #main .infront-login-connect {
  width: 100%;
  max-width: none;
}

body.infront-login-page #main .infront-login-divider,
body.infront-register-page #main .infront-login-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0 1.25rem;
  padding: 0;
  color: #94a3b8;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

body.infront-login-page #main .infront-login-divider::before,
body.infront-login-page #main .infront-login-divider::after,
body.infront-register-page #main .infront-login-divider::before,
body.infront-register-page #main .infront-login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ift-auth-border);
}

body.infront-login-page #main .infront-login-social,
body.infront-register-page #main .infront-login-social {
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

body.infront-login-page #main .infront-login-social .ets_solo_or,
body.infront-login-page #main .infront-login-social .ets_solo_social_desc,
body.infront-login-page #main .infront-login-social .ets_solo_social_title,
body.infront-login-page #main .infront-login-social h3,
body.infront-register-page #main .infront-login-social .ets_solo_or,
body.infront-register-page #main .infront-login-social .ets_solo_social_desc,
body.infront-register-page #main .infront-login-social .ets_solo_social_title,
body.infront-register-page #main .infront-login-social h3 {
  display: none !important;
}

body.infront-login-page #main .infront-login-social .ets_solo_wrapper_content,
body.infront-register-page #main .infront-login-social .ets_solo_wrapper_content {
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
}

body.infront-login-page #main .infront-login-social .ets_solo_social,
body.infront-register-page #main .infront-login-social .ets_solo_social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}

body.infront-login-page #main .infront-google-btn,
body.infront-register-page #main .infront-google-btn {
  display: block;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

body.infront-login-page #main .infront-google-btn__inner,
body.infront-register-page #main .infront-google-btn__inner {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 50px;
  padding: 0 1rem 0 2.75rem;
  margin: 0;
  border-radius: 10px;
  border: 1px solid var(--ift-auth-border);
  background: #fff !important;
  color: #334155 !important;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

body.infront-login-page #main .infront-google-btn:hover .infront-google-btn__inner,
body.infront-register-page #main .infront-google-btn:hover .infront-google-btn__inner {
  background: #f8fafc !important;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

body.infront-login-page #main .infront-google-btn .svg_gl,
body.infront-register-page #main .infront-google-btn .svg_gl {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: 0;
  line-height: 1;
}

body.infront-login-page #main .infront-google-btn .svg_gl svg,
body.infront-register-page #main .infront-google-btn .svg_gl svg {
  width: 20px;
  height: 20px;
  display: block;
}

body.infront-login-page #main .infront-google-btn .ets_solo_btn.name,
body.infront-login-page #main .infront-google-btn .ets_solo_btn.custom,
body.infront-login-page #main .infront-google-btn .ets_solo_btn.img,
body.infront-register-page #main .infront-google-btn .ets_solo_btn.name,
body.infront-register-page #main .infront-google-btn .ets_solo_btn.custom,
body.infront-register-page #main .infront-google-btn .ets_solo_btn.img {
  display: none !important;
}

body.infront-login-page #main .infront-google-btn__label,
body.infront-register-page #main .infront-google-btn__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

body.infront-login-page #main .infront-google-btn.is-signing-in,
body.infront-register-page #main .infront-google-btn.is-signing-in {
  pointer-events: none;
  opacity: 0.72;
}

body.infront-login-page #main .infront-login-or-wrap {
  display: none !important;
}

/* Login form section */
body.infront-login-page #main .infront-login-left .login-form {
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

body.infront-login-page #main .infront-login-left .login-form::before {
  display: none;
}

/* Form errors */
body.infront-login-page #main .login-form .form-errors {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
}
body.infront-login-page #main .login-form .form-errors li {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  color: #b91c1c;
  background: #fef2f2;
  padding: 0.625rem 0.875rem;
  border-radius: 6px;
  border-left: 3px solid #dc2626;
}

/* Form groups */
body.infront-login-page #main .login-form section {
  margin: 0;
  padding: 0;
  border: none;
}
body.infront-login-page #main .login-form .form-group {
  margin-bottom: 1.375rem;
}
/* Theme form-fields.tpl outputs a horizontal col-md-2 / col-md-8 grid; stack it */
body.infront-login-page #main .login-form .form-group.row {
  display: block;
  margin-left: 0;
  margin-right: 0;
}
body.infront-login-page #main .login-form .form-group.row > [class*="col-"] {
  flex: none;
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
body.infront-login-page #main .login-form .form-group.row > .col-form-label {
  padding-top: 0;
  padding-bottom: 0;
}
body.infront-login-page #main .login-form .form-group.row > .form-control-comment:empty {
  display: none;
}
/* login.js moves the form out of #content, leaving an empty bordered box */
body.infront-login-page #main > #content.page-content:not(:has(*)) {
  display: none;
}
body.infront-login-page #main .login-form .form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.45rem;
  display: block;
  letter-spacing: 0.01em;
}

/* Inputs */
body.infront-login-page #main .login-form .form-control {
  width: 100%;
  height: 48px;
  padding: 0 0.95rem;
  font-size: 16px;
  color: var(--ift-auth-ink);
  background: #f8fafc;
  border: 1px solid var(--ift-auth-border);
  border-radius: 10px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
body.infront-login-page #main .login-form .form-control:hover {
  border-color: #cbd5e1;
  background: #fff;
}
body.infront-login-page #main .login-form .form-control:focus {
  outline: none;
  border-color: var(--ift-auth-brand);
  background: #fff;
  box-shadow: 0 0 0 3px var(--ift-auth-brand-soft);
  transform: none;
}

/* Password field wrapper - don't wrap eye icon */
body.infront-login-page #main .login-form .input-group {
  position: relative;
  display: flex;
  align-items: stretch;
}
body.infront-login-page #main .login-form .input-group .form-control {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
body.infront-login-page #main .login-form .input-group-btn {
  display: flex;
  margin-left: -1px;
}
body.infront-login-page #main .login-form .input-group-btn button {
  height: 48px;
  padding: 0 0.9rem;
  background: #f8fafc;
  border: 1px solid var(--ift-auth-border);
  border-left: none;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.infront-login-page #main .login-form .input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
body.infront-login-page #main .login-form .input-group:focus-within .form-control,
body.infront-login-page #main .login-form .input-group:focus-within .input-group-btn button {
  border-color: var(--ift-auth-brand);
}
body.infront-login-page #main .login-form .input-group:focus-within .form-control {
  box-shadow: 0 0 0 3px var(--ift-auth-brand-soft);
}
body.infront-login-page #main .login-form .input-group-btn button:hover {
  background: #f0f0f0;
}
body.infront-login-page #main .login-form .input-group-btn button i,
body.infront-login-page #main .login-form .input-group-btn button .material-icons {
  font-size: 20px;
  color: #666;
}

/* Better eye icon - use SVG */
body.infront-login-page #main .login-form .input-group-btn button i::before,
body.infront-register-page #main .register-form .input-group-btn button i::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

body.infront-login-page #main .login-form .input-group-btn button[data-action="show-password"] i::before,
body.infront-register-page #main .register-form .input-group-btn button[data-action="show-password"] i::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'%3E%3C/path%3E%3Cline x1='1' y1='1' x2='23' y2='23'%3E%3C/line%3E%3C/svg%3E");
}

/* Registration page password field */
body.infront-register-page #main .register-form .input-group {
  position: relative;
  display: flex;
  align-items: stretch;
}
body.infront-register-page #main .register-form .input-group .form-control {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
body.infront-register-page #main .register-form .input-group-btn {
  display: flex;
  margin-left: -2px;
}
body.infront-register-page #main .register-form .input-group-btn button {
  height: 54px;
  padding: 0 1.25rem;
  background: #fff;
  border: 2px solid #e1e8ed;
  border-left: none;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.infront-register-page #main .register-form .input-group-btn button:hover {
  background: #f8f9fa;
  border-color: #cbd5e0;
}
body.infront-register-page #main .register-form .input-group:focus-within .input-group-btn button {
  border-color: #007bff;
}
body.infront-register-page #main .register-form .input-group-btn button i,
body.infront-register-page #main .register-form .input-group-btn button .material-icons {
  font-size: 22px;
  color: #718096;
}

/* Forgot password */
body.infront-login-page #main .login-form .forgot-password {
  margin: 0.625rem 0 1.75rem 0;
}
body.infront-login-page #main .login-form .forgot-password a {
  font-size: 0.875rem;
  color: var(--ift-auth-brand-dark);
  text-decoration: none;
  font-weight: 600;
}
body.infront-login-page #main .login-form .forgot-password a:hover {
  color: var(--ift-auth-brand);
  text-decoration: underline;
}

/* Submit button */
body.infront-login-page #main .login-form .form-footer {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
}
body.infront-login-page #main .login-form #submit-login,
body.infront-login-page #main .login-form .form-control-submit {
  width: 100%;
  height: 50px;
  padding: 0 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--ift-auth-brand) 0%, var(--ift-auth-brand-dark) 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(229, 106, 26, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
body.infront-login-page #main .login-form #submit-login:hover,
body.infront-login-page #main .login-form .form-control-submit:hover {
  background: linear-gradient(135deg, #35c0de 0%, var(--ift-auth-brand) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(229, 106, 26, 0.42);
}

/* Legacy multi-network grid — unused with Google-only connect layout */

/* Stray hr in left column */
body.infront-login-page #main .infront-login-left hr {
  margin: 1.5rem 0;
  border: none;
  height: 1px;
  background: #e0e0e0;
}

/* No-account link (left column footer) */
body.infront-login-page #main .infront-login-left .no-account {
  margin-top: 2.25rem;
  padding: 0;
  text-align: left;
}
body.infront-login-page #main .infront-login-left .no-account a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  color: #666;
  text-decoration: none;
  font-weight: 500;
}
body.infront-login-page #main .infront-login-left .no-account a:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

/* ========== Right column – New here? ========== */
body.infront-login-page #main .infront-login-right {
  padding: 3rem 2.75rem;
  background:
    linear-gradient(165deg, rgba(248, 250, 252, 0.89) 0%, rgba(248, 250, 252, 0.85) 48%, rgba(248, 250, 252, 0.81) 100%),
    url('/img/infront-estate-aerial-hero.jpg') center 42% / cover no-repeat,
    #f8fafc;
  border-left: 1px solid var(--ift-auth-border);
  color: var(--ift-auth-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

body.infront-login-page #main .infront-login-right > * {
  position: relative;
  z-index: 1;
}

body.infront-login-page #main .infront-login-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  z-index: 2;
  background: linear-gradient(180deg, var(--ift-auth-brand) 0%, rgba(229, 106, 26, 0.15) 100%);
}

@media (max-width: 767px) {
  body.infront-login-page #main .infront-login-right {
    padding: 1.35rem 1.15rem 1.5rem;
    border-left: none;
    border-top: 1px solid var(--ift-auth-border);
    background:
      linear-gradient(180deg, rgba(248, 250, 252, 0.97) 0%, rgba(248, 250, 252, 0.95) 100%),
      #f8fafc;
  }

  body.infront-login-page #main .infront-login-right .infront-login-new-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
  }

  body.infront-login-page #main .infront-login-right .infront-login-new-lead {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  body.infront-login-page #main .infront-login-right .infront-login-benefits {
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
  }

  body.infront-login-page #main .infront-login-right .infront-login-benefits li {
    padding: 0.35rem 0;
    padding-left: 1.75rem;
  }

  body.infront-login-page #main .infront-login-right .infront-login-btn-register {
    min-height: 46px;
    width: 100%;
  }

  body.infront-login-page #main .infront-login-right::before {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ift-auth-brand) 0%, rgba(229, 106, 26, 0.15) 100%);
  }
}

body.infront-login-page #main .infront-login-new-title,
body.infront-register-page #main .infront-register-right .infront-login-new-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.03em;
  color: var(--ift-auth-ink);
}

body.infront-login-page #main .infront-login-new-lead,
body.infront-register-page #main .infront-register-right .infront-login-new-lead {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ift-auth-muted);
  margin: 0 0 1.5rem 0;
}

body.infront-login-page #main .infront-login-benefits,
body.infront-register-page #main .infront-register-right .infront-login-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  font-size: 0.9375rem;
  color: #334155;
}
body.infront-login-page #main .infront-login-benefits li,
body.infront-register-page #main .infront-register-right .infront-login-benefits li {
  padding: 0.55rem 0;
  padding-left: 2rem;
  position: relative;
  line-height: 1.45;
}
body.infront-login-page #main .infront-login-benefits li::before,
body.infront-register-page #main .infront-register-right .infront-login-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--ift-auth-brand-dark);
  background: var(--ift-auth-brand-soft);
  border-radius: 50%;
}

body.infront-login-page #main .infront-login-right .infront-login-btn-register,
body.infront-register-page #main .infront-register-right .infront-login-btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ift-auth-ink);
  background: #fff;
  border: 2px solid var(--ift-auth-ink);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}
body.infront-login-page #main .infront-login-right .infront-login-btn-register:hover,
body.infront-register-page #main .infront-register-right .infront-login-btn-register:hover {
  background: var(--ift-auth-ink);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
}

/* ========== REGISTRATION PAGE ========== */

body.infront-register-page #main {
  position: relative;
  min-height: auto;
  padding: 0;
  margin: 0;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body.infront-register-page #main .infront-register-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  min-height: 34rem;
  background: var(--ift-auth-surface);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: visible;
  align-items: stretch;
  border: 1px solid var(--ift-auth-border);
}

@media (max-width: 767px) {
  body.infront-register-page #main .infront-register-layout {
    grid-template-columns: 1fr;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
  }
}

/* Left column - Form */
body.infront-register-page #main .infront-register-left {
  padding: 3rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767px) {
  body.infront-register-page #main .infront-register-left {
    padding: 2rem 1.35rem 2.25rem !important;
  }
}

/* Right column – Already a customer? */
body.infront-register-page #main .infront-register-right {
  padding: 3rem 2.75rem;
  background:
    linear-gradient(165deg, rgba(248, 250, 252, 0.89) 0%, rgba(248, 250, 252, 0.85) 48%, rgba(248, 250, 252, 0.81) 100%),
    url('/img/infront-estate-aerial-hero.jpg') center 42% / cover no-repeat,
    #f8fafc;
  border-left: 1px solid var(--ift-auth-border);
  color: var(--ift-auth-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

body.infront-register-page #main .infront-register-right > * {
  position: relative;
  z-index: 1;
}

/* Two-column register: background scrolls; copy + button stay centred in viewport */
@media (min-width: 768px) {
  body.infront-register-page #main .infront-register-right {
    display: block;
    justify-content: unset;
    align-self: stretch;
    position: relative;
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: hidden;
  }

  body.infront-register-page #main .infront-register-right-inner {
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
    z-index: 3;
  }
}

body.infront-register-page #main .infront-register-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  z-index: 2;
  background: linear-gradient(180deg, var(--ift-auth-brand) 0%, rgba(229, 106, 26, 0.15) 100%);
}

/* iPad / tablet: edge-to-edge card (match phone full-bleed) */
@media (min-width: 768px) and (max-width: 1024px) {
  body.infront-register-page #inner-wrapper.container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  body.infront-register-page .infront-focused-content,
  body.infront-register-page .infront-auth-content {
    padding: 0 0 0.5rem;
  }

  body.infront-register-page #main .infront-register-layout {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
  }

  body.infront-register-page #main .infront-register-left {
    padding: 1.5rem 1.25rem 2rem;
  }

  body.infront-register-page #main .infront-register-right {
    padding: 1.5rem 1.25rem;
  }

  body.infront-register-page .infront-auth-chrome__header--in-card {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 767px) {
  body.infront-register-page #main .infront-register-right {
    display: none !important;
  }

  body.infront-register-page #main .infront-register-signin-banner {
    grid-column: 1 / -1;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    padding: 0.85rem 1rem;
    background: linear-gradient(90deg, rgba(229, 106, 26, 0.16) 0%, rgba(229, 106, 26, 0.05) 100%);
    border-bottom: 1px solid rgba(229, 106, 26, 0.22);
  }

  body.infront-register-page #main .register-form .form-group.row:not(:has(input[name="id_gender"])) {
    display: block;
  }

  body.infront-register-page #main .register-form .form-group.row:not(:has(input[name="id_gender"])) > .col-form-label,
  body.infront-register-page #main .register-form .form-group.row:not(:has(input[name="id_gender"])) > .col-md-8 {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
  }

  body.infront-register-page #main .register-form .form-group.row:not(:has(input[name="id_gender"])) > .col-form-label {
    padding-bottom: 0.3rem !important;
    font-size: 0.8125rem;
    min-height: auto;
  }

  body.infront-register-page #main .register-form .form-group:has(input[name="id_gender"]) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  body.infront-register-page #main .infront-register-left {
    padding: 1rem 1rem 1.25rem !important;
  }

  body.infront-register-page #main .infront-register-left .page-title,
  body.infront-register-page #main .infront-register-left .page-header .page-title {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
  }

  body.infront-register-page #main .infront-register-subtitle {
    font-size: 0.875rem;
    margin-bottom: 0.85rem;
    line-height: 1.45;
    max-width: none;
  }

  body.infront-register-page #main .infront-register-layout {
    min-height: auto;
    overflow: hidden !important;
  }

  body.infront-register-page #main .infront-register-left {
    overflow: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.infront-register-page #main .register-form {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body.infront-register-page #main .register-form .form-group {
    margin-bottom: 0.65rem;
  }

  body.infront-register-page #main .register-form .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.infront-register-page #main .register-form .form-group.row > .col-md-2.form-control-comment,
  body.infront-register-page #main .register-form .form-control-comment {
    display: none !important;
  }

  body.infront-register-page #main .register-form .form-control {
    width: 100% !important;
    max-width: 100% !important;
    height: 42px;
    font-size: 16px;
    padding: 0 0.75rem;
    box-sizing: border-box !important;
  }

  body.infront-register-page #main .register-form .form-group:has(input[name="id_gender"]) .col-form-label {
    flex: 0 0 34%;
    max-width: 34%;
    min-height: auto;
    padding-right: 0.5rem;
  }

  body.infront-register-page #main .register-form .form-group:has(input[name="id_gender"]) .form-control-valign {
    flex: 0 0 66%;
    max-width: 66%;
    min-height: auto;
    padding: 0 !important;
    gap: 0.5rem 0.75rem;
  }

  body.infront-register-page #main .register-form .custom-checkbox {
    margin-top: 0.35rem;
    padding-top: 0;
  }

  body.infront-register-page #main .register-form .custom-checkbox label {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  body.infront-register-page #main .register-form .form-control-submit,
  body.infront-register-page #main .register-form button[type="submit"] {
    height: 44px;
    margin-top: 0.5rem;
  }

  body.infront-register-page #main .infront-register-or-wrap {
    display: none !important;
  }
}

/* Kill theme page-title bar/underline inside register card */
body.infront-register-page #main .page-header {
  margin: 0;
  padding: 0;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

body.infront-register-page #main .page-title::before,
body.infront-register-page #main .page-title::after,
body.infront-register-page #main .page-header::before,
body.infront-register-page #main .page-header::after {
  display: none !important;
  content: none !important;
}

/* Page title */
body.infront-register-page #main .infront-register-left .page-title,
body.infront-register-page #main .infront-register-left .page-header .page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ift-auth-ink);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.infront-register-page #main .infront-register-subtitle {
  font-size: 0.9375rem;
  color: var(--ift-auth-muted);
  margin: 0 0 2rem 0;
  line-height: 1.6;
  max-width: 26rem;
}

/* Sign-in banner — styled in mobile block; hidden on desktop (right panel used) */
@media (min-width: 768px) {
  body.infront-register-page #main .infront-register-signin-banner {
    display: none !important;
  }
}

body.infront-register-page #main .infront-register-signin-banner__text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ift-auth-ink);
}

body.infront-register-page #main .infront-register-signin-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: var(--ift-auth-brand);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(229, 106, 26, 0.35);
}

body.infront-register-page #main .infront-register-signin-banner__btn:hover {
  background: var(--ift-auth-brand-dark);
  color: #fff;
  text-decoration: none;
}

/* Form styling */
body.infront-register-page #main .register-form {
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

body.infront-register-page #main .register-form > p {
  display: none !important;
}

/* Form groups */
body.infront-register-page #main .register-form .form-group {
  margin-bottom: 1.25rem;
}

body.infront-register-page #main .register-form .form-group.row > .col-form-label {
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  min-height: 46px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2c3e50;
  letter-spacing: 0.01em;
}

body.infront-register-page #main .register-form .form-group label .label-optional {
  font-weight: 400;
  color: #95a5a6;
  font-size: 0.8125rem;
  margin-left: 0.375rem;
}

body.infront-register-page #main .register-form .form-control {
  width: 100%;
  height: 46px;
  padding: 0 1rem;
  font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #2c3e50;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

body.infront-register-page #main .register-form .form-control:hover {
  border-color: #cbd5e0;
}

body.infront-register-page #main .register-form .form-control:focus {
  outline: none;
  border-color: #007bff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
  transform: scale(1.01);
}

body.infront-register-page #main .register-form .form-control::placeholder {
  color: #a0aec0;
}

body.infront-register-page #main .register-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23007bff' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  padding-right: 3rem;
  cursor: pointer;
}

body.infront-register-page #main .register-form select.form-control:hover {
  border-color: #007bff;
}

/* Title / gender radios – keep bootstrap row, align options on one line */
body.infront-register-page #main .register-form .form-group:has(input[name="id_gender"]) {
  margin-bottom: 1.25rem;
}

body.infront-register-page #main .register-form .form-group:has(input[name="id_gender"]) .form-control-valign {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 1.125rem;
  min-height: 46px;
  padding-top: 0;
  padding-bottom: 0;
}

body.infront-register-page #main .register-form .radio-inline,
body.infront-register-page #main .register-form label.radio-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0 !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  color: #4a5568 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body.infront-register-page #main .register-form .radio-inline .custom-radio {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0 !important;
  line-height: 1;
  vertical-align: middle;
}

body.infront-register-page #main .register-form .radio-inline:hover,
body.infront-register-page #main .register-form label.radio-inline:hover {
  color: #2c3e50 !important;
  background: transparent !important;
}

body.infront-register-page #main .register-form .radio-inline input[type="radio"],
body.infront-register-page #main .register-form input[type="radio"] {
  margin: 0 !important;
  width: 16px !important;
  height: 16px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  vertical-align: middle;
}

body.infront-register-page #main .register-form input[type="radio"]:checked + label,
body.infront-register-page #main .register-form .radio-inline:has(input[type="radio"]:checked),
body.infront-register-page #main .register-form label.radio-inline:has(input[type="radio"]:checked) {
  background: transparent !important;
  color: #2c3e50 !important;
  font-weight: 500 !important;
}

@media (max-width: 767px) {
  body.infront-register-page #main .register-form .form-group:has(input[name="id_gender"]) .col-form-label {
    min-height: auto;
    margin-bottom: 0.5rem;
  }

  body.infront-register-page #main .register-form .form-group:has(input[name="id_gender"]) .form-control-valign {
    min-height: auto;
    gap: 0.5rem 0.875rem;
  }
}

/* Checkboxes */
body.infront-register-page #main .register-form .custom-checkbox {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  color: #4a5568;
  padding: 0;
  background: none;
  border-radius: 0;
  margin: 1.5rem 0;
}

body.infront-register-page #main .register-form .custom-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 0.75rem;
  cursor: pointer;
}

body.infront-register-page #main .register-form .custom-checkbox label {
  cursor: pointer;
  margin: 0;
  font-weight: 400;
}

/* Help text */
body.infront-register-page #main .register-form .form-control-comment {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.8125rem;
  color: #718096;
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Submit button - clean and subtle */
body.infront-register-page #main .register-form .form-control-submit,
body.infront-register-page #main .register-form button[type="submit"] {
  width: 100%;
  height: 46px;
  padding: 0 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  background: #2c3e50;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body.infront-register-page #main .register-form .form-control-submit:hover,
body.infront-register-page #main .register-form button[type="submit"]:hover {
  background: #1a252f;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

body.infront-register-page #main .infront-register-or-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1.25rem 0;
  padding: 0;
}

body.infront-register-page #main .infront-register-or-wrap::before,
body.infront-register-page #main .infront-register-or-wrap::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ift-auth-border);
}

body.infront-register-page #main .infront-register-or-wrap span {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Social login on registration page */
body.infront-register-page #main .infront-register-left .ets_solo_social_wrapper,
body.infront-register-page #main .infront-register-left [class*="sociallogin"] {
  max-width: none;
  margin: 0;
  padding: 0;
}

body.infront-register-page #main .infront-register-left .ets_solo_or,
body.infront-register-page #main .infront-register-left .ets_solo_social_desc,
body.infront-register-page #main .infront-register-left .ets_solo_social_title,
body.infront-register-page #main .infront-register-left .ets_solo_social_wrapper h3,
body.infront-register-page #main .infront-register-left .ets_solo_social_wrapper .ets_solo_social_title {
  display: none !important;
}

body.infront-register-page #main .infront-register-left .ets_solo_social_networks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 480px) {
  body.infront-register-page #main .infront-register-left .ets_solo_social_networks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.infront-register-page #main .infront-register-left .ets_solo_social_networks .btn-iqitsociallogin,
body.infront-register-page #main .infront-register-left [class*="sociallogin"] .btn-iqitsociallogin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid #d4d4d4;
  background: #fff;
  color: #333;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

body.infront-register-page #main .btn-facebook {
  background: #1877f2 !important;
  border-color: #1877f2 !important;
  color: #fff !important;
}

body.infront-register-page #main .btn-google {
  background: #fff !important;
  color: #333 !important;
}

body.infront-register-page #main .btn-twitter {
  background: #1da1f2 !important;
  border-color: #1da1f2 !important;
  color: #fff !important;
}

/* ========== ADDRESS PAGES (List & Add/Edit) ========== */

/* Address list page */
body[id*="address"] #main .address-form .form-control,
body[id*="address"] #main .address-form select.form-control,
body[id*="address"] #main .address-form input.form-control,
body[id*="address"] #main .address-form textarea.form-control {
  height: 46px;
  padding: 0 1rem;
  font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #2c3e50;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

body[id*="address"] #main .address-form textarea.form-control {
  height: auto;
  min-height: 100px;
  padding: 0.75rem 1rem;
}

body[id*="address"] #main .address-form .form-control:hover {
  border-color: #cbd5e0;
}

body[id*="address"] #main .address-form .form-control:focus {
  outline: none;
  border-color: #007bff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
  transform: scale(1.01);
}

body[id*="address"] #main .address-form .form-group {
  margin-bottom: 1.25rem;
}

body[id*="address"] #main .address-form label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.625rem;
  display: block;
}

body[id*="address"] #main .address-form .form-control-submit,
body[id*="address"] #main .address-form button[type="submit"] {
  height: 46px;
  padding: 0 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  background: #2c3e50;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body[id*="address"] #main .address-form .form-control-submit:hover,
body[id*="address"] #main .address-form button[type="submit"]:hover {
  background: #1a252f;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Address cards on list page */
body[id*="addresses"] #main .address {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body[id*="addresses"] #main .address:hover {
  border-color: #cbd5e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

body[id*="addresses"] #main .address .address-body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9375rem;
  color: #4a5568;
  line-height: 1.6;
}

body[id*="addresses"] #main .address .address-footer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

body[id*="addresses"] #main .address .address-footer a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2c3e50;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.2s ease;
}

body[id*="addresses"] #main .address .address-footer a:hover {
  background: #f7fafc;
  border-color: #cbd5e0;
}

body[id*="addresses"] #main .address .address-footer a[data-link-action="delete-address"] {
  color: #dc3545;
}

body[id*="addresses"] #main .address .address-footer a[data-link-action="delete-address"]:hover {
  background: #fff5f5;
  border-color: #fc8181;
}

/* Create new address button */
body[id*="addresses"] #main .addresses-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  height: 46px;
  padding: 0 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  background: #2c3e50;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body[id*="addresses"] #main .addresses-footer a:hover {
  background: #1a252f;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Right column - Benefits section */
body.infront-register-page #main .infront-register-benefits-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.625rem;
  font-weight: 600;
  margin: 0 0 0.875rem 0;
  letter-spacing: -0.025em;
  color: #1a1a1a;
}

body.infront-register-page #main .infront-register-benefits-lead {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #666;
  margin: 0 0 1.75rem 0;
}

body.infront-register-page #main .infront-register-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.9375rem;
  color: #333;
}

body.infront-register-page #main .infront-register-benefits-list li {
  padding: 0.75rem 0;
  padding-left: 2.25rem;
  position: relative;
  line-height: 1.6;
}

body.infront-register-page #main .infront-register-benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 1.125rem;
  color: #007bff;
  background: #e7f3ff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
