:root{
    --colorNavList: rgb(37, 37, 37);
    --BackgroundColorNavList: #7ae0ff;
    --BackgroundColorsubNavList: #b7eeff;
    --hoverNavList: #869aff;
    --CurrentPNavList: #3a5bff;
    --CurrentPNavListcolor: #000000;
    --setValueColor:#6100d8;
    
}
html {
  interpolate-size: allow-keywords; /* 1. Enable keyword animations globally */
}
body{ /*body*/
    font-family: Phetsarath OT;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}
div {
    margin-top: 0px;
    background-color: #ffffff;
}
h1{ /*All h1*/
    font-size: 25px;
    text-align: center;
    margin: 0px;
}
h3{
    margin: 10px 0px 0px 0px;
    padding: 0px;
    color: #001eff;
}
hr{ /*horizontal line*/
    margin: 0px 0px 10px 0px
}
table {
    margin: 0px;
    padding: 0px;
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    border-bottom: 2px solid #ccc;
}
table, th, td {
    border: 1px solid black;
}
/* Set specific widths for columns */
/*th:nth-child(1) { width: 70px; }*/
/*th:nth-child(2) { width: 300px; }*/
th{
    margin: 0px;
    background-color: #a3dfff;
    font-size: 18px;
    height: 30px;
    text-align: center;
}
tr{
    margin: 0px;
    margin: 0px;
}
td { /*td normal*/
    padding: 5px;
    /*word-wrap: break-word;*/
    overflow: hidden; /*Hides the text that goes beyond the cell boundary.*/
    white-space: nowrap; /* Forces the text onto a single line. */
    text-overflow: ellipsis;
}
.logoDiv{ /* LOGO on login page*/
    display: flex;
    justify-content: center;
    width: 100%;
    /*align-items: center;*/
}
.MainDiv{ /*style content*/
    padding: 0px;
}
.pageHeader{
    display: grid;
    grid-template-columns: 100px auto 80px 70px;
    height: 60px;
    margin: 0;
    padding: 0;
    background-color:#7585ff;
    color: rgb(0, 0, 0);
    font-size: 60px;
}


.form-group{ /*overall form, the outer Div inside form*/
    margin: 0;
    /*width: clamp(300px, 50%, 1000px);*/
    width: 100%;
    text-align: left;
}
.PreviewLastaddGoodsDiv{
    /*display: absolute;*/
    width: 400px;
    text-align: center;
    /*position: fixed;*/
    /*top: 70px;*/
    /*left: 10px;*/
    background-color: #f9f9ff;
    color: darkcyan;
    border: 3px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8) inset;
    margin: 0px;
    padding: 0px;

}
#addGoods-form{
    width: 100%;
    min-width: 600px;
    max-width: 1200px;
    padding: 0 10px;
}
#formSubGoodsAddEdit{
    width: 100%;
    min-width: 600px;
    max-width: 1200px;
    padding: 0 10px;
}
.PreviewData{
    font-family: Phetsarath OT;
    font-size: 18px;
    margin: 0px;
    padding: 2px 5px 2px 20px;
}
.PreviewDataLabel{
    font-family: Phetsarath OT;
    font-size: 20px;
    font-weight: 500;
    margin: 0px;
    padding: 5px 5px 5px 20px;
}
/*.sub-form-group{
    margin-left: auto;
    margin-right: auto;
    width: clamp(300px, 50%, 1000px);
    text-align: left;
    background-color: #b8b8b8;
}*/
.subGoodsListForm{
    display: block;
    width: 100%;
}

.form-control{ /*all form elements inside the form Div*/
    box-sizing: border-box;
    margin-top: 0px;
    margin-bottom: 10px;
    width: 99%;
    height: 40px;
    font-size: clamp(16px, 50%, 40px);
    text-align: left;
    font-family: Phetsarath OT;
}

