.form-container {
    max-width: 100%;
    /*margin: auto;*/
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #ECECEC;
    text-align: center;
}



#interactiveLoan{
    margin-bottom: 100px;
}
.form-container h2 {
    color: #000;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 35px;
}

.step.active {
    position: relative;
    background: #fbbf24;
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

.step.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}


.step-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #333;
    max-width: 404px;
}

.form-step {
    display: none;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}
#goldField2{
    display: none;
}
.form-step.active {
    display: flex;
}

.form-step label {
    color: #000;
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
}

#formNavBtn {
    margin-top: 60px;
    width: 100%;
}

.step-head {
    display: flex;
    flex-direction: column;
}

.custom-radio {
    display: flex;
    padding: 12px 16px;
    align-items: baseline;

    border-radius: 10px;
    border: 1px solid #E7E7E7;

}

.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #aaa;
    border-radius: 50%;
    transition: border-color 0.2s;
}

.custom-radio input[type="radio"]:checked ~ .radio-btn {
    border-color: #007bff;
    background-color: #007bff;
}

.radio-btn::after {
    content: "";
    position: absolute;
    display: none;
}

.custom-radio input[type="radio"]:checked ~ .radio-btn::after {
    display: block;
}

.radio-btn::after {
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.work-options {
    display: flex;
    gap: 16px;
}

.selectedLabel input[type="radio"]:checked + .custom-radio .radio-check {
    border-color: #FFC628;
    background-color: #FFC628;
}

.selectedLabel input[type="radio"]:checked + .custom-radio .radio-check::after {
    content: url(/site/templates/style/img/checkIcon.svg);
    display: flex;
    align-items: center;
    line-height: 5px;
    justify-content: center;
    fill: #fff;
    font-size: 12px;
    transform: scale(1);
    width: 100%;
    height: 100%;
}


.selectedLabel input[type="radio"]:checked + .custom-radio {
    border: 1px solid #FFC628;
}

.selectedLabel .custom-radio:hover {
    border-color: #FFC628;
}


.radio-check {
    width: 18px;
    height: 18px;
    border: 1.5px solid #D6D6D6;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.radio-check::after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: transparent;
    transform: scale(0);
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.sector-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}


.selectedLabel .custom-radio:hover {
    border-color: #FFC628;
}


input[type="radio"]:checked + .custom-radio {
    border: 1px solid #FFC628;
}

.custom-radio input[type="radio"] {
    display: none;
}


.selectedLabel input[type="radio"]:checked .selectedLabel .custom-radio {
    border: 1px solid red !important;
}

form div button {

    padding: 0 64px;

}

.back-btn {
    display: inline-block;
    padding: 0 64px;

    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    border: 1px solid #000;
    height: 55px;
    color: black;
    font-size: 18px;
    text-align: center;
    box-sizing: border-box;
    background: white;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(.52, .01, .16, 1);
    font-family: 'b';
    font-style: normal;
    font-weight: 600;
    line-height: 31.5px; /* 175% */
    letter-spacing: 0.189px;
}

#formNavBtn {
    /*width: auto;*/
    padding: 0 64px;
}

.step-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 10px;
}

