@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&family=Roboto:wght@100;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.loan_body {
    background: url(./images/loan-body-img.webp);
    width: 100%;
    /* height: 900px; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /* position: relative; */
    padding: 60px 0;
}
.form_body {
    width: 90%;
    background: #fff;
    margin: 0 auto;
    box-shadow: 0px 5px 10px #bababa;
    /* position: absolute; */
    /* top: 50%; */
    /* transform: translateY(-50%); */
}
.form_head h1 {
    font-size: 1.3rem;
    font-weight: 500;
}
.form_head {
    text-align: center;
    padding: 15px 20px;
    background: #E6E6E6;
}
form.loan_form {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
}
.input_div_one label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.input_div_one select, input {
    width: 100%;
    height: 35px;
    border: 1px solid #ccc;
    border-radius: 33px;
    appearance: none;
    position: relative;
    padding: 0 15px;
    font-size: 0.89rem;

}
.input_div_one select, input:focus-visible {
    outline: none;
}
.fields i {
    position: absolute;
    top: 33px;
    right: 15px;
    font-size: 12px;
    background: #D4D4D4;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 22px;
    border-radius: 50%;
    color: #ffffff;
}
.fields {
    position: relative;
    margin-bottom: 15px;
}
input.loan_check {
    width: auto;
    height: auto;
    appearance: auto;
}
.condition {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.condition p span {
    font-style: italic;
    font-weight: 600;
}
.loan_apply {
    text-align: center;
    padding: 30px 0 40px 0;
}
.loan_apply a {
    text-decoration: none;
    background: #009eff;
    padding: 6px 25px;
    color: #ffffff;
    font-size: 1.2rem;
    border-radius: 33px;
    cursor: pointer;
}
.error, .error1{
    color: red;
}
.success{
    color: green;
}

@media (max-width: 767px) {
    form.loan_form {
        padding: 20px 15px;
        grid-template-columns: repeat(1, 1fr);
    }
    .form_head h1 {
        font-size: 1rem;
    }
    .form_body {
        width: 95%;
    }
}