.ImageInput{
    margin: 0px;
    padding: 15px 0px 0px 10px;
    width: 80%;
    background-color: #ffffff;
    border: 1px solid rgb(0, 0, 0);
}
.imgOfGoodsIntable{
    width: 40px;
    height: 50px;
    margin: 0px;
    padding: 0px;
}
.tdLastRowForButton{
    text-align: center;
}
.totalData{
    margin: 0px;
    padding: 10px 0px 0px 20px;
    color: #0066ff;
}
/*Image*/
.imgMainDiv{
    display: flex;
    width: 100%;
}
.imgOfGoods{
    width: 100%;
    height: 100%;
}
.DivImgOfGoodsBefore{
    display: none;
    width: 120px;
    height: 150px;
    border: 2px solid rgb(0, 0, 0);
    /*margin: 20px;*/
}
.DivImgOfGoods{
    width: 120px;
    height: 150px;
    border: 2px solid rgb(0, 0, 0);
    /*margin: 20px;*/
}
.arrowTransitionPic{
    display: none;
    margin: 30px 20px 0px 20px;
}
/*Search element-----------------------------------------------*/
/*.SearchBoxlabel{
    padding: 0;
    margin: 0;
    padding-left: 20px;
}*/
.SearchGroup{ /*Div*/
    position: sticky;
    top: 60px;
    height: 100px;
    margin: 0px;
    padding: 0px;
    padding-left: 20px;
}
.SearchBox{
    font-family: Phetsarath OT;
    font-weight: bold;
    margin: 0px 0px 0px 10px;
    padding: 0px 0px 0px 10px;
    outline: none;
    width: 200px;
    min-width: 100px;
    height: 40px;
    font-size: 16px;
    border: 2px solid blue;
    background-color: #d6f5ff;
    border-radius: 4px;
}
.btnRefresh{
    width: 40px;
    height: 40px;
    font-size: 16px;
    padding: 0;
    border-radius: 10px;
    background-color: #ffd500;
}
.btnRefresh:hover, .btnRefresh:active{
    background-color: #ffe76c;
    font-size: 18px;
}
.SearchBoxBarcode{
    font-family: Phetsarath OT;
    font-weight: bold;
    margin: 0px;
    padding: 0px 0px 0px 10px;
    outline: none;
    width: 100px;
    min-width: 100px;
    height: 40px;
    font-size: 16px;
    border: 2px solid blue;
    background-color: #d6f5ff;
    border-radius: 4px;
}
.SearchBoxBarcode:focus{
    background-color: #65d8ff;
}
.SearchBox:focus{
    background-color: #65d8ff;
}
.TypeSearch{
    display: inline;
    margin: 10px;
    padding: 0px;
    text-align: center;
    font-size: 16px;
    border: 2px solid blue;
    background-color: #d6f5ff;
    font-weight: bold;
    font-family: Phetsarath OT;
    min-width: 100px;
    height: 40px;
}
/*Format for all button-----------------------------------------------*/
.LoginB{
    background-color: #0055ff;
    color: #dffff2;
    box-shadow: inset -3px -3px 3px #4a4a4a;
    font-family: Phetsarath OT;
    width: clamp(150px, 50%, 400px);
    height: 50px;
    font-size: clamp(20px, 50%, 45px);
    border-radius: 5px;
    font-weight: 800;
    cursor: pointer;
    align-items: center;
}
.DivLoginB{
    display: flex;
    justify-content: center; /* Centers horizontally */
    padding-top: 20px;
    /*align-items: center;*/     /* Centers vertically (requires container height) */
    /*height: 100vh;  */         /* Optional: makes container full screen height */
}
.linkButton{
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0px 20px 20px;
    background-color: #00c3ff;
    border: 2px solid rgb(0, 0, 0);
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
}
.LoginB:hover, .linkButton:hover{
    opacity: 0.7;
}

.tableButton {
    background-color: #ffbb00;
    color: #000000;
    border: 2px solid rgb(0, 0, 0);
    padding: 2px 10px;
    width: 3px;
    height: 2px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}
.AddButtonSetting{
    display: flex;
    background-color: #ffbb00;
    color: #000000;
    border: 2px solid rgb(0, 0, 0);
    padding: 2px 10px;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 35px;
    margin: 0 5px 5px 5px;
    float: right;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}
.tableDeleteButton{
    background-color: #ff0000;
    color: #000000;
    margin-left: 5px;
    border: 2px solid rgb(0, 0, 0);
    padding: 2px 10px;
    width: 3px;
    height: 2px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}
.tableGoodsDetailLink{
    color: #0026ff;
    font-weight: 800;
    /*padding: 2px 10px;*/
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
}
.fa fa-info-circle{
    size: 10px;
}
.DeleteButton-small{
    font-family: Phetsarath OT;
    background-color: #ff0000;
    color: #000000;
    border: 2px solid rgb(0, 0, 0);
    padding: 1px 4px;
    text-decoration: none;
    border-radius: 5px;
    margin: 0px;
    cursor: pointer;
}
.AddButton-small{
    font-family: Phetsarath OT;
    background-color: #00ff80;
    color: #000000;
    border: 2px solid rgb(0, 0, 0);
    padding: 3px 8px;
    text-decoration: none;
    border-radius: 5px;
    margin: 0px;
    cursor: pointer;
}
.AddButton{
    font-family: Phetsarath OT;
    background-color: #00ff80;
    color: #000000;
    border: 2px solid rgb(0, 0, 0);
    padding: 6px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
}
.ResetButton{
    font-family: Phetsarath OT;
    background-color: #ff5151;
    color: #000000;
    border: 2px solid rgb(0, 0, 0);
    padding: 4px 15px;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
}
.ButtonDiv{
    display: flex;
    margin-top: 50px;
    justify-content: center; /* Centers horizontally */
    /*padding-top: 20px;*/
}

/*table------------------------------------------------------------*/

.GoodsPtableHSticky{
    position: sticky;
    box-shadow: inset 0 1px 0 0 #000000; 
    top: 159px;
    z-index: 50; /* Keeps header above table content */
    margin: 0px;
    background-color: #a3dfff;
    font-size: 16px;
    height: 50px;
    text-align: center;
}

