@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    width: 100%;
    background: #f1dfd7;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    min-height: 100svh;
}


a {
    text-decoration: none;
    color: #dd9279;
}

.steps-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 2rem;
    padding-left: 4rem;

}

.logo-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.logo {
    width: 200px;
    height: 80px;
    margin-left: -8px;
    margin-bottom: .8rem;
    background-image: url(../belmacLogo-CRmrjqjG.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
}

.steps-title {
    font-size: 1rem;
    color: #292929;
    font-weight: 600;
    margin-top: 1rem;
}

.steps-list {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    overflow: hidden;
}

.steps-list::before {
    position: absolute;
    content: "";
    top: 0;
    left: 10px;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
    background-color: #dec4bc;
}


.step-content {
    display: flex;
    align-items: center;
}

.step-item {
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
}

.step-item .step-text {
    color: #313131;
    font-size: .9rem;
    margin-left: 0.5rem;
}

.step {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 1);
    border: 2px solid #1e1e1e;
    background-color: rgba(241, 223, 215, 1);
    font-weight: 600;
    transition: all 0.5s cubic-bezier(.4, 0, .2, 1);
    z-index: 10;
}


.step::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 0;
    background-color: #1e1e1e;
    transform: translateX(-50%);
    transition: height .3s ease;
}

.step::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 50%;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    background-color: #1e1e1e;
    transform: translate(-50%, -50%);
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease;
    transition-delay: .3s;
}

.step-item.active .step::after {
    visibility: visible;
    opacity: 1;
}

.step-item.completed .step::before {
    height: calc(100% + 1.6rem);
}

.step-item:last-child .step::before {
    display: none !important;
}


.step-item:last-child.active .step::after {
    display: none !important;
}

.step-item:last-child .step {
    background-color: #e36945 !important;
    border: 0;
}

.step-item.completed .step {
    background-color: #1e1e1e
}

.step-item.completed .step::after {
    content: "\F272";
    font-family: 'bootstrap-icons';
    color: white;
    width: auto;
    height: auto;
    font-size: .7rem;
    top: 54%;
    background-color: transparent;
    visibility: visible;
    opacity: 1;
}

.step-item.completed .step-text {
    font-weight: 600;
}




.form-container {
    position: relative;
    background-image: url('/belmac-form-bg-BRBNM-GS.png');
    background-color: white;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    height: 100%;
    min-height: 100svh;
    padding: 2rem;
    padding-top: 3rem;
    border-radius: 2rem 0 0 2rem;
}

.form-header {
    background-color: rgba(254, 199, 177, 0.286);
    display: none;
    width: 100%;
    padding: 10px 0;
    align-items: center;
    justify-content: center;
}

.form-header img {
    width: 130px;
    height: auto;
    object-fit: contain;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.form-body {
    padding: 1.5rem;
    position: relative;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    display: none;
    visibility: hidden;
}

.form-body[data-state="false"] {
    display: none;
    visibility: hidden;
}

.form-body[data-state="true"] {
    display: flex;
    visibility: visible;
    animation: fadeIn .8s forwards;
}

.form-title {
    font-weight: 600;
    font-size: 1.7rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: #000;
}

.form-mandatory-text {
    font-style: italic;
    font-size: 0.8rem;
    color: #d4704f;
}

form {
    width: 100%;
    height: max-content;
    min-height: 50%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-evenly;
}

.was-validated .form-control:invalid~.invalid-feedback {
    display: block;
    /* Show feedback when input is invalid */
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-label {
    font-size: 1.06rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: .85rem;
    border: 1px solid #8f8f8f;
    color: rgb(52, 52, 52);
    border-radius: 12px !important;
    box-shadow: none !important;
}

.form-control::placeholder {
    color: rgb(122, 122, 122);
}

.form-control:focus {
    border-color: #797979 !important;
}

.invalid-feedback {
    margin-top: 8px;
    margin-left: 1px;
    font-size: .8rem;
}


.form-submit-wrapper {
    position: absolute;
    bottom: 4%;
    right: 0;
    /* width: 100%; */
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.form-submit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #E46942, #E46942, #D6696E);
    width: auto;
    color: #fbfcf9;
    border-radius: 40px;
    padding: 12px 80px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
}

.form-submit-btn:disabled {
    opacity: .5;
    cursor: not-allowed !important;
}

.form-reset-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    font-weight: 600;
    font-size: 1.1rem;
    background: #e2e2e2;
    color: #202020;
    border-radius: 40px;
    padding: 12px 80px;
    letter-spacing: 1px;
    border: none;
}

.submit-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}



.mobile-number-form {
    width: 50%;
    /* margin-top: 10rem; */
}

.mobile-number-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
}

