@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
*{
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.box{
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}
.first-block{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.export{
    display: flex;
    justify-content: flex-start;

}
.export span{
    display: flex;
    align-items: center;
    font-size: 14px;
    background-color: #2E6C9A;
    color: white;
    padding: 5px 10px;
    display: flex;
    gap: 5px;
    cursor: pointer;
    border-radius:4px;
}
.inheading{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 10px;
}
.recent{
    font-size: 14px;
    background-color: #2E6C9A;
    color: white;
    padding: 5px 10px;
    gap: 5px;
    cursor: pointer;
    border-radius:4px;
}
.fetching{
    border-radius: 10px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.contentofpage .all-details-head{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left:10px ;
}
.contentofpage .all-details-head .org-details{
    display: flex;
    align-items: center;
    gap: 30px;
}
.contentofpage .all-details-head .org-details figure{
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #bdbdbd;
}
.all-details-head .org-details figure img{
    background-color: white;
    border-radius: 50%;
    height: 65px;
    width: 65px;
    object-fit: contain;
}
.all-details-head .org-details span{
    font-family: "Saira", sans-serif;
    font-size: 19px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    i{
        font-size: 16px;
    }
}
.contentofpage .all-details-head .this-heading{
    display: flex;
    align-items: center;
    padding:30px 40px;
    border-radius: 40px 0px 0px 40px;
    background-color: #10578B;
    height: 100%;
}
.contentofpage .all-details-head .this-heading div{
    font-size: 18px;
    font-weight: 500;
    color: white;
}
.contentofpage .all-details{
    border-top: 1px solid rgba(27, 31, 35, 0.264);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    justify-content: space-between;
    font-size: 14px;
    gap: 10px;
}
.contentofpage .organisation-det{
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: rgb(113, 113, 113);
    max-width: 400px;
    width: 100%;
}
.contentofpage .all-details .details{
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    justify-content: flex-start;
    gap: 5px;
    .material-symbols-outlined{
        font-size: 20px;
    }
}

.contentofpage .all-details .enter-det{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    justify-content: space-evenly;
    font-size: 14px;
    color: rgb(113, 113, 113);
}
.all-details .enter-det .client input{
    width: 120px;
    padding: 5px;
    text-align: left;
    border: 1px solid rgb(207, 207, 207);
    border-radius: 3px;
    outline: none;
    color: rgb(113, 113, 113);
}
.enter-det .client span:last-child{
    padding: 0px 7px;
}
.all-details .enter-det .client #fetch-details{
    background-color: #009944;
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
}
.all-details .main-client-det{
    display: none;
}
.all-details .cient-det{
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: rgb(113, 113, 113);
}
@media (max-width:768px) {
    .all-details-head{
        flex-direction: column-reverse;
        align-items: center;
        justify-content: right;
        gap: 20px;
    }
    .contentofpage .all-details-head .this-heading{
        padding: 10px 20px;
        border-radius: 30px;
    }
}

/* description table  */
tbody input{
    border: none;
    outline: none;
    max-width: max-content;
    width: 100%;
}
.description{
    margin-top: 20px;
}
.description .invoice-fetching{
    display: flex;
    align-items: center;
    gap: 10px;
}

.description .invoice-details .invoice-number-details{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}
.description .invoice-details #invoice-fetching-table-btn{
    background-color: green;
    width: max-content;
    color: white;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
.description .invoice-details .invoice-number-details>label{
    font-size: 14px;
    color: rgb(94, 94, 94);
}
.description .invoice-details .invoice-number-details #invoice-number{
   padding: 2px;
   outline: gray;
}

.all-invoice-fetching{
    display: none;
}

.table-container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    background-color: transparent;
    padding:0px 15px;
    border-radius: 8px;
    /* border: 1px solid gray; */
    box-sizing: border-box;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
table i{
    margin-right: 4px;
}
.building{
    color:rgb(85, 154, 234);
}
.bag{
    color:rgb(249, 91, 201);
}
.price{
    color:rgb(196, 170, 86);
}
th, td {
    padding: 10px;
    font-size: 14px;
    box-sizing: border-box;
    padding: 10px 2px;
    border-bottom: 1px solid #828282;
    text-align: left;
    background-color: transparent;
}
td input{
    background-color: transparent;
}
th{
    max-width: 200px;
    
}
thead {
    background-color: transparent;
    /* text-align: left; */
    max-width: max-content;

    width: 100%;
    box-sizing: border-box;
}

.addbtn {
    margin-top: 20px;
    padding: 5px 10px;
    background-color: #008994;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.addbtn:hover {
    background-color: #036d7a;
}
.delete-row{
    background-color: transparent;
    padding: 0px;
    width: 0px;
    margin: 0px;
    width: max-content;
    border: none;
    cursor: pointer;
}
.delete-row i {
    
    font-size: 16px;
    color: #f44336;
}
.total-container{
    display: flex;
    justify-content: flex-end;
    padding-right: 5%;
}
.totals {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    width: 100%;
    padding: 20px 50px;
    background-color: #036d7a;
    color: white;
    border-radius: 8px;
    width: max-content;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    max-width: 250px;
    border-bottom: 1px solid white;
    padding-bottom: 5px;
}

.label {
    text-align: right;
    margin-right: 10px;
    font-size: 14px;
}

.value {
    font-weight: bold;
    font-size: 14px;
}

.totals-row input {
    text-decoration: underline;
    border: none;
    outline: none;
    text-align: left;
    padding: 2px 5px ;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}
.description .grand-total{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    margin-top: 10px;
}
.description .grand-total #total-amount{
    font-weight: 500;
}
/* payment mod */
.payment-all-details{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
}
.pay{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
    margin-top: 20px;
}
.mod {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    font-size: 14px;
}
.mod .label{
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

.payment-all-details .amount-paid, .payment-all-details .amount-arrers{
    display: flex;
    align-items: center;
    gap: 5px;
}
.payment-all-details .amount-paid>label,
.payment-all-details .amount-arrers>label{
    font-weight: bold;
    font-size: 14px;
}
.payment-all-details .amount-paid #paid-amount,
.payment-all-details .amount-arrers #arrer-amount{
    padding: 5px;
    outline: none;
    font-size: 14px;
}

/* signature */ 
.Signature{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 50px;
}
.subsign{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}
.subsign label{
    border-bottom: 1px solid black;
    font-size: 14px;
}
.form1, .form2{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.form1 input, .form2 input{
    border: none;
    outline: none;
    margin: 5px 0px;
    background-color: transparent;
    border-bottom: 1px solid rgb(237, 237, 237);
    font-size: 14px;
}






.inputs{
    text-align: center;
    border-bottom: #e9e9e9;
}

/* btn */
.savebtn{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
.btnbox{
    width: 80%;
    display: flex;
    justify-content: space-evenly;
}
.save{
    font-size: 14px;
    cursor: pointer;
    color: white;
    background-color: #008994;
    border-radius: 4px;
    padding: 4px 8px;
}
.save:hover{
    background-color:#036d7a;

}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
/* .reset{
    font-size: 14px;

    cursor: pointer;
    color: white;
    background-color: rgb(234, 0, 0);
    border-radius: 4px;
    padding: 4px 8px;
    transition: all 0.2s ease-in-out;
}
.reset:hover{
    transform: scale(1.01);
    background-color: rgb(211, 1, 1);

} */
.required {
    color: red;
}
.error-border {
    border: 1px solid red;
    border-color: red;
    
}

.tableheading{
    width: 100%;
    font-size: 16px;
    font-weight: bold;
}