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

@import url('https://fonts.cdnfonts.com/css/solaimanlipi');

/* Form Header Part starts*/
.form{
    width: 55%;
    margin: auto;
    background-color: white;
    padding: 30px;
   
}
.form_container{
    background-color:aliceblue;
   
}
.form_header_part{
    display: block;
    align-items: center;
}


.logo{
    flex: 100%;
    align-items: center;
}
.logo img{
    height: 150px;
    width: 150px;
    margin: auto;
}
.company_name_b h1{
    font-family: 'SolaimanLipi', sans-serif;
    font-size:40px; 
    color: green;    
    letter-spacing: 3px;                                     
}
.form_title{
    flex: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.form_name{
    padding: 10px 5px;
    
}

.form_header button{
    text-align: center;
    padding: 10px 50px;
    align-items: center;
    display: flex;
    margin: auto;
    border: 2px solid green;
    border-radius: 50px;
    border-style: inset;
    background: aliceblue;
    box-shadow:  5px 5px 5px aliceblue,
             -5px -5px 5px rgb(232, 242, 250);
}

.legend_button{
    text-align: center;
    padding: 5px 30px;
    align-items: center;
    display: flex;
    color: black;
    margin: auto;
    border: 1px solid green;
    border-radius: 10px;
    background: linear-gradient(40deg, rgb(99, 199, 230) 10%, rgb(114, 211, 218) 90%);;
    /*box-shadow:  10px 10px 10px aliceblue,
             -10px -10px 10px rgb(232, 242, 250); */
    text-transform: uppercase;
}
fieldset{
    border: 2px solid green;
    border-radius: 5px;
    border-style: groove;
    margin-top: 20px;
    border-radius: 10px;
background: #ffffff;
box-shadow:  5px 5px 10px #bfbfbf,
             -5px -5px 10px #ffffff;
    
}
 /* Check Box styling starts*/
.checkbox-container {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 26px;
    background-color: white;
    border: 1px solid rgb(172, 212, 247);
    border-radius: 5px;
    transition: background-color 0.2s;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #4caf50;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 6px;
    height: 12px;
    border: 1px solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

 /* Check Box styling starts*/

.checkboxes{
    padding: 0px 15px;
    display: flex;
    gap: 20px;
    margin-top: 15px; 
    align-items: center;
    padding-bottom: 20px ;
}
.checkbox1, .checkbox2, .checkbox3{
    flex: 1;
    align-items: center;
    text-align: center;
}


/* Form Header Part Ends*/

/*Personal Information starts*/
.name{
    padding: 0px 15px;
    display: flex;
    gap: 20px;
    margin-top: 15px;
}
.first_name{
    flex: 2;
} 

.last_name{
    flex:2;
}
.mid_name{
    flex: 1;
}

.first_name input, .last_name input, .mid_name input{
    width: 100%;
    padding: 5px;
    margin-top: 5px;
    border: 1px solid rgb(172, 212, 247);
    border-radius: 5px;
}

.ygdu {
    display: flex;
    gap: 20px;
    padding: 0px 15px;
    margin-top: 10px;
}

.address{
    padding: 0px 15px;
    margin-top: 15px;
}
.yob, .gender, .district, .upazila{
    flex: 1;
}
.ygdu input, .ygdu select, .phone_email input, .address input, .city_state_zip input, .city_state_zip select, .signature_date input, .first_row select{
    width: 100%;
    padding: 5px;
    margin-top: 5px;
    border: 1px solid rgb(172, 212, 247);
    border-radius: 5px;
    text-align: center;
    text-transform: uppercase;
}
.phone_email{
    display: flex;
    gap: 20px;
    padding: 0px 15px;
    margin-top: 10px;
}
.phone{
    flex: 1;
}
.email{
    flex: 1;
}
.city_state_zip{
    display: flex;
    gap: 20px;
    padding: 0px 15px;
    margin-top: 10px;
    margin-bottom: 15px;
}
.city, .state, .zip{
    flex: 1;
}

.terms_condition{
    padding: 10px 0px;
    margin-top: 10px;
    display: block;
    align-items: center;
    text-align: center;
    margin-bottom: 15px;
}
.terms_condition p{
    text-align: justify;
    padding: 0px 15px;
    font-size: 18px;
    line-height: 150%;
}

.signature-date{
    display: flex;
    gap: 0px 20px;
    padding: 15px;
}
.signature input, .date input{
    width: 50%;
    border: 1px solid rgb(169, 180, 169);
    border-radius: 5px;
    padding: 5px;
    margin: 5px 0px;  
    text-align: center;
}
.signature-date{
    align-items: center;
    margin: auto;
}
.signature {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
.signature-pad {
    width: 100%;
    height: 200px;
    border: 2px solid rgb(169, 180, 169);
}
.signature-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 20px;
    color: red;
    cursor: pointer;
    text-decoration: none;
}
/*Radio Button styling*/

.radio-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }
  
  .custom-radio {
    position: relative;
   
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    color: #333;
  }
  
  .custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }
  
  .radio-mark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: aliceblue;
    border-radius: 50%;
    border: 1px solid rgb(172, 212, 247);
    transition: background-color 0.3s, border-color 0.3s;
  }
  
  .custom-radio input:checked ~ .radio-mark {
    background-color: green;
    border-color: green;
  }
  
  .radio-mark::after {
    content: "";
    position: absolute;
    display: none;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
  }
  
  .custom-radio input:checked ~ .radio-mark::after {
    display: block;
  }
  
  .custom-radio:hover .radio-mark {
    border-color: #4a90e2;
  }