.tdInputBox{ /*td which contain inputBox*/
    padding: 0px;
}
.tdleftAlign{ /*Main Goods table*/
    table-layout: auto;
    margin: 0px;
    padding: 0px;
    background-color: #ffffff;
    font-size: 16px;
    text-align: left;
    min-width: 400px;
}
.tdCenterAlign{ /*sub Goods table in Add or Edit page*/
    margin: 0px;
    padding: 0px;
    background-color: #ffffff;
    font-size: 15px;
    text-align: center;
}
.sub-form-control{ /*the input element in sub form and in table*/
    background-clip: padding-box;
    margin: 0px;
    padding: 3px;
    width: 100%;
    height: 30px;
    font-family: Phetsarath OT;
    font-size: clamp(16px, 50%, 40px);
    background-color: #ffffff;
    border: 2px; /*makes drop downlist inside table fit to a cell*/
}
.tdaddSubFormButton{
    text-align: right;
}
.rowCountHidden{ /*count tb row to Php file*/
    display: inline;
    float: left;
    width: 20px;
    border: none;
}
.spanRow{
    float: left;
}
.hiddenPara{
    display: none;
}
.ResultBarcodeCheck{
    display: none;
    background-color:red;
    color: white;
    padding: 3px 20px 3px 20px;
}
/*-------------------------------------------------------------------------------*/

/*#Logout{
    position: fixed;
    font-family: Phetsarath OT;
    background-color: #000000;
    border-radius: 5px;
    padding: 10px 20px;
    color: #ffffff;
    top: 0px;
    right: 10px;
    z-index: 1000;
}*/
/*.logoutB{
    display: none;
}*/
#notFound{
    display: none;
    margin: 50px;
}
.form-control-ID{
    margin-top: 0px;
    margin-bottom: 10px;
    width: 99%;
    height: 30px;
    font-size: clamp(16px, 50%, 40px);
    text-align: left;
    background-color: #ffd0d0;
    font-family: Phetsarath OT;
    font-weight: bold;
}
/*modal**************************/
div.modal{
    box-sizing: border-box;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
div.subModal{
    box-sizing: border-box;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
div.modal.open{
    display: flex;
    z-index: 150;
    align-items: center;
    justify-content: center;
}
div.subModal.open{
    display: flex;
    z-index: 151; /*on top normal modal 1 level*/
    align-items: center;
    justify-content: center;
}
div.subModalInner{ /*size as percent*/
    background-color: #dffff2;
    margin: 0px;
    border: 5px solid;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    width: 70%;
    height: 80%;
    text-align: left;
    overflow: auto;
}
div.subModalInner2{ /*fix size*/
    background-color: #dffff2;
    margin: 0px;
    border: 5px solid;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    width: 500px;
    height: 630px;
    text-align: left;
    overflow: auto;
}
div.subModalInner3{ /*fix size*/
    background-color: #dffff2;
    margin: 0px;
    border: 5px solid;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    width: 500px;
    height: 500px;
    text-align: left;
    overflow: auto;
}
div.modalInner{
    background-color: #dffff2;
    margin: 0px;
    border: 5px solid;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    width: 80%;
    height: 95%;
    text-align: left;
    overflow: auto;
}
.GoodsDivPgroup, .GoodsDivPgroup2{
    box-sizing: border-box;
    display: block;
    font-size: 18px;
    width: 500px;
    margin: 10px 0px;
    margin-left: 30px;
    /*height: 300px;*/
    border-left: 1px solid;
    padding: 10px;
    background-color: #dffff2;
}
/*.GoodsDivPgroup2{
    display: inline-block;
    width: 400px;
    background-color: #dffff2;
}*/
.Labelinfo{
    display: block;
    width: 500px;
    font-size: 20px;
    font-weight: bold;
}
.LabelinfoValue{
    float: right;
    font-weight: normal;
    margin-right: 15px;
    color: var(--setValueColor);
}
.InputinfoValue{
    box-sizing: border-box;
    font-family: Phetsarath OT;
    width: 70%;
    float: right;
    text-align: left;
    font-size: 20px;
    height: 30px;
    color: var(--setValueColor);
}
#TagStatus{
    padding: 10px;
}
#closeModal{ /*close-button*/
    font-family: Phetsarath OT;
    /*position: relative;*/
    /*float: right;*/
    /*z-index: 101;*/
    margin-left: 90px;
    margin-right: 0%;
    padding: 0px;
    width: 30px;
    height: 30px;
    background-color: #ff0000;
    border: 2px solid rgb(0, 0, 0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    color: #000000;
    cursor: pointer;
    border-radius: 5px;
}
#closeModal:hover{ /*close-button*/
    background-color: #ff5b5b;
}
.ButtonNormal{
    font-family: Phetsarath OT;
    font-size: 20px;
    font-weight: 500;
    padding: 5px;
    height: 50px;
    border: 2px solid rgb(0, 0, 0);
    box-shadow: 0 1px 4px 4px rgba(0, 0, 0, 0.3);
    color: #000000;
    cursor: pointer;
    border-radius: 10px;
}
/*#SaleTypeBtnModal, #SaleDelete, #SaleBtnModal, #SaleRecordBtnModal, #PayDeptBtnModal, #ClearBtnModal, #CheckBtnModal, #CheckStockBtn, #AdjustStockBtn, #AdjustSTHisBtn, #CheckSTHisBtn, #CexBtnModal, #RecordRateBtn{
    font-family: Phetsarath OT;
    font-size: 20px;
    font-weight: 500;
    padding: 5px;
    height: 50px;
    border: 2px solid rgb(0, 0, 0);
    box-shadow: 0 1px 4px 4px rgba(0, 0, 0, 0.3);
    color: #000000;
    cursor: pointer;
    border-radius: 10px;
}*/
#RecordGoodsTypeBtn{
    background-color: #00bbff;
    width: 100px;
}
#RecordSupllierBtn{
    background-color: #00bbff;
    width: 100px;
}
#RecordCustomerBtn{
    background-color: #00bbff;
    width: 100px;
}
#RecordRateBtn{
    background-color: #00bbff;
    width: 100px;
}
#CexBtnModal{
    background-color: #00fbff;
    width: 200px; 
}
#AdjustSTHisBtn, #CheckSTHisBtn{
    background-color: #00ffff;
    width: 150px; 
}
#AdjustStockBtn{
    background-color: #ff5500;
    font-weight: 800;
    color: yellow;
    width: 150px; 
}
#CheckStockBtn{
    background-color: #ffa200;
    font-weight: 800;
    width: 200px;
}
#SaleBtnModal{
    background-color: #007bff;
    width: 100px;
}
#SaleDelete{
    visibility: hidden;
    background-color: #ff0000;
    width: 100px;
}
#SaleTypeBtnModal{
    background-color: #00ff88;
    width: 200px;
    /*left: 600px;*/
}

