body.signup-body {
    margin: 0;
    background: #fff;
    color: #1b2329;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.signup-shell {
    display: flex;
    min-height: 100vh;
}

.signup-progress {
    margin-bottom: 24px;
}

.signup-progress__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: #617093;
}

.signup-progress__count {
    font-size: 0.75rem;
    color: #0f3e73;
    letter-spacing: 0.04em;
}

.signup-progress__bar {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: #e6ebf2;
    overflow: hidden;
}

.signup-progress__bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f3e73, #84c522);
    transition: width 0.3s ease;
}

.signup-shell__form {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    box-shadow: 8px 0 40px rgba(15, 62, 115, 0.08);
}

.signup-brand {
    margin-bottom: 20px;
}

.signup-brand__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.signup-card {
    background: #fff;
    border: none;
    padding: 4rem 0;
    box-shadow: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 45%;
    margin: auto;
}

.signup-title {
    font-size: 2.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f3e73;
}

.signup-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
    color: #484e5d;
}

.signup-body p {
    color: #484e5d;
}

.signup-subtitle strong {
    color: #2d9b41;
    font-weight: 700;
}

.signup-shell__form form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-label {
    font-weight: 600;
    color: #0f3e73;
}

.form-control-lg {
    border-radius: 5px;
    border: 1px solid #c7d6ea;
    font-size: 1rem;
}

.form-control-lg:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(132, 197, 34, 0.2);
    border-color: #84c522;
}

/* Input with clear button */
.signup-input-with-clear {
    position: relative;
}

.signup-input-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    color: #7a869a;
    cursor: pointer;
    padding: 2px 4px;
    display: none;
}

.signup-input-clear:focus { outline: none; }

.signup-body .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: calc(1.5em + 1rem + 2px);
    padding: 0 10px !important;
}

.signup-body .form-group {
    margin-bottom: 15px;
}

.signup-body .form-control.is-invalid, .signup-body .was-validated .form-control:invalid {
    background-image: none !important
}

.signup-body aside.--business-details.signup-shell__media {
    background-size: contain !important;
}

.signup-body .select2-selection__clear {
    order: 2;
    margin-left: auto;
    font-size: 20px;
    padding: 0px 4px;
    color: #7a869a;
    line-height: normal !important;
    font-weight: normal !important;
    cursor: pointer;
    margin-top: 1px;
}

.signup-body .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #7a869a;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
}

.password-toggle .fa-eye {
    display: none;
}

.password-toggle.active .fa-eye-slash {
    display: none;
}

.password-toggle.active .fa-eye {
    display: inline-block;
}

.validation-message {
    display: flex;
    align-items: center;
    margin-top: 5px;
    font-size: 0.875rem;
    color: #6e7787;
    margin-bottom: 0;
}

.validation-message.is-valid {
    color: #1f9050;
}

.validation-message.is-invalid {
    color: #d93f3f;
}

.validation-message.is-neutral {
    color: #6e7787;
}

.validation-message.is-hidden {
    display: none;
}

.validation-message.is-neutral::before {
    display: none;
}

.password-strength {
    display: flex;
    align-items: center;
    margin-top: 12px;
}

.password-strength__bar {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #d9dce2;
    position: relative;
    overflow: hidden;
}

.password-strength__bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 33%;
    background: #d93f3f;
    transition: width 0.2s ease, background 0.2s ease;
}

.password-strength[data-strength="weak"] .password-strength__bar::after {
    width: 33%;
    background: #d93f3f;
}

.password-strength[data-strength="medium"] .password-strength__bar::after {
    width: 66%;
    background: #f0ad4e;
}

.password-strength[data-strength="strong"] .password-strength__bar::after {
    width: 100%;
    background: #2d9b41;
}

.password-strength[data-strength="empty"] .password-strength__bar::after {
    width: 0;
    background: transparent;
}

.password-strength[data-strength="empty"] .password-strength__label {
    color: #414141;
    font-weight: 600;
}

.password-strength[data-strength="empty"] {
    opacity: 0.80;
}