.step {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin: 0 4px;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.step.active {
    background-color: #FFC628;
}

.step.completed {
    background-color: #FFC628;
}

.step.completed::after {
    content: none;
}

.step.completed::before {
    content: url("/site/templates/style/img/checkIcon.svg");
    color: black;
    font-size: 12px;
    position: absolute;
    top: 61%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.line {
    width: 24px;
    height: 2px;
    background-color: #ddd;
    margin: 0 4px;
}

.line.completed {
    background-color: #FFC628;
}

.step-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 14px;
    color: #000;
    padding: 0 10px;
}

.selectedLabel {
    display: flex;
    align-items: center;
    margin: 0;
    box-sizing: border-box;
}


.custom-radio {
    display: flex;
    align-items: center;
    line-height: 1;
}

.gold_desc {
    background: #808080e8;
    border-radius: 9px;
    padding: 10px;
    color: white;
    font-size: 15px;
    text-align: start;
    display: flex;
    align-items: center;
    gap: 7px;

}
.gold_desc p{
    margin-top: 3px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    margin-top: 24px;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 45px;
    height: 23px;
    border: 1.5px solid #D6D6D6;
    border-radius: 4px;
    margin-right: 10px;
    outline: none;
    cursor: pointer;
    position: relative;
    background-color: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.custom-checkbox input[type="checkbox"]:checked {
    background-color: #FFC628;
    border-color: #FFC628;
}

.custom-checkbox input[type="checkbox"]:checked::after {
    content: url(/site/templates/style/img/checkIcon.svg);
    display: flex;
    align-items: center;
    line-height: 8px;
    justify-content: center;
    fill: #fff;
    font-size: 12px;
    transform: scale(1);
    width: 100%;
    height: 100%;

}

.checkbox_text {
    color: #000;
    opacity: 0.5;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: start;
}


.step-indicator {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #DFDFDF;
    border: 2px solid #DFDFDF;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.step-indicator::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
    transition: background-color 0.3s ease;
}

.step-indicator.active {
    background-color: #FFC628;
    border-color: #FFC628;
}


.step-indicator.completed {
    content: url(/site/templates/style/img/checkIcon.svg);
    display: flex;
    align-items: center;
    line-height: 8px;
    justify-content: center;
    fill: #fff;
    font-size: 12px;
    transform: scale(1);
    background-color: #FFC628;
    border: 2px solid #FFC628;
    padding: 3px;
    width: 15px;
    height: 15px;
}

.step-indicator.completed::after {
    background-color: #FFC628;
}

.step-indicator + .step-line {
    height: 18px;
    width: 2px !important;
    background-color: #DFDFDF;
    margin: 8px;
}

.step-indicator.active + .step-line,
.step-indicator.completed + .step-line {
    background-color: #FFC628;
}

.step-indicator.completed svg {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    fill: white;
}

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




#stepIndicators {
    display: flex;
    flex-direction: column;

    margin-bottom: 16px;
}





.step-info {
    display: none;
}

.form-wrapper {
    display: grid;
    align-items: stretch;
    grid-template-columns: 100px auto;
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
}

.step-head {
    position: sticky;
    top: 30%;
    left: 0;
    height: fit-content;
    z-index: 10;

}


.deposit_text_in{
    width: 100%;
    display: flex;

    flex-direction: column;
    margin-top: 34px;
}

@media (max-width: 768px) {
    .form-container {
        padding: 24px;
        margin: 16px;
        border-radius: 8px;
    }
    .form-wrapper{
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .custom-checkbox input[type="checkbox"] {
        width: 103px;
    }

    .form-container h2 {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .form-step {
        gap: 18px;
    }

    #formNavBtn {
        margin-top: 46px;
    }


    .form-step label {
        font-size: 18px;
        line-height: 22px;
    }

    .form-container button#formNavBtn {
        width: 100% !important;
    }

    .form-container .back-btn {
        width: 100%;
        text-align: center;
    }

    .form-container > div[style*="display: flex"] {
        flex-direction: column;
        align-items: stretch;
    }


    .radio-check {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }

    .custom-radio {
        padding: 12px 6px;
    }

    .radio-check::after {
        width: 10px;
        height: 10px;
    }

    .sector-options {
        flex-direction: row;
        gap: 5px;
        justify-content: start;
        align-items: stretch;
    }


    .back-btn,
    #formNavBtn {
        padding: 0 32px;
        font-size: 16px;
        height: 48px;
        line-height: 24px;
    }


    .steps {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;

    }
    .step-head{
        position: static;
    }
    .step {
        flex: 0 0 auto;
    }
    #stepIndicators {
        display: flex;
        flex-direction: row;
justify-content: center;
        margin-bottom: 16px;
    }

    .step-indicator + .step-line{
        width: 18px !important;
        height: 2px;
    }
    .common_page_title{
        padding: 0 !important;
    }
    .new_common_page_title ul{
        padding-left: 10px;
    }
    .info_text p{
        padding-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 16px;
        margin: 16px;
    }

    .form-container h2 {
        font-size: 22px;
    }


    .back-btn,
    #formNavBtn {
        width: 100%;
        padding: 12px 16px;
    }


    .sector-options {
        gap: 5px;
    }
}


.form_item input, .form_item select{
    color: #0a0a0a;
}