#SaleRecordBtnModal{
    background-color: #007bff;
    width: 200px;
    font-weight: 1000;
}
#PayDeptBtnModal{
    background-color: #ff9d00;
    width: 200px;
}
#ClearBtnModal{
    background-color: #ff5e00;
    width: 150px;
}
#CheckBtnModal{
    background-color: #69a0ff;
    width: 150px;
}

/*Nav bar*****************************/
.slide{
    padding: 0px;
    margin: 0px;
    height: 100%;
    width: 200px;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: var(--BackgroundColorNavList);
    z-index: 197; /*----------------------------------------------------900*/
    transition: 0.3s ease;
    transform: translateX(-200px);
}
.H1Nav{
    color: #ffffff;
    background-color: #001eff;
    font-weight: 800;
    text-align: right;
    padding: 10px 0px;
    padding-right: 10px;
    pointer-events: none;
}
.NavUl{
    display: block;
    list-style: none;
    padding-inline-start: 0px;
}
.NavLi{
    position: static;
    color: var(--colorNavList);
    font-weight: 500;
    padding: 5px 0px 5px 20px;
    margin: 0px;
    display: block;
    z-index: 198; /*----------------------------------------------------945*/
}
.NavLi1{
    position: static;
    color: var(--colorNavList);
    background-color: var(--BackgroundColorNavList);
    font-weight: 500;
    padding: 5px 0px 5px 20px;
    margin: 0px;
    display: block;
    cursor: pointer;
}
button.NavLiLogoutB{
    font-family: Phetsarath OT;
    position: relative;
    display: block;
    width: 100%;
    color: var(--colorNavList);
    background-color: var(--BackgroundColorNavList);
    font-weight: 500;
    padding: 5px 0px 5px 20px;
    border: 0px;
    margin: 0px;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
}
.labelNavLi1{
    display: block;
    position: static;
    font-weight: 500;
    margin: 0px;

}

