/* =============================================================================
 *  Tropix customer auth — signup / login (matches landing-v2)
 * ========================================================================== */

.lp-auth-page {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--lp-bg, #f8fafc);
}

.lp-auth-page .lp-auth-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(255 255 255 / 88%);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgb(226 232 240 / 80%);
}

.lp-auth-page .lp-auth-header .navbar {
    padding: 0.875rem 0;
}

.lp-auth-page .lp-auth-header .navbar-brand img {
    height: 2rem;
}

.lp-auth-page .lp-auth-header__actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-left: auto;
}

/* -- Shell ----------------------------------------------------------------- */
.lp-auth {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: 0;
}

.lp-auth__hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: clamp(2rem, 5vw, 3.5rem);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #042a3a 0%, #063d55 45%, #0a7aa8 100%);
}

.lp-auth__hero::before {
    content: "";
    position: absolute;
    top: -15%;
    right: -10%;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: rgb(79 189 229 / 18%);
}

.lp-auth__hero-inner {
    position: relative;
    max-width: 26rem;
}

.lp-auth__hero-tag {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7dd8f0;
}

.lp-auth__hero-title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.lp-auth__hero-text {
    margin: 0 0 2rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgb(255 255 255 / 78%);
}

.lp-auth__hero-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.lp-auth__hero-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
}

.lp-auth__hero-list svg {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    stroke: #7dd8f0;
}

/* -- Form panel ------------------------------------------------------------ */
.lp-auth__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    overflow-y: auto;
}

.lp-auth__card {
    width: min(100%, 32rem);
}

.lp-auth__card--wide {
    width: min(100%, 36rem);
}

.lp-auth__card-head {
    margin-bottom: 1.75rem;
}

.lp-auth__card-title {
    margin: 0 0 0.375rem;
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--lp-text, #0f172a);
}

.lp-auth__card-sub {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--lp-muted, #64748b);
}

/* Stepper */
.lp-stepper {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.lp-stepper__item {
    flex: 1;
    text-align: center;
}

.lp-stepper__bar {
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    margin-bottom: 0.5rem;
    transition: background 0.3s;
}

.lp-stepper__item.is-active .lp-stepper__bar,
.lp-stepper__item.is-done .lp-stepper__bar {
    background: linear-gradient(90deg, #4fbde5, #38a8d1);
}

.lp-stepper__item.is-done .lp-stepper__label {
    color: #0a7aa8;
}

.lp-stepper__label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #94a3b8;
}

@media (min-width: 480px) {
    .lp-stepper__label {
        font-size: 0.6875rem;
        letter-spacing: 0.04em;
    }
}

.lp-stepper__item.is-active .lp-stepper__label {
    color: #063d55;
}

/* Form boxes */
.lp-auth-page #send-otp > .login_box {
    display: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border: none;
}

.lp-auth-page #send-otp > .login_box.is-step-active {
    display: block;
}

.lp-auth-page .login_box_30 {
    max-height: none;
    overflow: visible;
}

.lp-auth-page .form-label {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 0.375rem !important;
}

.lp-auth-page .form-control,
.lp-auth-page .form-select,
.lp-auth-page textarea.form-control {
    min-height: 2.75rem;
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
    padding-right: 0.875rem !important;
    padding-left: 0.875rem !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 0.875rem !important;
    background: #fff !important;
    color: #0f172a !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lp-auth-page .form-control:focus,
.lp-auth-page .form-select:focus,
.lp-auth-page textarea.form-control:focus {
    border-color: #4fbde5 !important;
    box-shadow: 0 0 0 3px rgb(79 189 229 / 18%) !important;
}

.lp-auth-page .input-group .input-group-text {
    border: 1.5px solid #e2e8f0 !important;
    border-left: none !important;
    border-radius: 0 10px 10px 0 !important;
    background: #f8fafc !important;
}

.lp-auth-page .input-group .form-control {
    border-right: none !important;
    border-radius: 10px 0 0 10px !important;
}

.lp-auth-page .input-group .form-control:only-child {
    border-right: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
}

.lp-auth-page .mb_24 {
    margin-bottom: 1.125rem !important;
}

.lp-auth-page .mb_20 {
    margin-bottom: 1rem !important;
}

/* Account type tabs */
.lp-auth-page .account_tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.25rem;
    background: #f1f5f9;
    border-radius: 999px;
}