.mobile-number-section p {
    font-size: 1rem;
    font-weight: 500;
}

.mobile-number-section .mobile-info .mobile-number {
    font-size: 1.1rem;
    color: #d29f8e;
    margin: 0;
}

.mobile-number-section .mobile-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-number-section .mobile-info .edit-phone-number {
    margin: 0;
    color: #3c3c3c;
    cursor: pointer;
}

.otp-code-form {
    width: 100%;
    /* margin-top: 5rem; */
}

.otp-inputs {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.otp-input-group {
    width: 4rem;
    height: 4rem;
}

.otp-input-group .otp-input {
    padding: 0;
    height: 100%;
    text-align: center;
    font-size: 1.2rem;
    color: #252525;
    border-radius: 20px !important;
}

.otp-input-group .otp-input::selection {
    background-color: #f6d2c7;
    color: black;
}

.otp-input-group .otp-input:focus {
    border-color: #ed8363 !important;
}

.resend-code {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #5f5f5f;
    text-decoration: underline;
}

.resend-code .resend-timer {
    color: #d29f8e !important;
    text-decoration: underline;
}


.form-terms-and-condition {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
    font-size: .9rem;
}

.form-terms-and-condition input {
    border: 2px solid rgb(105, 105, 105);
}



.schedule-form {
    width: 100%;
}

.schedule-input-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 2rem;
}

.schedule-form .form-label {
    font-size: 1.1rem;
}

.form-check-input {
    border: 2px solid #9e9e9e;
}

.radio-input-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.form-check-input[type=checkbox] {
    border-radius: .36em;
    width: 1.2em;
    height: 1.2em;
    margin-top: .18em
}

.form-check-input {
    cursor: pointer;
}

.form-check label {
    position: relative;
    font-size: 1rem;
    color: #505050;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #e36945;
    border-color: #e36945 !important;
}

.form-check-input:focus {
    box-shadow: none !important;
    border-color: #9e9e9e;
}


.schedule-datepicker {
    width: auto;
    display: flex;
    align-items: center;
}

.schedule-datepicker input {
    width: auto;
    border: none;
    font-size: 1rem;
    padding: 0 10px;
    font-weight: 500;
    background-color: transparent !important;
    -webkit-appearance: none;
    cursor: pointer;
    line-height: 0;
}

.schedule-datepicker input::placeholder {
    color: #2a2a2a;
    text-transform: uppercase;
    font-size: .9rem;
    font-weight: 600;
}

.schedule-datepicker .icon {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    color: #e36945;

}

.representative-select-wrapper {
    position: relative;
    width: 100%;
}

.reference-select-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.select2-container {
    width: 100% !important;
    position: relative !important;
    top: 0 !important;
    bottom: 0 !important;
}

.select2-selection {
    border: 1px solid #8f8f8f !important;
    border-radius: 12px !important;
    height: auto !important;
    padding: 11px 14px;
}

.select2-dropdown {
    border: none;
    background-color: transparent;
    padding-top: 6px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    font-size: .9rem;
    border-radius: 12px;
    line-height: normal !important;
    color: black;
    font-weight: 500;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
}

.select2-results__options {
    border: 1px solid #8f8f8f;
    border-radius: 12px;
    background-color: white;
}

.select2-results__options li {
    border-bottom: 1px solid #8f8f8f;
    border-color: #8f8f8f;
    background-color: transparent;
    font-size: .9rem;
}

.select2-results__options li:last-child {
    border: none !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: #fbede8;
    color: black;
}

.select2-container--default .select2-results__option--selected {
    background-color: transparent;
    font-weight: 600;
}