.subNavLi{
    text-align: left;
    color: var(--colorNavList);
    background-color: var(--BackgroundColorsubNavList);
    display: block;
    padding: 5px 0px 5px 30px;
}
.Nava{
    display: block;
    color: var(--colorNavList);
    text-decoration: none;
    width: 100%;
}
.subNava{
    display: block;
    color: var(--colorNavList);
    text-decoration: none;
    width: 100%;
}
.subNavLiDiv1{
    display: block;
    position: static;
    width: 100%;
    height: 0px;
    overflow: hidden; /* Hides content spilling out */
    padding: 0px;
    margin: 0px;
    transition: height 0.3s ease;
}
.currentP, .subNavLiDiv1 .currentP{
    background-color: var(--CurrentPNavList);
}
.currentP a, .subNavLiDiv1 .currentP a{
    color: var(--CurrentPNavListcolor);
    font-weight: 500;
}
.NavLi:hover{
    background-color: var(--hoverNavList);
}
.NavLi1:hover{
    background-color: var(--hoverNavList);
}
.subNavLi:hover{
    background-color: var(--hoverNavList);
}
button.NavLiLogoutB:hover{
    background-color: var(--hoverNavList);
}
.labelToggle{
    display: block;
    z-index: 200; /*----------------------------------------------------995*/
}
.inputToggle{
    display: none;
}
.toggle{
    position: fixed;
    height: 30px;
    width: 30px;
    top: 10px;
    left: 15px;
    background-color: rgb(255, 255, 255);
    z-index: 199; /*----------------------------------------------------950*/
    cursor: pointer;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.common{
    position: absolute;
    height: 2px;
    width: 20px;
    background-color: blue;
    border-radius: 50px;
    transition: 0.5s ease;
}
.top_line{
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.middle_line{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.bottom_line{
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.inputToggle:checked ~ .toggle .top_line{
    left: 2px;
    top: 14px;
    width: 25px;
    transform: rotate(45deg);
}
.inputToggle:checked ~ .toggle .middle_line{
    opacity: 0;
    transform: translateX(20px);
}
.inputToggle:checked ~ .toggle .bottom_line{
    left: 2px;
    top: 14px;
    width: 25px;
    transform: rotate(-45deg);
}
.inputToggle:checked ~ .slide{
    transform: translateX(0px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}
.inputToggle1{
    display: none;
    /*visibility: hidden;*/
}
.inputToggle1:checked ~ ul.subNavLiDiv1{
    display: block;
    position: static;
    height: auto;
}
i#IconsubListDiv1{
    margin: 0;
    padding: 5px 10px 0px 5px;
    transition: 0.3s ease;
    float: right;
    cursor: pointer;
}
.inputToggle1:checked ~ .NavLi1 i#IconsubListDiv1{
    transform: rotate(-90deg) translateY(-5px);
}
/*Fixed header*/
.DivHeader{
    position: sticky;
    top:0;
    left: 0;
    margin: 0;
    width: 100%;
    z-index: 100;
}
/*SaleP*/
.SaleTableDiv{
    width: 700px;
    margin: 0px 20px;
}
.SaleTable{
    table-layout: fixed;
    z-index: 50;
}
.SalesP_TB_header{
    position: sticky;
    top: 124px;
    left: 0px;
}
.SaleSearchBox{
    font-family: Phetsarath OT;
    border-radius: 8px;
    font-size: 20px;
    width: 250px;
    height: 40px;
    margin: 10px;
    padding: 5px;
    color: black;
    background-color: #a3dfff;
}
.SaleSearchBox:focus{
    background-color: #eaff00;
}
.SaleP_Delete_Btn{
    background-color: #ff0000;
    margin: 0px 18px;
}
/*-----*/

.SaleP_Button_bottom_Div{
    /*border: 2px solid #000000;*/
    box-sizing: border-box;
    margin-top: 20px;
    display: flex;
    padding: 5px;
    width: 700px;
    height: 70px;
    justify-content:space-between;
}
.SaleP_Button_Top_Div{
    /*border: 2px solid #000000;*/
    box-sizing: border-box;
    display: block;
    position: sticky;
    top:60px;
    left: 0px;
    padding: 0px;
    margin: 0px;
    width: 700px;
    height: 65px;
    z-index: 51;
}
.SaleP_SelectGoods{
    font-family: Phetsarath OT;
    border-radius: 20px;
    width: 50px;
    height: 40px;
    padding: 0;
    margin: 10px 0px;
    font-size:18px;
    box-shadow: 1px 1px 2px 2px #ff9900;
    background-color: #00c3ff;
}
.SaleP_Button_Top_Div :first-child{
    margin-right: auto; /* Target the first child and push everything else to the right */
}
.SaleP_rest_Btn_top, .SaleP_dept_Btn_top{
    font-family: Phetsarath OT;
    border-radius: 8px;
    width: 130px;
    height: 40px;
    padding: 0;
    margin: 10px;
    font-size:18px;
    box-shadow: 1px 1px 2px 2px #686868;
}
.SaleP_dept_Btn_top{
    background-color: #ff9d00;
    margin-left: 80px;
}
.SaleP_rest_Btn_top{
    background-color: #00ffa6;
}
.SaleP_Sale_Btn, .SaleP_Rest_Btn, .SaleP_clear_Btn, .SaleP_dept_Btn, .SaleP_exchange_Btn{
    font-family: Phetsarath OT;
    /*background-color: #ffcc00;*/
    width: 100px;
    height: 42px;
    line-height: 42px;
    padding: 0px;
    margin: 10px;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 1px 1px 2px 2px #636363;
}
.SaleP_Sale_Btn{
    border-radius: 8px;
    background-color: #0095ff;
    font-size: 20px;
    box-shadow: 1px 1px 2px 5px #ffc400;
}
.SaleP_exchange_Btn{
    border-radius: 8px;
    background-color: #00fbff;
}
.SaleP_Rest_Btn{
    border-radius: 8px;
    background-color: #00ffa6;
}
.SaleP_clear_Btn{
    border-radius: 8px;
    background-color: #ffcc00;
}
.SaleP_dept_Btn{
    border-radius: 8px;
    background-color: #ff9d00;
}

#SaleType, #SaleAmount, #SaleUnit, #SaleDiscount, #ImpPrice, #NewRate{ /* in modal btn */
    box-sizing: border-box;
    font-family: Phetsarath OT;
    width: 70%;
    float: right;
    text-align: right;
    font-size: 20px;
    height: 30px;
    color: var(--setValueColor);
    /*margin: 10px 10px 10px 0;*/
}

.InputReceiveMoney{
    box-sizing: border-box;
    font-family: Phetsarath OT;
    width: 100%;
    text-align: right;
    font-size: 20px;
    height: 40px;
    color: var(--setValueColor);
}
#customerSelect, #subcustomerSelect, #subcustomerSelectEX, #CurrencyPairSelect{
    box-sizing: border-box;
    font-family: Phetsarath OT;
    width: 50%;
    max-width: 300px;
    height: 40px;
    float: right;
    text-align: right;
    font-size: 20px;

}
.SlipPreviewImg{
    display: none;
    width: 100px;
    height: 140px;
}
.labelInputModal{ /*for align #SaleType, #SaleAmount, #SaleUnit*/
    box-sizing: border-box;
    display: block;
    font-size: 20px;
    width: 100%;
    margin: 10px 10px 20px 0;
}
.labelInputModalSlip{
    display: block;
    font-size: 20px;
    width: 300px;
    margin: 10px 10px 5px 0;
}
.saleDivgroupBarcode, .saleDivgroupBarcode2{
    box-sizing: border-box;
    display: block;
    font-size: 20px;
    width: 400px;
    margin: 10px 0px;
    margin-left: 30px;
    height: 550px;
    border-left: 1px solid;
    padding: 10px;
    background-color: #dffff2;
}
.saleDivgroupRecord, .saleDivgroupRecord2, .saleDivgroupRecord3{
    box-sizing: border-box;
    display: block;
    font-size: 20px;
    width: 100%;
    margin: 10px;
    border: 1px solid;
    box-shadow: inset -1px -1px 5px 1px #4a4a4a;;
    padding: 10px;
    background-color: #dffff2;
    border-radius: 15px;
}
.contentOfModal{
    box-sizing: border-box;
    display: flex;
    width: 100%;
    background-color: #dffff2;
    flex-wrap: wrap;
}
.saleDivgroupBarcode p{
    display: block;
    width: 400px;
    padding: 0;
    margin: 0;
}
.hidden_Var{
    display: none;
}
.salesTypeMode_P{
    position: relative;
    text-align: center;
    font-size: 20px; 
    margin: 0;
    padding: 5px;
    /*display: inline;*/
    color: red;
    font-weight: 500;
    background-color: #00ff6a;
}
/*counter SaleTable rows*/
#SaleTable{
    counter-reset: rowNumber;
}
#SaleTable tbody tr{
    counter-increment: rowNumber;
}
#SaleTable tbody tr td:first-child::before{
    content: counter(rowNumber);
}/*counter SaleTable rows*/