.lp-auth-page .account_tabs .nav-item {
    flex: 1;
}

.lp-auth-page .account_tabs .nav-link {
    width: 100%;
    padding: 0.625rem 1rem !important;
    border-radius: 999px !important;
    border: none !important;
    background: transparent !important;
    color: #64748b !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    text-align: center;
}

.lp-auth-page .account_tabs .nav-link.active {
    background: #fff !important;
    color: #063d55 !important;
    box-shadow: 0 2px 8px rgb(15 23 42 / 8%);
}

.lp-auth-page .account_tabs a {
    text-decoration: none;
}

.lp-auth-page h6.black_15 {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 0.75rem !important;
}

/* Buttons */
.lp-auth-page .primary_btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.6875rem 1.25rem !important;
    border: none !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #4fbde5, #38a8d1) !important;
    color: #fff !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgb(79 189 229 / 30%);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.lp-auth-page .primary_btn:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgb(79 189 229 / 38%);
}

.lp-auth-page .lp-auth-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
}

.lp-auth-page .lp-auth-back:hover {
    color: #063d55;
}

.lp-auth-page .lp-auth-actions {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.5rem;
}

.lp-auth-page .form-check-input {
    border-color: #cbd5e1;
}

.lp-auth-page .form-check-input:checked {
    background-color: #4fbde5;
    border-color: #4fbde5;
}

.lp-auth-page .form-check-label a {
    color: #0a7aa8;
    font-weight: 600;
    text-decoration: none;
}

.lp-auth-page .form-check-label a:hover {
    text-decoration: underline;
}

.lp-auth-page .parsley-errors-list {
    margin: 0.375rem 0 0 !important;
    font-size: 0.75rem !important;
}

.lp-auth-page .unique_error {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
}

/* intl-tel-input — do not override plugin padding-left */
.lp-auth-page .lp-phone-field .intl-tel-input {
    display: block;
    width: 100%;
}

.lp-auth-page .lp-phone-field .intl-tel-input input,
.lp-auth-page .lp-phone-field .intl-tel-input input.form-control {
    width: 100% !important;
    min-height: 2.75rem;
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
    padding-right: 0.875rem !important;
    padding-left: 6.5rem !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 0.875rem !important;
    background: #fff !important;
}

.lp-auth-page .lp-phone-field .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input {
    padding-left: 5.25rem !important;
}

.lp-auth-page .lp-phone-field .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input {
    padding-left: 5.5rem !important;
}

.lp-auth-page .lp-phone-field .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input {
    padding-left: 5.85rem !important;
}

.lp-auth-page .lp-phone-field .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input {
    padding-left: 6.35rem !important;
}

.lp-auth-page .lp-phone-field .intl-tel-input .flag-container {
    top: 1px;
    bottom: 1px;
    left: 1px;
}

.lp-auth-page .lp-phone-field .intl-tel-input.separate-dial-code.allow-dropdown .selected-flag {
    width: auto !important;
    min-width: 5.25rem;
}

.lp-auth-page .lp-phone-field .intl-tel-input .selected-flag {
    display: flex !important;
    align-items: center;
    gap: 0.375rem;
    height: 100%;
    padding: 0 0.625rem 0 0.5rem;
    background: #f8fafc !important;
    border-right: 1px solid #e2e8f0;
    border-radius: 9px 0 0 9px;
}

.lp-auth-page .lp-phone-field .intl-tel-input .selected-flag .iti-flag {
    position: static;
    margin: 0;
    flex-shrink: 0;
    transform: scale(1.05);
}

.lp-auth-page .lp-phone-field .intl-tel-input .selected-dial-code {
    display: block !important;
    padding: 0 !important;
    font-size: 0.875rem;
    font-weight: 600;
    color: #063d55;
    line-height: 1;
    white-space: nowrap;
}