/*Personal Information ends*/
.cmcz, .office_use{
    display: flex;
    padding: 0px  15px;
    margin-top: 10px;
    margin-bottom: 15px;
   align-items: center; 
    
}
.zelle{
    flex: 35%;
    display: flex;
    align-items: center;
}
.cash{
    flex: 10%;
    display: flex;
    align-items: center;
    
}
.money_order{
    flex: 20%;
    display: flex;
    align-items: center; 
}
.checks{
    flex: 35%;
    display: flex;
    align-items: center;
}

.checks input, .zelle input{
 
    padding: 5px;
    margin-top: 5px;
    border: 1px solid rgb(172, 212, 247);
    border-radius: 5px;
    text-transform: uppercase;
}



.office_use{
    display: flex;
    padding: 0px  15px;
    margin-top: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.first_column{
    flex: 0 0 70%;
}
.second_column{
    flex: 0 0 30%;
}
.second_column{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.first_row{
    display: flex;
    gap: 20px;
    padding: 0px 15px;
    justify-content: center;
    align-items: center;
    
  }

  .div_signature{
    margin: 10px 0px;
    border: 1px solid green;
    height: 150px;
  }

  .approved_by_person select{
    width: 100%;
    padding: 5px;
    margin-top: 5px;
    border: 1px solid rgb(172, 212, 247);
    border-radius: 5px;
    text-align: center;
    text-transform: uppercase;}

  .item_1{
    flex: 1;}
.information{
    flex: 0 0 70%;
}
.approval{
    flex: 0 0 30%;
}

.information{
    display: block;
}

.sf, .ap{
    display: flex;
    gap: 20px;
}
.serial, .ftyo, .amount_paid, .payment_receipt{
    flex: 1;
}
.serial input, .ftyo input, .amount_paid input, .payment_receipt input, .first_column input, .second_column input{
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid rgb(172, 212, 247);
    border-radius: 5px;
    width: 100%;
    
    text-transform: uppercase;
}
.amount_paid{
    display: block;
    padding: 10pzx;
}
.amount{
    display: block;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 15px;
   align-items: center; 

}
.total_amount input{
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid rgb(172, 212, 247);
    border-radius: 5px;
    width: 100%;
    
    text-transform: uppercase;
}


.t_signature_date{
    display: flex;
    padding: 0px  0px;
    margin-top: 10px;
    margin-bottom: 15px;
    align-items: center;
    gap: 20px;
}

.t_signature, .t_date{
    flex: 1;
}
.t_date{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.t_date input{
    padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid rgb(172, 212, 247);
    border-radius: 5px;
    width: 100%;
    text-transform: uppercase;
    text-align: center;
}
.approval{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}
.approve_by, .a_signature{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px 0px;
}
.approve_by button{
    padding: 10px 70px;
    text-align: center;
   
    align-items: center;
   
    color: aliceblue;
    margin: auto;
    border: 1px solid green;
    border-radius: 10px;
    background: linear-gradient(180deg, rgb(18, 87, 62) 10%, rgb(52, 179, 29) 90%);;
    /*box-shadow:  10px 10px 10px aliceblue,
             -10px -10px 10px rgb(232, 242, 250); */
    text-transform: uppercase;
    font-size: 15px;
}
.signature-pad1{
    border: 1px solid rgb(172, 212, 247);
    height: 80px;
    width: 220px;
    border-radius: 5px;
    margin-bottom: 5px;
    
}

.t_signature{
    display: block;
    align-items: center;
   
    margin: auto;
    text-align: center;
}
.approval_name{
    text-align: center;
    font-size: 16px;


}

.t_name{
    text-align: center;
    font-size: 14px;
}

.button{
    padding: 15px 0px;
}
.button button{
    padding: 10px 25px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgb(18, 87, 62) 10%, rgb(52, 179, 29) 90%);;
    /*box-shadow:  10px 10px 10px aliceblue,
             -10px -10px 10px rgb(232, 242, 250); */
    text-transform: uppercase;
    font-size: 15px;
    color: #ffffff;
}
.action_button_approve{
    padding: 10px 25px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgb(18, 87, 62) 10%, rgb(52, 179, 29) 90%);;
    /*box-shadow:  10px 10px 10px aliceblue,
             -10px -10px 10px rgb(232, 242, 250); */
    text-transform: uppercase;
    font-size: 15px;
    color: #ffffff;
}
.action_button_reject{
    padding: 10px 25px;
    border-radius: 10px;
    background: red;
    /*box-shadow:  10px 10px 10px aliceblue,
             -10px -10px 10px rgb(232, 242, 250); */
    text-transform: uppercase;
    font-size: 15px;
    color: #ffffff;
}


  .same_above{

    padding: 15px 10px;

  }

  
  

@media (max-width: 1068px){
    .form{
        width: 100%;
        margin: auto;
        background-color: aliceblue;
    }
    .signature-date{
        display: flex;
        flex-direction: column;
    }

    .form_header_part{
        display: block;
        align-items: center;
    }
    .logo{
        display: block;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
   
    .form_title h1{
        font-size: 13px;
        padding: 5px 10px;
    }
    .form_title p{
        font-size: 12px;
        padding: 5px 0px;
    }
    .phone_email, .name, .ygdu, .city_state_zip, .checkboxes, .signature_date, .first_row{
        display: block;
    }
    
    .checkboxes {
        display: flex;
        text-align: center;
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align checkboxes to the left */
        gap: 25px; /* Add more space between items */
    }
    .phone_email input, .name input, .ygdu input, .ygdu select, .city_state_zip input, .city_state_zip select, .first_row select{
        margin-bottom: 5px;
    }

    .input input{
    padding: 5px;
    margin-top: 5px;
    border: 1px solid rgb(172, 212, 247);
    border-radius: 5px;
    
    text-transform: uppercase;
    }
    
    .payment_total{
        border: 1px solid green;
        background: linear-gradient(180deg, rgb(18, 87, 62) 10%, rgb(52, 179, 29) 90%);;
    }
    
    .terms_condition{
        padding: 0px;
    }
    .signature_date{
        display: block;

    }
    

    .signature-pad{
        border: 1px solid rgb(172, 212, 247);
        height: 80px;
        width: 280px;
        border-radius: 5px;
        margin-bottom: 5px;
    }
    .zelle {
        display: block;
        align-items: center;
    }

    .cmcz{
        display: flex;
        text-align: center;
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align checkboxes to the left */
        gap: 35px; /* Add more space between items */
    }

    
    .checks, .cash, .zelle, .money_order{
        display: flex;
        align-items: center;
        }
    
    .checkbox3 input{
    padding: 5px;
    margin-top: 0px;
    border: 1px solid rgb(172, 212, 247);
    border-radius: 5px;
    width: 100%;
    text-transform: uppercase;
    }

    .checkbox3{
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .address, .city_state_zip, .ygdu{
        margin-top: 5px;
    }

    .sf, .ap{
        display: block;
        }
        .serial input, .ftyo input, .amount_paid input, .payment_receipt input{
            padding: 5px;
            margin-top: 5px;
            margin-bottom: 5px;
            border: 1px solid rgb(172, 212, 247);
            border-radius: 5px;
            width: 100%;
            text-transform: uppercase;
        }

    .office_use{
        display: block;
    }

    .approve_by, .a_signature{
        display: block;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 5px 0px;
    }

    .t_signature_date{
        display: block;
        padding: 0px  0px;
        margin-top: 10px;
        margin-bottom: 15px;
        align-items: center;
    }
    .t_signature{
        display: block;
        align-items: center;
        flex: wrap;
        margin: auto;
        text-align: center;
    }
    .signature-pad{
        margin-bottom: 10px;
        text-align: center;
        display: block;
        flex-wrap: wrap;
        align-items: center;
        
    }
    .zelle input, .checks input{
        padding: 5px;
    
    margin-left: 5px;
    border: 1px solid rgb(172, 212, 247);
    border-radius: 5px;
    width: 100%;
    
    text-transform: uppercase;
    }

    .button{
        display: block;
        margin: auto;
        text-align: center;
    }

    .legend_button{
        text-align: center;
        padding: 5px 30px;
        align-items: center;
        display: flex;
        font-size: 9px;
        color: black;
        margin: auto;
        border: 1px solid green;
        border-radius: 10px;
        background: linear-gradient(90deg, rgb(99, 199, 230) 10%, rgb(114, 211, 218) 90%);;
        /*box-shadow:  10px 10px 10px aliceblue,
                 -10px -10px 10px rgb(232, 242, 250); */
        text-transform: uppercase;
    }

    .agreement_field{
        margin-top: 10px;
       
    }
    .agreement_field span{
        font-size: 10px;
    }
    
}