.modalHeader{
    box-sizing: border-box;
    padding: 10px;
    width: 100%;
    display: grid;
    grid-template-columns: 120px auto 120px;
    /*justify-content: space-between;*/
    background-color: #0095ff;
}
.item1{ /*item1 of grid modal header*/
    grid-column-start: 2;
    grid-column-end: 3;
}
.modalFooter{
    box-sizing: border-box;
    padding: 10px 30px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #dffff2;
}
.GoodsLink{
    text-decoration: none;
    font-weight: 800;
}
#discountTDInput, #addedPriceTDInput{
    box-sizing: border-box;
    text-align: right;
    height: 34px;
    width: 100%;
    border: none;
    margin: 0;
    padding: 0 5px 0 0;
    font-size: 18px;
}
#discountTDInput:focus, #addedPriceTDInput:focus{
    background-color: #00ff99;
}
/*#discountTDInput::-webkit-inner-spin-button, #discountTDInput::-webkit-outer-spin-button{*/
    /*-webkit-appearance: none; /*remove up down arrow from discount input*/
/*}*/
.GoodsPreturnBtn{
    height: 50px;
    margin:10px;
    margin-right:200px;
    background-color: #ff0000;
    border-radius: 5px;
    box-shadow: inset -3px -3px 3px #4a4a4a;
}
.GoodsPreturnBtn:hover{
    background-color: #ff5858;
}
.HiddenUnitSpan{
    margin-left: auto;
    border: 1px solid red;
    margin-right: 3px;
    color: #ff0000;
    padding: 0px;
    width: 150px; /*150*/
    display: none;
    font-size: 20px;
    background-color: #dffff2;
}
#hiddenRunOutStock{ /*tag in modal*/
    display: none;
    font-size: 20px;
    background-color: red;
    color: white;
    font-weight: 800;
    padding: 10px;
    text-align: center;
    margin: auto;
    width: 200px;
}
.displayCurreny {
    display: flex; 
    justify-content: flex-end; 
    margin: 0px 0px 10px 0px;
    padding: 0px 5px;
    background-color: #fff1f1;
    color: #6100d8;
}
.BtnWholeAmount{
    display: inline-block;
    margin-left: auto;
    text-align: center;
    width: 50px;
    margin-right: 5px;
    font-size: 30px;
    background-color:rgba(0, 0, 0, 0);
}
textarea {
  /*resize: none; /* Disables resizing completely */
  resize: vertical; /* Allows vertical resizing only */
  width: 100%; /* Makes it responsive */
  /*max-width: 600px; /* Limits the expansion width */
  font-family: Phetsarath OT;
  font-size: 20px;
}
#Remark{ /*textArea before sale in sale modal*/
  /*resize: none; /* Disables resizing completely */
  resize: vertical; /* Allows vertical resizing only */
  width: 100%; /* Makes it responsive */
  /*max-width: 600px; /* Limits the expansion width */
  font-family: Phetsarath OT;
  font-size: 20px;
}
.statusBill{
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #b1ffe0; 
    height: 180px;
    border-radius: 15px;
}
.SlipImage{
    font-family: Phetsarath OT;
    font-size: 20px;
    color: #001eff;
    width: 100%;
    border: 1px solid black;
}
#subRemark{
    font-family: Phetsarath OT;
    font-size: 20px;
    color: #001eff; 
    width: 70%;
    float: right;
}
.MainContent{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
.salesHistoryDiv{ /*when small screen it will shrink 0 height*/
    display: block;
    overflow-y: auto;
    min-width: 700px;
    height: 620px;
    border-radius: 10px;
    padding: 0px; /*10px*/
    background-color: #aafff6;
    border: 1px solid #4a4a4a;
    margin: 0px 20px;
    margin-top: 10px;
}
#headerHis{
    display: grid;
    grid-template-columns: 230px 230px auto;
    height: 110px;
    background-color: #aafff6;
    padding: 10px;
    border-top: 1px solid;
}
#headerHisImp{
    display: grid;
    grid-template-columns: 250px auto auto;
    height: 50px;
    background-color: #aafff6;
    padding: 10px;
    border-bottom: 1px solid;
}
#TableOfRestList{
    display: flex;
    width: 100%;
}
.RestList_TB_header{
    background-color: #00ffa6;
}
.DeptList_TB_header{
    background-color: #ff9d00;
}
.SelectGoodsList_TB_header{
    background-color: #00c3ff;
}
.btnInjectRestList, .btnDeleteRestList{
    background-color: #00ffa6;
    font-family: Phetsarath OT;
    font-size: 16px;
    font-weight: 800;
    padding: 2px;
    margin: auto 2px;
    border-radius: 10px;
    cursor: pointer;
}
.btnInjectRestList:hover{
    background-color: #00ff84;
}
.btnDeleteRestList{
    background-color: #ff0040;
    color: rgb(142, 238, 255);
    padding: 2px 4px;
}
.btnDeleteRestList:hover{
    background-color: #ff0080;
}
.UpdateRestListDiv{
    display: none;
    background-color: #5a5a5a;
    color: rgb(0, 238, 255);
    font-family: Phetsarath OT;
    font-size: 16px;
    font-weight: 800;
    margin-top: 5px;
    padding: 5px;
}
.btnRecPayDeptList{
    background-color: #ff9d00;
    font-family: Phetsarath OT;
    font-size: 16px;
    font-weight: 800;
    padding: 2px 5px;
    margin: auto 2px;
    border-radius: 10px;
    cursor: pointer;
}
.btnRecPayDeptList:hover{
    background-color: #ffad28;
}
.btnSelectGoodsList{
    background-color: #00c3ff;
    font-family: Phetsarath OT;
    font-size: 16px;
    font-weight: 800;
    padding: 2px 5px;
    margin: auto 2px;
    border-radius: 10px;
    cursor: pointer;
}
.btnSelectGoodsList:hover{
    background-color: #56d8ff;
}
#SalesRecord_cutomer_received{/*check box*/
    width: 24px;
    height: 24px;
    cursor: pointer; /* Makes it clear it is clickable */
}
.toggleReceiveMethod{ /*clickable toggle*/
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 15px;
    align-items: center;
    background-color:  #fff1f1;
    border: 1px solid black;
    cursor: pointer;
}
.optionalReceiveMethod{ /*Div*/
    /*display: none;*/
    background-color:  #dffff2;
    padding: 4px;
    /*border: 1px solid black;*/
    border-radius: 15px;
    height: 0px;
    transition: height 0.3s ease;
    overflow: hidden;

}