.lp-auth-page .lp-phone-field .intl-tel-input .selected-flag .iti-arrow {
    position: static;
    margin: 0;
    flex-shrink: 0;
    border-top-color: #64748b;
}

.lp-auth-page .lp-phone-field .intl-tel-input.allow-dropdown .flag-container:hover .selected-flag {
    background: #e8f7fc !important;
}

.lp-auth-page .lp-phone-field .intl-tel-input input:focus {
    border-color: #4fbde5 !important;
    box-shadow: 0 0 0 3px rgb(79 189 229 / 18%) !important;
}

.lp-auth-page .lp-phone-field .intl-tel-input .country-list {
    z-index: 120;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 32px rgb(15 23 42 / 12%);
    margin-top: 4px;
    max-height: 240px;
}

.lp-auth-page .lp-file-upload {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-wrap: wrap;
}

.lp-auth-page .lp-file-upload .upload {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.lp-auth-page .lp-file-upload .fileUpload {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 12px;
    border: 1.5px dashed #cbd5e1;
    background: #f8fafc;
    transition: border-color 0.2s, background 0.2s;
}

.lp-auth-page .lp-file-upload .fileUpload:hover {
    border-color: #4fbde5;
    background: #e8f7fc;
}

.lp-auth-page .lp-file-hint {
    font-size: 0.75rem;
    color: #94a3b8;
}

.lp-auth-page .lp-file-pdf {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #063d55;
}

/* Hide legacy title clutter inside steps */
.lp-auth-page .login_box > h5.font_30,
.lp-auth-page .login_box > .d-flex.align-items-baseline {
    display: none !important;
}

.lp-auth-forgot {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0a7aa8;
    text-decoration: none;
}

.lp-auth-forgot:hover {
    text-decoration: underline;
    color: #063d55;
}

/* Map pin picker (signup address step) */
.lp-auth-page .lp-map-picker {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.lp-auth-page .lp-map-picker__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.lp-auth-page .lp-map-picker__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}

.lp-auth-page .lp-map-picker__gps {
    flex-shrink: 0;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #063d55;
    background: #e8f7fc;
    border: 1px solid #b8e8f7;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.lp-auth-page .lp-map-picker__gps:hover {
    background: #d4f0fa;
    border-color: #4fbde5;
}

.lp-auth-page .lp-map-picker__canvas {
    width: 100%;
    height: 220px;
    min-height: 180px;
}

.lp-auth-page .lp-map-picker__hint {
    margin: 0;
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
    color: #94a3b8;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.lp-auth-page .lp-field-hint {
    margin-top: 0.375rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.lp-auth-page .lp-field-hint a {
    color: #0a7aa8;
    font-weight: 600;
    text-decoration: none;
}

.lp-auth-page .lp-field-hint a:hover {
    text-decoration: underline;
}

.lp-auth-page .lp-optional {
    font-weight: 400;
    color: #94a3b8;
}

/* OTP verification */
.lp-auth-page .lp-otp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.lp-auth-page .lp-otp__digit {
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0 !important;
    background: #fff !important;
    color: #063d55;
}

.lp-auth-page .lp-otp__digit:focus {
    border-color: #4fbde5 !important;
    box-shadow: 0 0 0 3px rgb(79 189 229 / 18%) !important;
}

/* Password reset success */
.lp-auth-success__icon {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: #e8f7fc;
    border: 1px solid rgb(79 189 229 / 30%);
    color: #0a7aa8;
}

.lp-auth-success__icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.lp-auth-success .lp-auth__card-title {
    margin-bottom: 0.5rem;
}

.lp-auth-success .lp-auth__card-sub {
    margin-bottom: 1.5rem;
}

@media (max-width: 991px) {
    .lp-auth {
        grid-template-columns: 1fr;
    }

    .lp-auth__hero {
        padding: 2rem 1.5rem;
    }

    .lp-auth__hero-list {
        display: none;
    }
}

@media (max-width: 480px) {
    .lp-auth-page .lp-otp {
        gap: 0.5rem;
    }

    .lp-auth-page .lp-otp__digit {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.125rem;
    }
}