.password-strength__label {
    margin-left: 12px;
    font-size: 0.85rem;
    color: #6e7787;
    min-width: 80px;
    text-transform: capitalize;
}

.marketing-opt-in {
    margin-top: 24px;
    line-height: 1.5;
}

.marketing-opt-in .form-check-label {
    font-size: 0.875rem;
    color: #484e5d;
}

.marketing-opt-in a {
    color: #0a9323;
    text-decoration: underline;
}

.lp-links {
    font-size: 1rem;
    color: #0a9323;
}

.lp-links:hover,
.lp-links:focus {
    color: #0a9323;
    text-decoration: underline;
}

.signup-note {
    margin-top: 15px;
    font-weight: 600;
    color: #2d9b41;
}

.signup-status {
    margin-bottom: 16px;
    font-weight: 600;
    color: #2d9b41;
}

.form-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: row-reverse;
}

.align-bottom-mb {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
}

.signup-submit,
.signup-submit:disabled {
    width: 100%;
    font-weight: 600;
    border-radius: 5px;
    background: #2d9b41 !important;
    border-color: #2d9b41 !important;
}

.form-cta .signup-submit {
    width: 100%;
    flex: 1;
}

.signup-submit:hover,
.signup-submit:focus {
    background: #1f6b2d;
    border-color: #1f6b2d;
}

.btn-back {
    width: 80px;
    font-weight: 500;
    border-radius: 5px;
    background: #f4f8f5;
    border-color: #2d9b41;
    color: #2d9b41;
    white-space: nowrap;
}

.btn-back:hover,
.btn-back:focus {
    background: #f4f8f6;
    border-color: #1b7a2c;
    color: #1b7a2c;
}

.tos-disclaimer {
    margin-top: 16px;
    font-size: 0.8125rem;
    color: #617093;
}

.tos-disclaimer a {
    color: #0f3e73;
}

.client-portal-alert {
    margin-top: 12px;
}

.lp-custom-loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lp-custom-loader.is-active { display: flex; }

.lp-loader {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(15,62,115,0.15);
    border-top-color: #2d9b41;
    border-radius: 50%;
    animation: lp-spin 0.9s linear infinite;
}

@keyframes lp-spin {
    to { transform: rotate(360deg); }
}

.signup-shell__media {
  flex: 1;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

.signup-media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translateZ(0);
}

.signup-shell__media.--business-details .signup-media__img {
    object-fit: contain;
}

.signup-media__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(15, 29, 45, 0.25), rgba(15, 29, 45, 0.05));
}

@media (max-width: 1440px) {
    .signup-card {
        width: 58% !important;
    }
    .signup-title {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .signup-card {
        width: 72% !important;
    }
}

@media (max-width: 992px) {
    .signup-shell {
        flex-direction: column;
    }

    .signup-shell__form {
        max-width: 100%;
        padding: 10px 20px 0 20px;
        width: 100%;
        min-height: auto;
        box-shadow: none;
    }

    .signup-card {
        width: 100% !important;
        padding: 20px 0;
    }

    .signup-shell__media {
       display: none;
    }

    .form-control-lg {
        font-size: 0.9rem;
    }

    .goals-option:not(.goals-option--other) {
        padding: 10px !important;
    }

    .goals-items {
        margin-top: 1.5rem;
    }

    .goals-item {
        font-size: 14px;
        line-height: 1.5;
        padding: 10px 25px 10px 14px;
    }

    .form-cta {
        margin-bottom: 1rem;
        margin-top: auto;
    }

    .signup-submit {
        width: 100%;
    }

    .align-bottom-mb {
        margin-bottom: 1rem !important;
        margin-top: auto !important;
        padding-top: 1rem;
    }
}

@media (max-width: 576px) {
    .signup-brand {
        margin-bottom: 15px;
    }

    .signup-brand__link img {
        width: auto;
        height: 70px;
    }
    
    .signup-progress {
        margin-bottom: 15px;
    }

    .signup-subtitle {
        margin-bottom: 15px;
    }
    
    .signup-card {
        padding: 10px 0 0 0;
    }

    .signup-title {
        font-size: 1.5rem;
    }

    .signup-subtitle {
        font-size: 0.9rem;
    }

    .signup-shell__form {
        padding: 10px 16px;
    }

    .form-cta > .signup-submit:only-child,
    .form-cta > .signup-submit:only-child:disabled {
        width: 100%;
    }
    
    .signup--business-reference .ref-chips {
        gap: 0px !important;
    }

    .signup--business-reference .btn.reference-choice {
        min-height: unset;
        line-height: 1.3;
    }

}

/* Step 3: lightweight extra dropdown for manual entry suggestion */
.signup-places {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    margin-top: 2px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 3px;
    padding: 2px;
    display: none;
}

.signup-places[aria-expanded="true"] { display: block; }

.signup-places__scroll {
    max-height: 280px;
    overflow: auto;
}

.signup-places__item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 6px 12px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #f0f2f6;
    cursor: pointer;
}

