/**
 * Applications wizard — theme-safe UI.
 * Scoped under .lookbook-section so nexmart header/search stay intact.
 */

.lookbook-section.application-wizard,
.lookbook-section {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #1f2937;
    line-height: 1.5;
    text-align: center;
    padding: 28px 12px 64px;
    min-height: 55vh;
    background: linear-gradient(180deg, #f3f6f4 0%, #eef2f7 100%);
}

.lookbook-section .main-content-wrapper {
    max-width: 880px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 28px 28px 36px;
    box-shadow: 0 10px 32px rgba(5, 51, 97, 0.08);
    text-align: left;
    border: 1px solid rgba(7, 100, 60, 0.08);
}

.lookbook-section strong { font-weight: 600; }

.lookbook-section a,
.lookbook-section a:hover,
.lookbook-section a:focus {
    color: #07643c;
    text-decoration: none;
}

.lookbook-section .main-content-wrapper h1,
.lookbook-section h1 {
    margin: 8px 0 6px;
    font-size: 28px;
    font-weight: 700 !important;
    color: #111827 !important;
    line-height: 1.3;
    text-align: center;
}

.lookbook-section .main-content-wrapper h2,
.lookbook-section h2 {
    margin: 0 0 28px;
    font-size: 18px;
    font-weight: 500 !important;
    color: #374151 !important;
    line-height: 1.4;
    text-align: center;
}

.lookbook-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.lookbook-section img { max-width: 100%; }

.lookbook-section .app-wizard-steps {
    margin: 0 0 8px;
    padding: 0;
}

.lookbook-section .multi-steps {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 28px;
    padding: 0 4px;
    list-style: none;
    counter-reset: stepNum;
}

.lookbook-section .multi-steps > li {
    flex: 1 1 0;
    counter-increment: stepNum;
    text-align: center;
    display: block !important;
    position: relative;
    color: #07643c;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    padding: 0 6px;
    z-index: 1;
}

.lookbook-section .multi-steps > li:before {
    content: "\2713";
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    background-color: #027f00;
    width: 36px;
    height: 36px;
    font-weight: 700;
    border: 2px solid #027f00;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.lookbook-section .multi-steps > li.is-active:before,
.lookbook-section .multi-steps > li.is-active ~ li:before {
    content: counter(stepNum);
    font-family: inherit;
}

.lookbook-section .multi-steps > li.is-active:before {
    background-color: #fff;
    border-color: #027f00;
    color: #027f00;
    box-shadow: 0 0 0 4px rgba(2, 127, 0, 0.15);
    animation: none;
}

.lookbook-section .multi-steps > li {
    color: #027f00;
}

.lookbook-section .multi-steps > li.is-active ~ li {
    color: #9ca3af;
}

.lookbook-section .multi-steps > li.is-active ~ li:before {
    background-color: #e5e7eb;
    border-color: #e5e7eb;
    color: #6b7280;
}

.lookbook-section .multi-steps .progress-bar,
.lookbook-section .multi-steps .progress-bar--success {
    display: block !important;
    flex-direction: unset !important;
    justify-content: unset !important;
    overflow: hidden !important;
    color: transparent !important;
    background-color: #e1e1e1 !important;
    height: 4px !important;
    position: absolute !important;
    left: 50%;
    top: 17px;
    bottom: auto !important;
    width: 100%;
    z-index: -1;
    border-radius: 2px;
    padding: 0 !important;
}

.lookbook-section .multi-steps .progress-bar__bar {
    background-color: #d1d5db !important;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: transform 400ms ease-out;
}

.lookbook-section .form-bottom {
    padding: 8px 4px 12px;
    text-align: left;
}

/* Step visibility — class based (works with Next/Previous) */
.lookbook-section form.registration-form fieldset {
    display: none !important;
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.lookbook-section form.registration-form fieldset.step-active {
    display: block !important;
}

.lookbook-section form .form-bottom .input-error {
    border-color: #ef4444 !important;
}

.lookbook-section label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.lookbook-section label span {
    color: #dc2626;
    font-weight: 500;
    font-size: 12px;
}

.lookbook-section .input_field,
.lookbook-section .selection_field,
.lookbook-section .year_input_field,
.lookbook-section .month_input_field,
.lookbook-section .date_input_field,
.lookbook-section .address_input_field,
.lookbook-section .input_field_content .input_field,
.lookbook-section .employ_status_select .selection_field,
.lookbook-section .address_area_wrapper .address_input_field,
.lookbook-section textarea.form-control,
.lookbook-section textarea {
    height: 48px;
    margin: 0 0 14px;
    padding: 12px 15px !important;
    background: #fff !important;
    border: 1px solid rgb(168, 168, 168) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #212121 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box;
    text-align: left !important;
    -webkit-appearance: auto;
    appearance: auto;
    display: block !important;
}

.lookbook-section select.selection_field,
.lookbook-section select.ignore {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Theme nice-select must not replace wizard selects */
.lookbook-section .nice-select {
    display: none !important;
}

.lookbook-section input[type="file"].input_field {
    height: auto !important;
    padding: 10px 12px !important;
    line-height: normal !important;
}

.lookbook-section .row > [class*="col-"] {
    margin-bottom: 6px;
}

.lookbook-section .form-bottom .row {
    margin-left: -10px;
    margin-right: -10px;
}

.lookbook-section textarea,
.lookbook-section textarea.form-control {
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.45;
    height: auto;
    min-height: 100px;
}

.lookbook-section .input_field:focus,
.lookbook-section .selection_field:focus,
.lookbook-section textarea:focus {
    outline: 0;
    background: #fff;
    border-color: #07643c !important;
    box-shadow: 0 0 0 3px rgba(7, 100, 60, 0.12);
}

.lookbook-section .dateOfBirth_wrapper {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 14px;
}

.lookbook-section .dateOfBirth_wrapper > div {
    flex: 1;
    width: auto !important;
    margin-bottom: 0;
}

.lookbook-section .increment-form-wrapper {
    max-width: 520px;
    margin: 0 auto 24px;
}

.lookbook-section .box_content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.lookbook-section .decriment_button,
.lookbook-section .incriment_button {
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 42px;
    color: #07643c;
    background: #fff;
    border: 1.5px solid #07643c;
    border-radius: 10px;
    cursor: pointer;
}

.lookbook-section .decriment_button:hover,
.lookbook-section .incriment_button:hover {
    background: #07643c;
    color: #fff;
}

.lookbook-section .incr_decr_content {
    width: auto;
    padding: 0;
    display: flex;
}

.lookbook-section .incr_decr_content-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 180px;
    height: 56px;
    padding: 8px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    font-size: 22px;
    font-weight: 700;
}

.lookbook-section .incr_decr_content-label span { color: #07643c; }

.lookbook-section #loan_amount,
.lookbook-section .incr_decr_content .input,
.lookbook-section .incr_decr_content input[type="number"] {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    -moz-appearance: textfield;
}

.lookbook-section #loan_amount::-webkit-outer-spin-button,
.lookbook-section #loan_amount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.lookbook-section .value_container,
.lookbook-section .value_wrapper,
.lookbook-section .value_contianer {
    display: none !important;
}

.lookbook-section .slider_container {
    width: 100%;
    margin-top: 18px;
}

.lookbook-section .slider,
.lookbook-section input.slider[type="range"] {
    width: 100%;
    height: 8px;
    margin: 8px 0 4px;
    background: #9ca3af;
    border-radius: 999px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
}

.lookbook-section .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 22px;
    width: 22px;
    background: #07643c;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(7, 100, 60, 0.35);
    cursor: pointer;
}

.lookbook-section .slider::-moz-range-thumb {
    height: 22px;
    width: 22px;
    background: #07643c;
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer;
}

.lookbook-section .price-range-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.lookbook-section button.btn,
.lookbook-section .btn-next,
.lookbook-section .btn-previous {
    height: 48px;
    margin: 0;
    padding: 0 18px;
    background: #07643c;
    border: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 48px;
    color: #fff !important;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(7, 100, 60, 0.2);
    cursor: pointer;
}

.lookbook-section #previousStepButton {
    background: #f59e0b !important;
    display: inline-flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-width: 132px;
    width: auto;
}

.lookbook-section #nextStepButton,
.lookbook-section #submit {
    background: #07643c !important;
    display: inline-flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-width: 132px;
    width: auto;
}

.lookbook-section #nextStepButton img,
.lookbook-section #previousStepButton img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.lookbook-section .submit_button {
    background: #07643c !important;
    color: #fff !important;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .lookbook-section { padding: 14px 8px 40px; }
    .lookbook-section .main-content-wrapper {
        padding: 18px 14px 24px;
        border-radius: 12px;
    }
    .lookbook-section .main-content-wrapper h1,
    .lookbook-section h1 { font-size: 20px !important; }
    .lookbook-section .main-content-wrapper h2,
    .lookbook-section h2 { font-size: 14px !important; margin-bottom: 20px; }
    .lookbook-section .multi-steps > li { font-size: 10px; padding: 0 2px; }
    .lookbook-section .multi-steps > li:before {
        width: 28px;
        height: 28px;
        margin-bottom: 6px;
        font-size: 12px;
    }
    .lookbook-section .incr_decr_content-label {
        width: 140px;
        height: 50px;
        font-size: 20px;
    }
}