.thankyou-sec {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.thankyou-sec.active {
    display: flex;
}

.thankyou-sec .icon {
    width: 90px;
    height: 90px;
    background-color: #E46942;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.thankyou-sec h1 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.thankyou-sec h3 {
    font-size: 1.4rem;
    font-weight: 500;
}

.thankyou-sec p {
    font-size: 1rem;
    color: #313131;
}


@media screen and (max-width: 1180px) {
    .steps-container {
        padding: 2rem;
    }
}



@media screen and (max-width: 992px) {

    .steps-container {
        width: 30%;
    }

    .logo {
        width: 140px;
        height: 60px;
    }

    .steps-title {
        font-size: .9rem;
    }


    .steps-list {
        gap: 1.8rem;
    }

    .steps-list::before {
        left: 9px;
    }

    .step {
        width: 18px;
        height: 18px;
    }

    .step-item .step-text {
        font-size: .8rem;
    }

    p {
        font-size: .9rem;
    }


    .form-container {
        width: 70%;
        border-radius: 1.5rem 0 0 1.5rem;
        padding: 2rem;
    }

    .form-body {
        padding: 0 8px;
    }

    .form-title {
        font-size: 1.2rem;
        margin: 1rem 0;
    }

    .form-mandatory-text {
        font-size: 0.7rem;
    }

    .form-body form {
        width: 100% !important;
        height: 100%;
        justify-content: flex-start;
    }

    .form-control {
        font-size: .8rem;
        padding: 10px 15px;
        border: 1px solid #a8a8a8;
        border-radius: 10px !important;
    }

    .form-control::placeholder {
        font-size: .75rem;
    }

    .invalid-feedback {
        font-size: .7rem;
    }

    .form-label {
        font-size: .9rem;
    }

    .form-submit-wrapper {
        position: relative;
        margin-top: auto;
        justify-content: center;
    }

    .form-submit-btn,
    .form-reset-btn {
        width: 100%;
        padding: 12px 20px;
        font-weight: 500;
        font-size: .95rem;
        margin-top: 40px;
    }


    /* Step otp  */

    .mobile-number-section p {
        font-size: .9rem;
        font-weight: 400;
    }

    .mobile-number-section .mobile-info .mobile-number {
        font-size: 1rem;

    }

    .otp-inputs {
        gap: 15px;
    }

    .otp-input-group {
        width: 3.3rem;
        height: 3.3rem;
    }

    .otp-input-group .otp-input {
        border-radius: 15px !important;
    }

    .resend-code {
        font-size: .9rem;
    }

    .form-terms-and-condition p {
        font-size: .8rem;
    }

    /* Step Schedule  */

    .schedule-form .form-label {
        font-size: .9rem;
    }

    .schedule-input-container,
    .radio-input-wrapper {
        gap: 18px;
        margin-bottom: 10px;
    }


    .form-check-input {
        width: 0.95em;
        height: 0.95em;
        margin-top: .3rem;
    }

    .form-check label {
        font-size: .85rem;
    }


    .schedule-datepicker .icon {
        font-size: 1.4rem;
    }

    .schedule-datepicker input {
        font-size: .8rem;
    }

    .reference-select-wrapper {
        margin-bottom: 150px;
    }

    .select2-selection {
        border-radius: 10px !important;
        padding: 10px 15px;
    }

    .select2-results__options {
        border-radius: 10px;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: .8rem;
    }

    .select2-results__options li {
        font-size: .8rem;
    }





    .thankyou-sec .icon {
        width: 65px;
        height: 65px;
        font-size: 2rem;
    }

    .thankyou-sec h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .thankyou-sec h3 {
        font-size: 1rem;
    }

    .thankyou-sec p {
        font-size: .8rem;
    }

    .thankyou-sec .form-submit-wrapper {
        width: auto !important;
        margin-top: 0;
    }

}

@media screen and (max-width: 767px) {
    .form-header {
        display: flex;
        height: 65px;
    }

    .steps-container {
        display: none;
    }

    .form-container {
        width: 100%;
        min-height: calc(100svh - 65px);
        border-radius: 0;
        padding: 10px;
    }


    .form-submit-btn,
    .form-reset-btn {
        max-width: none;
    }
}



.modal-title {
    font-size: 1.1rem;
    margin: 0;
}

.modal-body p {
    font-size: .9rem;
    margin: 0;
}

.modal-footer {
    border: none !important;
}

.btn-close {
    cursor: pointer;
}

.btn-secondary {
    background-color: #eeeeee;
    border: none;
    padding: 6px 20px;
    font-size: .9rem;
    font-weight: 600;
    color: black;
}

.btn-primary {
    background-color: #E46942;
    border: none;
    padding: 6px 20px;
    font-size: .9rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #cd4218 !important;
    border: none;
}

@media screen and (max-width: 992px) {
    .modal-title {
        font-size: 1rem;
    }

    .modal-body p {
        font-size: .8rem;
    }

    .modal .btn {
        padding: 6px 20px;
        font-size: .8rem;
    }

}




.toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.toast {
    width: auto;
    max-width: 500px;
    padding: 0 8px;
    z-index: 999;
    background: #fef4f0;
    border: 1px solid #fac8b9;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.toast .message {
    font-size: .85rem;
    color: black;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast .message i.icon-success {
    color: #179604;
}

.toast .message i.icon-failed {
    color: #ec220c;
}

.toast .message i {
    font-size: 1.1rem;
    display: none;
}

.toast.success .message i.icon-success {
    display: block;
}

.toast.failed .message i.icon-failed {
    display: block;
}

@media screen and (max-width: 992px) {
    .toast-container{
        bottom: 12px;
    }
    .toast .message {
        font-size: .75rem;
    }

    .toast .message i {
        font-size: 1rem;
    }
}