.signup-places__item:hover,
.signup-places__item[aria-selected="true"] {
    background: #f8f9fa;
}

.signup-places__title {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    display: block;
}

.signup-places__desc {
    font-size:12px;
    color: #617093;
}

.signup-places__manual {
    width: 100%;
    text-align: left;
    padding: 6px 12px;
    background: #fff;
    border: 0;
    color: #198754;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.signup-places__manual:hover { background: #f8f9fa; }

.signup-places__attribution {
    display: none;
}

.signup--business-reference .ref-chips {
    display: flex;
    gap: 5px;
}

.business-revenue .btn.revenue-choice,
.business-context .btn.context-choice,
.signup--business-reference .btn.reference-choice {
    background-color: #fff;
    color: #6c757d;
    border-color: #6c757d;
    border-radius: 5px !important;
}

.business-revenue .btn.revenue-choice:focus,
.business-context .btn.context-choice:focus,
.signup--business-reference .btn.reference-choice:focus {
    box-shadow: none;
    outline: none;
}

.business-revenue .btn.revenue-choice.is_active,
.business-context .btn.context-choice.is_active,
.signup--business-reference .btn.reference-choice.is_active {
    background-color: #198754;
    color: #fff;
    border-color: #198754;
}

/* Business Goals step */
.goals__options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.goals-option:not(.goals-option--other) {
    border: 1px solid #c7d6ea;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.goals-option:hover { box-shadow: 0 2px 8px rgba(15,62,115,0.12); }
.goals-option.is-selected { border-color: #2d9b41; }
.goals-option__title { font-weight: 600; color: #0f3e73; }

.goals__expanded__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.goals-back {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #c7d6ea;
    background: #fff;
    color: #0f3e73;
}

.goals-selected-title { font-weight: 700; color: #0f3e73; }

.goals-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.goals-item {
    position: relative;
    border: 1px solid #c7d6ea;
    border-radius: 8px;
    padding: 14px 40px 14px 14px;
    cursor: pointer;
    color: #1b2329;
}
.goals-item.is-selected { border-color: #2d9b41; }
.goals-item__check {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #2d9b41;
    display: none;
}
.goals-item.is-selected .goals-item__check { display: inline-block; }

#goalsOther.is-filled, #goalsOther:focus, #goalsOtherOption.is-filled, #goalsOtherOption:focus {
    border-color: #2d9b41;
    box-shadow: 0 0 0 3px rgba(45, 155, 65, 0.18);
}

.signup-body .select2-container--default .select2-results__group {
    font-size: 14px;
}

.signup-body .select2-container--default .select2-results__option .select2-results__option {
    font-size: 16px;
}

.signup-body .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #198754 !important;
}

.signup-body .select2-container--default .select2-search--dropdown .select2-search__field:focus,
.signup-body .select2-container--default .select2-search--dropdown .select2-search__field:focus-visible {
    border: 1px solid #333;
    outline: none !important;
    outline-offset: unset !important;
}

.signup-body .btn.disabled, .signup-body .btn:disabled {
  opacity: 0.9 !important;
}