#toggleIconMethod{
    transition: 0.3s ease;
}
.RowsGoodsList{
    display: none;
}
.SelectGoodsList{
    box-sizing: border-box;
    width: 99%;
    margin: 10px;
    padding: 0;
}
.ImpRateInput{
    display: inline-block;
    font-size: 17px;
    width: 160px;
    padding: 0;
    margin: 0;
    /*margin: 10px 10px 5px 0;*/
}
#CurrencyS{ /*#RateCurrency*/
    box-sizing: border-box;
    font-family: Phetsarath OT;
    width: 80px;
    /*float: right;*/
    text-align: right;
    font-size: 20px;
    height: 30px;
    color: var(--setValueColor);
    margin: 0;
}
#RateCurrency{
    width: 90px;
}
.CurrencyDiv{
    box-sizing: border-box;
    display: inline-block;
    width: 180px;
    border: 2px solid rgb(0, 157, 255);
    margin: 10px 0px;
    margin-left: 170px;
    padding: 5px 15px;
    border-radius: 10px;
    background-color: rgb(222, 242, 255);;
    /*margin-left: 40px;*/
}
.btnLowStock{
    font-family: Phetsarath OT;
    width: 100px;
    height: 40px;
    font-size: 16px;
    font-weight: 800;
    padding: 0;
    margin: 0px 10px;
    border-radius: 10px;
    background-color: #00b3ff;
}
.btnLowStock:hover{
    background-color: #48c8ff;
}
.DivApprovePrice{
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    margin: 0;
    height: auto;
    
    /*border: 1px solid black;*/
}
.rowsApprovePrice{
    margin: 5px;
    font-size: 18px;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #aee7ff;
    border: 2px solid black;
}
.GoodsIDspan{
    font-weight: 800;
}
.labelTable{
    color: rgb(0, 0, 155);
    margin: 30px 0 5px 0;

    font-size: 20px;
    font-weight: 800;
}
/*#priceTbNew{
    font-family: Phetsarath OT;
}
#priceTbBodyNew{
    font-family: Phetsarath OT;
}*/
.NewPriceCell{
    margin: 0;
    padding: 0;
}
.NewPriceTD{
    font-family: Phetsarath OT;
    margin: 0;
    font-size: 16px;
    padding: 3px;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    text-align: center;
}
#NodataTag{
    width: 100%;
    font-size: 25px;
    font-weight: 800;
    padding: 30px;
    margin: 0;
    color: red;
    text-align: center;
}
#UnitInput1, #UnitInput2, #UnitInput3, #UnitInput4, #UnitInput5 {
    font-size: 20px;
    color: var(--setValueColor);
    width: 100px;
    float: right;
}
#AdjustTypeSelect, #AmountInputAdjust, #AdjustUnitSelect, #ReasonSelect{
    box-sizing: border-box;
    font-size: 20px;
    color: var(--setValueColor);
    text-align: center;
    font-family: Phetsarath OT;
    width: 200px;
    float: right;
    padding: 2px;
    margin: 0;
}
.HistoryParagraph{
    font-family: Phetsarath OT;
    font-size: 20px;
    width: 100%;
    padding: 5px;
    margin: 0;
    border-bottom: 1px solid #000000;
}
.HistoryParagraphT{
    font-family: Phetsarath OT;
    font-size: 20px;
    width: 100%;
    padding: 5px;
    margin: 0;
}
.TagResultOK{
    color: black;
}
.TagResultNotOK{
    color: RED;
    font-weight: 800;
}
#ReportDiv{
    /*position: fixed;*/
    box-sizing: border-box;
    width: 100%;
    min-width: 1000px;
    height: 80svh;
    min-height: 500px;
    padding: 0 10px;

}
#SettingDiv{
    box-sizing: border-box;
    width: 100%;
    height: 80svh;
    padding: 0 10px;
}
#ReportMenu{
    box-sizing: border-box;
    display: flex;
    height: 50px;
    width: 100%;
    margin: 0;
    margin-top: 10px;
    /*margin-bottom: 0px;*/
    padding: 0 10px;
    /*border: 1px solid #000000;*/
    /*border-radius: 10px;*/
    /*background-color: #b2e8ff;*/
}
#ReportContent{
    box-sizing: border-box;
    overflow: auto;
    height: 100%;
    width: 100%;/*1530px*/
    margin: 0;
    padding: 10px;
    border: 5px solid #4800ff;
    border-radius: 10px;
    /*box-shadow: inset 3px 3px 3px #4a4a4a;*/
}
#ReportFooter{
    height: 100px;
    width: 100%;
    margin:0;
    border: 1px solid #000000;
    border-radius: 10px;
}
.ReportMenuBtn, .SettingMenuBtn{
    display: inline-block;
    font-family: Phetsarath OT;
    font-size: 20px;
    font-weight: 800;
    height: 50px;
    width: 150px;
    border: 1px solid #000000;
    margin: 0;
    padding: 0;
    background-color: #0055ff;
}

