#loan-form{
    font-family: 'Noto sans', sans-serif;
}
#loan-form p {
    margin: 0;
}
.form-block__tile{
    font-size: 16px;
    font-weight: 700;
}

.form__step-1{
    display: block;
    box-sizing: border-box;
}
.loan__period{
    margin-top: 30px;
}
.loan__phone{
    margin-top: 30px;
}
.form__step-1 > div{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: row;
}

.form__phone{
    border-top-left-radius: var(--mdc-shape-small, 4px);
    border-top-right-radius: var(--mdc-shape-small, 4px);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    display: inline-flex;
    align-items: baseline;
    padding: 0 16px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    will-change: opacity,transform,color;
    height: 56px;
    height: auto;
    flex: auto;
    width: 100%;
    padding: 13px 14px 11px;
    border: 1px solid var(--text-input-border);
    border-radius: 4px;
    background: var(--white);
    height: 60px;
    box-shadow: 0 5px 15px var(--form-field-wrapper-shadow);
    height: 59px;
    margin-bottom: 0!important;
}

@media (min-width: 1024px) {
    .form__phone{
        margin-bottom: 2.2rem;
    }
}

.form-phone__field{
    display: inline-flex;
    align-items: baseline;
    box-sizing: border-box;
    width: 100%;
}
.field__prefix{
    margin-right: 5px;
    padding-right: 5px;
    border-right: 1px solid var(--grey-line);
    font: 700 14px/18px 'Geomanist-Book',Helvetica,Arial,sans-serif;
    color: var(--text-main);
}
.field__infix{
    flex: auto;
    min-width: 0;
    width: 180px;
    position: relative;
    box-sizing: border-box;
    padding-bottom: 0;
    padding-top: .3em;
}

@media (min-width: 1024px) {
    .field__infix{
        padding-top: .4375em;
    }
}

.field__infix{
    margin-top: -5px;
}

@media (min-width: 1024px) {
    .field__infix{
        margin-top: 0;
    }
}

.field-infix__label{
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, var(--font-stack)));
    font-size: var(--mdc-typography-subtitle1-font-size, 18px);
    font-weight: var(--mdc-typography-subtitle1-font-weight, 700);
    letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, normal);
    -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);
    text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);
    text-transform: var(--mdc-typography-subtitle1-text-transform, none);
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, var(--font-stack)));
    font-size: var(--mdc-typography-body1-font-size, 14px);
    line-height: var(--mdc-typography-body1-line-height, 26px);
    font-weight: var(--mdc-typography-body1-font-weight, 700);
    letter-spacing: var(--mdc-typography-body1-letter-spacing, normal);
    -webkit-text-decoration: var(--mdc-typography-body1-text-decoration, inherit);
    text-decoration: var(--mdc-typography-body1-text-decoration, inherit);
    text-transform: var(--mdc-typography-body1-text-transform, none);
    position: absolute;
    left: 0;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    line-height: 1.15rem;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: text;
    overflow: hidden;
    will-change: transform;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    left: 16px;
    right: initial;
    width: 100%;
    transform: perspective(100px) translateY(-.5em);
    color: var(--text-main);
    line-height: normal;
    pointer-events: all;
    left: auto;
    right: auto;
    transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    top: 18px;
}

.label__required-marker{
    color: var(--button-primary);
    padding-left: 3px;
}

.label__required-marker::after{
    margin-left: 1px;
    margin-right: 0px;
    content: "*";
}

.field-infix__input{
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, var(--font-stack)));
    font-size: var(--mdc-typography-subtitle1-font-size, 18px);
    font-weight: var(--mdc-typography-subtitle1-font-weight, 700);
    letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, normal);
    -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);
    text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);
    text-transform: var(--mdc-typography-subtitle1-text-transform, none);
    height: 28px;
    width: 100%;
    min-width: 0;
    border: none;
    border-radius: 0;
    background: none;
    appearance: none;
    padding: 0;
    animation: cdk-text-field-autofill-end 0s 1ms;
    box-shadow: none;
    font: inherit;
    letter-spacing: inherit;
    text-decoration: inherit;
    text-transform: inherit;
    border: none;
    height: auto;
    transition: opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
}

.panel__bg{
    width: 100%;
    height: 500px;
    max-height: 600px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s ease-in-out;
    display: flex;
    align-items: center;
}
.bg__container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.container__hero{
    max-height: 500px;
    height: 460px;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.527);
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .16);
    border-radius: 4px 4px 0px 0px;
}


