/* ===== Google Font Import =======  */

@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;
    font-family: 'Poppins', sans-serif;
}
body{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;

}
.container{
    position: relative;
    max-width: 1300px;
    width: 100%;
    border-radius: 6px;
    padding: 30px;
    margin: 0 15px;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.container header{
    position: relative;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}
.container header::before{
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 3px;
    width: 27px;
    border-radius: 8px;
    background-color: #df0024;
}
.container form{
    position: relative;
    margin-top: 16px;
    min-height: 490px;
    background-color: #fff;
}
.container form .details{
    margin-top: 30px;
}
.container form .title{
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 500;
    margin: 6px 0;
    color: #333;
}
.container form .data-rek{
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 500;
    margin: 6px 0;
    color: #333;
}
.container form .fields{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.container form .fields-products{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.container form .documentsellRecipt{
    display: flex;
    align-items: center;
    justify-content:left;
    flex-wrap: wrap;
}
form .fields-products .fields-products-data{
    display: flex;
    width: calc(100% / 3 - 6px);
    border-radius: 5px;
    flex-direction: column;
    margin: 4px 0;
}
.fields-products-data input{
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 35px;
    margin: 8px 0;
}
form .fields-products .fields-products-sellD{
    display: flex;
    width: 450px;
    border-radius: 5px;
    flex-direction: column;
    margin: 4px 0;
}
.fields-products-sellD input{
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 35px;
    margin: 8px 0;
}
form .fields .input-field{
    display: flex;
    width: calc(100% / 4 - 15px);
    flex-direction: column;
    margin: 4px 0;
}
form .documentsellRecipt .inputdocumentSale input {
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 35px;
    width: 80px;
    margin: 8px 0;
}
form .documentsellRecipt .inputdocumentSale1 input {
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 35px;
    width: 113px;
    margin: 8px 0;
}
form .documentsellRecipt .inputdocumentSale2 input {
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 35px;
    width: 70px;
    margin: 8px 0;
}
form .documentsellRecipt .inputdocumentSale3 select {
    outline: none;
    border: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 35px;
    width: 110px;
    margin: 8px 0;
}
/* form .fields-select .input-field{
    display: flex;
    width: calc(100% / 2 + 95px);
    width: 450px;
    flex-direction: column;
    margin: 4px 0;
} */
.input-fields-products input{
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 35px;
    margin: 8px 0;
}
.input-field-product::after {
    line-height: 5px;
}
.input-field label{
    font-size: 16px;
    font-weight: 500;
    color: #2e2e2e;
}
.input-field input {
    display: flex;
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 35px;
    margin: 8px 0;
}
.input-field-data input{
    display: flex;
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 35px;
    margin: 8px 0;
}
.input-field input:is(:focus, :valid){
    box-shadow: 0 3px 6px rgba(0,0,0,0.13);
}
.form .client-box{
    margin-top: 20px;
}
.container form .client-type{
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 500;
    margin: 6px 0;
    color: #333;
}
.form :where(.client-option, .client){
    display: flex;
    align-items: center;
    column-gap: 25px;
}
.form .client {
    column-gap: 5px;
}
.form :where(.client input, .client label){
    cursor: pointer;
}
.container form .client-type{
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 500;
    margin: 6px 0;
    color: #333;
}
.form :where(.document-option, .documentsell){
    display: flex;
    align-items: center;
    column-gap: 25px;
}
.form .documentsellRecipt {
    column-gap: 5px;
}
.form :where(.documentSell input, .documentSell label){
    cursor: pointer;
}
.form :where(.select-amount-products, .fields-products-status) {
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 35px;
    margin: 8px 0;
}
form .fields-select .input-field .fields-products-status{
    display: flex;
    width: calc(100% / 4 + 95px);
    /* width: 100%; */
    flex-direction: column;
    margin: 4px 0;
}
form .fields-products-status select{
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #333;
    font-size: 1rem;
}
.documentsellRecipt .checkRecipt1 {
    display: flex;
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #333;
    font-size: 1rem;
}
.documentsellRecipt .checkInvoice1 {
    display: flex;
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #333;
    font-size: 1rem;
}
form .fields-select .input-field .select-amount-products{
    display: flex;
    width: calc(100% / 4 + 95px);
    /* width: 100%; */
    flex-direction: column;
    margin: 4px 0;
}
form .select-amount-products select{
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #333;
    font-size: 1rem;
}
form .message textarea{
    min-width: 100%;
    max-width: 100%;
    min-height: 100px;
    max-height: 350px;
    border-radius: 5px;
    outline: none;
    padding: 0 15px;
    border: 1px solid #aaa;
    color: #333;
    font-size: 1rem;
}
form .button-area{
    margin: 25px 0;
}
.button-area button{
    font-size: 18px;
    border: none;
    color: #fff;
    border-radius: 5px;
    background: #df0024;
    padding: 13px 25px;
}
.button-area span{
    color:#333;
    margin-left: 15px;
    display: none;
}
@media (max-width: 900px) {
    .container form {
        overflow-y: scroll;
    }
    .container form::-webkit-scrollbar {
        display: none;
    }
    form .fields .input-field{
        width: calc(100% / 2 - 15px);
    }
    form .fields-products .fields-products-data{
        width: 100%;
    }
    form .input-field .fields-products-status{
        width: 100%;
    }
    form .select-amount-products{
        width: 100%;
    }
    form .fields-products .fields-products-sellD{
        width: 100%;
    }
    form .fields-select .input-field .fields-products-status{
        width: 100%;
    }
    form .fields-select .input-field .select-amount-products{
        width: 100%;
    }
    form .button-area{
        flex-direction: column;
    }
    .button-area button{
        width: 45%;
    }
}

@media (max-width: 550px) {
    form .fields .input-field{
        width: 100%;
    }
    form .fields-products .fields-products-data{
        width: 100%;
    }
    form .fields-products .fields-products-sellD{
        width: 100%;
    }
    form .fields-select .input-field .fields-products-status{
        width: 100%;
    }
    form .fields-select .input-field .select-amount-products{
        width: 100%;
    }
    form .button-area{
        flex-direction: column;
    }
    .button-area button{
        width: 100%;
    }
    .button-area span{
        text-align: center;
        margin: 20px 0;
    }
}