.ReportMenuBtn.select, .SettingMenuBtn.select{
    font-size: 25px;
    color: #00fff7;
}
.ReportMenuBtn:hover, .SettingMenuBtn:hover{
    background-color: #5e93ff;
}
#dateSelectDiv{
    display: inline-block;
    font-family: Phetsarath OT;
    font-size: 20px;
    margin: 0;
    /*padding: 10px;*/
    height: 40px;
    width: 600px;
    text-wrap: nowrap;
    /*border: 1px solid #000000;*/
}
.inputDate{
    font-family: Phetsarath OT;
    width: 140px;
    font-size: 20px;
}
#HisContentDiv{
    box-sizing: border-box;
    /*display: flex;*/
    font-family: Phetsarath OT;
    font-size: 20px;
    margin: 0;
    padding: 0 10px;
    height: 90%; /*total = 900px*/
    width: 100%;
    border: 1px solid #000000;
    overflow: hidden;
    overflow-x: auto;
    overflow-y: auto;
}
#BtnSearch{
    font-family: Phetsarath OT;
    font-size: 20px;
    height: 35px;
    width: 45px;
    padding: 0;
    margin: 0;
    margin-left: 10px;
    border-radius: 10px;
    background-color: #5e93ff;
}
.ReportTable{
    /*flex-shrink: 0;*/
    min-width: 1700px;
    text-align: center;
}
.ReporttableHSticky{
    position: sticky;
    box-shadow: inset 0 1px 0 0 #000000; 
    top:0px;
}
.BillDetailTable{
    min-width: 1000px;
    text-align: center;
}
.thLAK{
    background-color: #00ffb3;
}
.thTHB{
    background-color: #ffd000;
}
.thUSD{
    background-color: #ff0066;
}
.DailyreturnMoneyP{
    margin: 0;
    width: 200px;
    padding: 5px;
    border: 2px solid #ff3c00;
    border-radius: 10px;
    font-weight: 800;
    color: #ff3c00;
}