.theme-divider__separator{
    height: 5px;
    width: 70px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #0B57AD;
}

.container__hero h1{
    font: 500 36px/43px 'Geomanist-Book',Helvetica,Arial,sans-serif;
    line-height: 43px;
    color: #252668;
}

.container__form{
    position: relative;
    z-index: 88;
}

.form-block__header{
    position: relative;
    z-index: 1;
}

.form-block__header ul{
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
}

.form-block__header ul li{
    overflow: hidden;
    display: flex;
    align-items: center;
    font-size: var(--n-tabs-title-font-size);
    text-align: var(--n-tabs-title-text-align);
    padding: 16px 32px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Noto sans', sans-serif;
    border-radius: 8px 8px 0px 0px;
    cursor: pointer;
    justify-content: center;
    /* width: 100%; */

    user-select: none; 
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 

}

@media (max-width: 600px){
    .details__items > div{
        display: flex;
        flex-wrap: wrap;
    }
    .details__column{
        width: 100% !important;
        padding: 0px !important;
    }
}

@media (max-width: 500px){
    .form-block__header ul li{
        padding: 8px 16px !important;
    }
    .loan__result{
        flex-wrap: wrap;
    }
    .loan__title{
        font-size: 18px !important;
    }
}


@media (max-width: 396px){
    .form-block__header ul li{
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
}

.form-block__header ul li:first-child {
    background-color: #fff;
    margin-left: 0px !important;
}

.form-block__header ul li:nth-child(2) {
    z-index: 1;
    background-color: #ECF5FF;
}

.form-block__header ul li:nth-child(3) {
    z-index: 0;
    background-color: #C7E2FF;
}

.form__block {
    position: relative;
    /* box-shadow: 0 17px 15px #7b86902e; */
    box-shadow: 0 20px 20px 0 rgba(0, 0, 0, .08);
    border-radius: 8px;
}
.form-block__header ul li.active {
    /* box-shadow: 0 2px 15px #7b86902e; */
    box-shadow: 0 2px 15px rgba(0, 0, 0, .08);
    z-index: 2;
    border-radius: 8px 8px 0 0;
    font-weight: 700;
    flex-grow: 1;
}
.form-block__body{
    position: relative;
    z-index: 2;
    border-radius: 0px 0px 4px 4px;
    background-color: white;
    padding: 32px;
}

.header__loan{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;

    /* font-size: 14px;
    line-height: 140%; */
    color: #333d45;
    display: flex;
    align-items: center;
    margin-bottom: .5rem;
}

.loan__title{
    font-size: 24px;
    /* line-height: 17px; */
    color: #4a4a4a;
    color: #4a4a4a;
    font-family: 'Noto sans', sans-serif;;
    font-weight: 700;
    -webkit-user-select: none; 
    -moz-user-select: none;    
    -ms-user-select: none;     
    user-select: none;         
}
.loan__value{
    position: relative;
    font-size: 40px;
    /* line-height: 17px; */
    color: #333d45;
    color: #333d45;
    font-family: 'Noto sans', sans-serif;;
    font-weight: 700;
    -webkit-user-select: none; 
    -moz-user-select: none;    
    -ms-user-select: none;     
    user-select: none;         
}

.loan-value__input{
    -webkit-user-select: none;
    user-select: none;
}

.input__value{
    align-items: center;
    display: flex;
    width: 100%;
    margin-left: auto;
    max-width: 50%;
    max-width: 12.5rem;
}

/* .input__value{
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    position: relative;
    border-radius: 0px;
    box-shadow: none;
    box-sizing: border-box;
    border-top: none;
    border-right: none;
    border-left: none;
    border-image: initial;
    border-bottom: 1px solid rgb(224, 233, 242);
    background: transparent;
    outline: 0px !important;
} */
.input__value > div{
    -webkit-box-align: center;
    align-items: center;
    display: grid;
    flex: 1 1 0%;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    padding: 2px 8px;
    box-sizing: border-box;
    font-size: 40px;
    /* line-height: 17px; */
    font-weight: 600;
    color: rgb(51, 61, 69);
}
.input__value > div > div{
    grid-area: 1 / 1 / 2 / 3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* color: rgb(51, 61, 69); */
    /* color: #252668; */
    color: #000;
    margin-left: 2px;
    margin-right: 15px;
    box-sizing: border-box;
    text-align: center;
    font-size: 40px;
    /* line-height: 17px; */
    font-family: 'Noto sans', sans-serif;
}

.input__sufix{
    color: #4a4a4a;
    margin-left: .75rem;
    font-size: 18px;
    font-weight: 400;
    /* line-height: 50px; */
    /* position: absolute; */
    /* right: 3px;
    bottom: 0px;
    color: #333d45; */
    /* color: #6f8394; */
    font-family: 'Noto sans', sans-serif;;
    /* font-weight: 600;
    -webkit-user-select: none; 
    -moz-user-select: none;    
    -ms-user-select: none;     
    user-select: none;          */
}

.loan-type-type-2 .input__sufix, .loan-type-type-2 .slider__max span{
    color: #4a4a4a;
}

.slider__max span{
    color: #4a4a4a !important;
}

.loan-type-type-2 .loan__security > label > span:before, .input-amount, .input-payments{
    border-color: #4a4a4a !important;
}



.slider__container{
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-top: 1rem;
    margin-bottom: 1.75rem;
}
button.slider__btn{
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 2px #0B57AD solid !important;
    background: #576673 !important;
    color: #fff !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 16px !important;
    padding: 12px !important;
    border-radius: 50%!important ;
    cursor: pointer !important;
    background: #0B57AD !important;
    color: #fff !important ;
    box-shadow: 0 5px 15px #0b57ad52;
}
button.slider__btn.btn__mn{
    padding-bottom: 14px !important;
}

/* .btn__mn::after{
    content: "-";
    display: block;
}

.btn__pp::after{
    content: "+";
    display: block;
} */

.slider__input{
    position: relative;
    width: 100%;
    height: 14px;
    padding: 5px 0;
    border-radius: 6px;
    box-sizing: border-box;
}
.slider__container input{
    /* width: 100%;
    height: 8px;
    z-index: 0; */
    width: 100%;
    height: 6px;
    border-radius: 8px;
    z-index: 0;
}



.slider__container button{
    z-index: 4;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    /* border-radius: 5px; */
    background: linear-gradient(to right, #0B57AD 50%, #eaeaea 50%);
    outline: none;
    opacity: 1;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0B57AD;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #0B57AD;
    cursor: pointer;
}

.slider__max{
    /* margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between; */
    color: #9b9b9b;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin: -10px 0 24px;
}

.slider__max span{
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    color: #9b9b9b;
}

.period__title,.phone__title{
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    /* line-height: 17px; */
    color: #333d45;
    margin: 30px 0 0;
    color: #333d45;
    font-family: 'Noto sans', sans-serif;;
    font-weight: 500;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Standard */
}

.period__checkbox{
    margin-top: 20px;
}

.radio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio {
    position: relative;
}

.radio input[type="radio"] {
    display: none;
}

.custom-radio {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid #0B57AD;
    color: rgb(29, 29, 29);
    border-radius: 50%;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Standard */
}

.radio input[type="radio"]:checked + .custom-radio {
    background-color: #0B57AD;
    color: #fff;
    box-shadow: 0 5px 15px #0b57ad52;
}

.loan__step{
    text-decoration: none;
}

.loan__step button{
    margin-top: 20px;
    height: 50px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    line-height: 16px;
    transition: .2s;
    width: 100%;
    border-radius: 8px;
    background-color: #0B57AD;
    color: #fff;
    font-family: 'Noto sans', sans-serif;;
    font-weight: 700;
    border-radius: 8px;
    background-color: #0B57AD;
    color: #fff;
    font-family: 'Noto sans', sans-serif;;
    font-weight: 700;
}
.loan__alert{
    width: 100%;
    padding: 7px;
    border-radius: 6px;
    margin: 10px 0 0;
    background-color: #e8f0fe;
}
.loan__alert p{
    font-size: 12px;
    margin-bottom: 0 !important;
    line-height: normal;
    padding: 7px;
    color: #576673;
    font-family: 'Noto sans', sans-serif;
    font-weight: 500;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Standard */
}
.read-more{
    font-size: 12px;
    color: rgb(32, 32, 145);
    cursor: pointer;
    text-decoration: underline;
}
.detal{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.detal__title{
    line-height: 22.4px;
    margin-bottom: 0px !important;
    font-size: 12px;
    min-height: 15px;
    white-space: nowrap;
    color: #6f8394;
    font-family: 'Noto sans', sans-serif;;
    font-weight: 400;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Standard */
}
.detal__value{
    line-height: 22.4px;
    margin-bottom: 0px !important;
    min-height: 15px;
    font-size: 12px;
    vertical-align: top;
    white-space: nowrap;
    padding: 0 0 0 6px;
    color: #0B57AD;
    font-family: 'Noto sans', sans-serif;;
    font-weight: 700;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Standard */
}

.loan__detal{
    margin-top: 20px;
}

.loan__policy{
    margin: 15px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Standard */
}

.loan__policy a{
    text-decoration: underline;
    font-size: 10px;
    line-height: 14px;
    background-color: transparent;
    color: #333d45;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Standard */
}

.phone__input{
    position: relative;
}

.phone__input input{
    -webkit-appearance: none!important;
    -moz-appearance: none!important;
    box-shadow: none!important;
    outline: none!important;
    background: #fff!important;
    border: 1px solid #e0e9f2!important;
    border-radius: 4px!important;
    box-sizing: border-box!important;
    font-size: 14px!important;
    font-weight: 400!important;
    height: 45px!important;
    line-height: 150%!important;
    margin-top: 5px!important;
    min-width: 280px!important;
    padding-left: 10px!important;
    width: 100%!important;
    padding-left: 55px!important;
    direction: ltr!important;
}

.phone__prefix{
    line-height: 34px;
    width: 44px;
    background: #f3f9ff;
    border: 1px solid #ccd5df;
    border-radius: 4px 0 0 4px;
    bottom: 0;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 500;
    height: 45px;
    left: 0;
    padding: 6px;
    position: absolute;
    text-align: center;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Standard */
}

.tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 1000;
    white-space: nowrap;
    visibility: hidden;
}

.tooltip.show {
    visibility: visible;
}

.widget-button{
    width: 100% !important;
    background-color: #0B57AD !important;
    color: white !important;
    border: none !important;
    margin: 20px 0px !important;
    box-shadow: 0 5px 15px #0b57ad52 !important;;
    padding: 12px 16px !important;
}

.input-amount{
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 2.4375rem;
    margin: 0 0 1rem;
    padding: .5rem;
    border: 1px solid #cacaca;
    border-radius: 0;
    background-color: #fefefe;
    box-shadow: inset 0 1px 2px rgba(10,10,10,.1);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #0a0a0a;
    transition: box-shadow .5s,border-color .25s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    width: 100%;
    font-size: 1rem;
    height: 50px;
    line-height: 50px;
    margin-bottom: 0;
    float: left;
    border: 1px solid #ccc !important;
    box-shadow: none;
    background: #fff !important;
    padding: 0 1rem !important;
    border-radius: 8px !important;
    font-weight: 700;
    caret-color: #0b57ad !important;
}

.input-payments{
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 2.4375rem;
    margin: 0 0 1rem;
    padding: .5rem;
    border: 1px solid #cacaca;
    border-radius: 0;
    background-color: #fefefe;
    box-shadow: inset 0 1px 2px rgba(10,10,10,.1);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #0a0a0a;
    transition: box-shadow .5s,border-color .25s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    width: 100%;
    font-size: 1rem;
    height: 50px;
    line-height: 50px;
    margin-bottom: 0;
    float: left;
    border: 1px solid #ccc !important;
    box-shadow: none;
    background: #fff;
    padding: 0 1rem;
    border-radius: 8px!important;
    font-weight: 700;
}
.clearfix:after, .clearfix:before {
    display: table;
    content: " ";
}

.loan__security{
    margin-bottom: 1.5rem;
}
.loan__security > label{
    display: block;
    margin: 0;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.8;
    color: #0a0a0a;
    color: #4a4a4a;
    font-size: .8125rem;
    margin: 0 0 8px;
    position: relative;
    cursor: pointer;
    padding-left: 28px;
    font-weight: 500;
    line-height: 1.25rem;
}

.lead-input__container .loan__statute > label{
    display: block;
    margin: 0;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.8;
    color: #0a0a0a;
    color: #4a4a4a;
    font-size: .8125rem;
    margin: 0 0 8px;
    position: relative;
    cursor: pointer;
    padding-left: 28px;
    font-weight: 500;
    line-height: 1.25rem;
} 

.loan__security > label input, .loan__statute > label input{
    width: 0;
    height: 0;
    display: none;
}
.loan__security > label > span:before, .loan__statute > label > span:before{
    content: "";
    height: 20px;
    width: 20px;
    border-radius: 3px;
    border: 1px solid #ccc !important;
    background-color: white;
    position: absolute;
    left: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.loan__security input[type=checkbox]:checked+span:before, .loan__security input[type=radio]:checked+span:before {
    content: "\f00d";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    color: #0b57ad;
    line-height: 20px;
    text-align: center;
    font-size: 16px;
}

.loan__statute input[type=checkbox]:checked+span:before, .loan__statute input[type=radio]:checked+span:before {
    content: "\f00d";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    color: #0b57ad;
    line-height: 20px;
    text-align: center;
    font-size: 16px;
}


.loan__result {
    margin: 0 -32px;
    display: flex;
}

.loan__rrso{
    background: #f5fee1;
    color: #0b57ad;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 1rem -2rem;
    padding: 2rem;
    background-color: #f5f5f5;
    color: #4a4a4a;
    margin: 0;
    flex: 1;
}

.loan__installment{
    background: #e1e5fe;
    color: #0b57ad;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 1rem -2rem;
    padding: 2rem;
    margin: 0;
    flex: 1;
}

.rrso__title, .installment__title{
    display: flex;
    align-items: center;
}

.rrso__title small{
    font-size: 80%;
    line-height: inherit;
    display: inline-block;
    font-size: .75rem;
    line-height: 1.25;
    margin-left: .75rem;
    max-width: 10rem;
}

.rrso__value{

}

.loan__footer{
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer__info{
    flex: 1;
    display: flex;
    align-items: center;
}

.footer__info a{
    font-size: 1.0625rem !important;
    font-weight: 500 !important;
    color: #0b57ad !important;
    display: inline-block !important;
    text-decoration: underline !important;
    cursor: pointer;
}

.footer__button{
    flex: 1;
    display: flex;
    justify-content: end;
    align-items: center;
}

.footer__button button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 500;
    font-family: 'Noto-sans', sans-serif !important; 
    min-height: 3.125rem;
    line-height: normal;
    padding: .5rem 1.5rem;
    border-radius: 8px;
    margin: 0 1.5rem 0 0;
    transition: all .2s ease-in;
    background: #0b57ad;
    border: 1px solid #0b57ad;
    color: #fff;
    margin: 0;
}

.footer__button button:hover{
    background: #0b57ad;
    border: 1px solid #0b57ad;
    color: #fff;
    box-shadow: 0 1px 7px 0 rgba(0, 0, 0, .3);
}

.footer__button button:focus{
    background-color: #0b57ad !important;
    outline: none;
}


.reloader{
    position: absolute;
    z-index: 88;
    height: 100%;
    width: 100%;
    background-color: hsla(0, 0%, 100%, 0.699);
    text-align: center;
    top: 0;
    left: 0;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.reloader .loader{
    width: 36px;
    height: 36px;
    border: 5px solid #0a4f9d;
    border-bottom-color: transparent;
}

/* .loan__details{
    background-color: #fff;
    position: absolute;
    bottom: 4.5rem;
    left: 2rem;
    right: 2rem;
    z-index: 9;
    display: none;
    border-radius: 8px;
} */

.loan__details{
    background-color: hsla(0, 0%, 100%, 0.842);
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    /* padding: 2rem; */
    /* right: 2rem; */
    z-index: 9;
    /* display: none; */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: end;

    display: none;
}

.details__container{
    box-shadow: 0 0 20px 0 rgba(0,0,0,.08);
    width: 100%;
    border-radius: 8px;
    font-size: 0;
    padding: 2rem;
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    transform: translateY(100%); /* Poza widokiem */
    transition: transform 0.3s ease-in-out; /* Płynne wysuwanie */

    display: flex;
}

.details__title{
    /* padding: 0 2rem; */
    width: 100%;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
    display: flex;
    justify-content: space-between;
}

.details__items{
    /* padding: 0 2rem; */
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
    margin-bottom: 0;
}
.details__items > div{
    max-width: 77.5rem;
    margin-right: auto;
    margin-left: auto;
}

.details__column{
    float: left;
    clear: none;
    width: 50%;
    padding: 0 16px;
}

.details__column .details__row{
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}


.details__column .details__row .row__value{
    color: #0a4f9d;
    font-weight: 500;
    white-space: nowrap;
}

.loan__details.visible {
    display: flex;
}

.details__container.slide-up {
    transform: translateY(0);
}

.loan-form-button-close{
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    height: 100% !important;
    margin: 0 8px !important;
    cursor: pointer !important;
    text-transform: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: .25em .375em !important;
}

#loan-slider{
    background: linear-gradient(to right, rgb(11, 87, 173) 7.94979%, rgb(224, 233, 242) 7.94979%);
}
#period-slider{
    background: linear-gradient(to right, rgb(11, 87, 173) 48.7179%, rgb(224, 233, 242) 48.7179%);
}

.loan-type-type-2 .loan__security > label > span:before, .loan-type-type-2 .input-amount, .loan-type-type-2 .input-payments{
    border-color: #4a4a4a !important;
}

.input-amount:focus, .input-payments:focus{
    outline: 0;
    border: 1px solid #8a8a8a;
    background-color: #fefefe;
    box-shadow: 0 0 5px #cacaca;
    transition: box-shadow .5s,border-color .25s ease-in-out;
    border: 1px solid #0b57ad !important;
}


.final_form__overlay{
    visibility: hidden;
    opacity: 0;
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: all .3s ease-in-out;
}

.loan_final_form[aria-expanded="true"] .final_form__overlay{
    visibility: visible;
    opacity: 1;
}

.loan_final_form {
    position: relative;
    margin: 0;
    padding: 0;
    z-index: 9999;
}

.final_form__container {
    height: 100vh;
    overflow-y: auto;
    transform: translateX(100%);
    z-index: 11;
    position: fixed;
    right: 0;
    top: 0;
    max-width: 500px;
    width: 100%;
    height: 100%;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    background: #fff;
    transition: all .3s ease-in-out;
}

.loan_final_form[aria-expanded="true"] .final_form__container{
    transform: translateX(0);
}

.final_form__container header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 40px;
    font-size: 2rem;
    font-weight: 700;
}



.final-form-button-close{
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    height: 100% !important;
    margin: 0 8px !important;
    cursor: pointer !important;
    text-transform: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: .25em .375em !important;
}

.final_form__container main{
    padding: 0 24px 40px;
}

.final_form__container main .lead__column{
    float: left;
    clear: none;
    width: 100%!important;
    margin-bottom: 20px!important;
    margin-bottom: 28px;
    padding: 0 16px;
    color: #4a4a4a;
    font-size: .875rem;
    position: relative;
}

.lead__text, .lead__text_hidden{
    font-size: .875rem!important;
    font-style: normal;
    line-height: 1.4;
    color: #666;
    margin: 8px 0 0;
}

.final_form__container legend{
    box-sizing: border-box;
    color: inherit;
    display: table;
    padding: 0;
    white-space: normal;
    max-width: 100%;
    margin-bottom: .5rem;
    color: #111;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 16px;
    margin-left: 16px;
}

.final_form__container main .lead__row{
    max-width: 75rem;
    margin-right: auto;
    margin-left: auto;
    max-width: 77.5rem;
    margin-left: 0;
    margin-right: 0;
}

.final_form__container main .lead__row::before, .final_form__container main .lead__row::after {
    display: table;
    content: " ";
    clear: both;
}


.lead-input__container{
    padding: 0 16px;
    
    width: 100%;
    float: left;
  
    float: left;
    clear: none;
    width: 100%;
    width: 50%;
    
    margin-bottom: 28px;
    color: #4a4a4a;
    font-size: .875rem;
    position: relative;
}

.lead-input__container label{
    display: block;
    margin: 0;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.8;
    color: #0a0a0a;

    color: #4a4a4a;
    font-size: .8125rem;
    margin: 0 0 8px;
    position: relative;
    cursor: pointer;

    color: #4a4a4a;
    font-size: .8125rem;
    line-height: 1rem;
}

.lead-input__container input:not([type="checkbox"]) {
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    caret-color: #0b57ad!important;
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 2.4375rem;
    margin: 0 0 1rem;
    padding: .5rem;
    border: 1px solid #cacaca;
    border-radius: 0;
    background-color: #fefefe;
    box-shadow: inset 0 1px 2px rgba(10,10,10,.1);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #0a0a0a !important;
    transition: box-shadow .5s, border-color .25s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    width: 100%;
    font-size: 1rem;
    height: 50px;
    line-height: 50px;
    margin-bottom: 0;
    float: left;
    border: 1px solid #ccc !important;
    box-shadow: none;
    background: #fff;
    padding: 0 1rem;
    border-radius: 8px!important;
    font-weight: 700;
    margin: 0 0 4px;
}

.lead-input__container input::-webkit-input-placeholder {
    color: #0a0a0a !important;
    font-weight: 400 !important;
}

.lead-input__container input:focus{
    transition: box-shadow .5s, border-color .25s ease-in-out;
    outline: 0;
    border: 1px solid #8a8a8a;
    background-color: #fefefe;
    box-shadow: 0 0 5px #cacaca;
    transition: box-shadow .5s,border-color .25s ease-in-out;
    border: 1px solid #0b57ad !important;
}


.lead-input__container .input__group{
    display: table;
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    margin-bottom: 0;
    position: relative;
}

.lead-input__container .input__group .group__label{
    margin: 0;
    white-space: nowrap;
    display: table-cell;
    vertical-align: middle;
    padding: 0 1rem;
    border: 1px solid #cacaca;
    background: #e6e6e6;
    color: #0a0a0a;
    text-align: center;
    white-space: nowrap;
    width: 1%;
    height: 100%;
    border-radius: 0;
    border-radius: 8px;
    padding: 0;
    min-width: 50px;
    height: 50px;
    line-height: 50px;
    color: #4a4a4a;
    margin-right: 8px;
    border-right: 1px solid #cacaca;
}

.lead__toggle{
    transition: all .2s ease-in;
    font-size: .75rem !important;
    line-height: .875rem;
    color: #0b57ad !important;
    border-bottom: 1px dotted #0b57ad;
    display: inline-block;
    margin-top: 12px;
    cursor: pointer;
    font-weight: 600;
}
.lead__toggle:hover{
    font-size: .75rem !important;
}


.final_form__container button.loan__submit{
    display: inline-block;
    vertical-align: middle;
    padding: .85em 1em;
    border: 1px solid transparent;
    border-radius: 0;
    transition: background-color .25s ease-out,color .25s ease-out;
    font-family: inherit;
    font-size: .9rem;
    -webkit-appearance: none;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    background-color: #2199e8;
    color: #fefefe;
    transition: all .2s ease-in;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 500;
    font-family: Red Hat Display,Arial,Helvetica,sans-serif;
    min-height: 3.125rem;
    line-height: normal;
    padding: .5rem 1.5rem;
    border-radius: 8px;
    background-color: #2199e8;
    color: #0a0a0a;
    background: #0b57ad;
    border: 1px solid #0b57ad;
    color: #fff;
    margin: 0 16px;
    clear: both;
    display: table;
}

.final_form__container button.loan__submit:hover{
    background: #0b57ad;
    border: 1px solid #0b57ad;
    color: #fff;
    box-shadow: 0 1px 7px 0 rgba(0, 0, 0, .3);
}

.final_form__container small{
    font-size: 12px;
    line-height: 1rem;
    font-weight: 500;
    clear: both;
    display: block;
    color: red;
}

.lead-input__container.lead-text__cont{
    width: 100%;
}

.lead__text_hidden {
    max-height: 0; /* Ukryty tekst na starcie */
    overflow: hidden; /* Ukryj zawartość poza granicą */
    transition: max-height 0.4s ease-in-out; /* Płynne przejście */
}

.lead__text_hidden.visible {
    max-height: 600px; /* Maksymalna wysokość dla rozwiniętego tekstu */
    /* Ustaw odpowiednio dużą wartość, aby obsłużyć pełny tekst */
}

.lead__message{
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    color: #00b140;
    margin-left: 16px;
}

.lead__success{
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    color: #00b140;
    display: block;
    margin-bottom: 24px;
}


/* gpt */
.message-box {
    text-align: left;
    padding: 40px;
    margin: 0 -24px;
    margin-bottom:20px;
    text-align: center;
    background-color: #ffffff;
}

.message-box.success {
    background-color: #dcfbb3;
    /* border: 2px solid #28a745;
    color: #28a745; */
    color: #208a00;
}

.message-box.error {
    background-color: #fbb3b3;
    color: #a10010; /* Czerwony tekst */
}

.message-content{
    text-align: left;
    
}

.message-content h4 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: bold;
}

.message-content p {
    margin: 0;
    font-size: 16px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}


@media (max-width: 1024px) {
    .final_form__container header{
        font-size: 1.5rem;
    }
    .lead-input__container{
        width: 100%;
    }
}

@media (max-width: 500px) {
    .final_form__container{
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }
}

.loan__statute .error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.lead-input__container.recaptcha-field{
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

