.main-div {
    margin: 20px;
}

.fix-width {
    max-width: 1521px;
    margin: 0 auto;   /* centers the whole page */
    padding: 0;  /* optional inner spacing */
}
body {
    font-family: Arial, sans-serif;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

thead {
    display: table;
    width: 100%;
    table-layout: fixed;
    /* Ensures alignment */
}

#itemTableBody {
    display: block;
    max-height: 250px;
    /* Adjust height as needed */
    overflow-y: auto;
    overflow-x: auto;
    width: 100%;
}

table,
th,
td {
    border: 1px solid #ccc;
}

tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

input {
    width: 100%;
    padding-top: 3px;
    padding-bottom: 3px;
}

#itempopup {
    padding-top: 8px;
    padding-bottom: 8px;
    color: #080752;
    font-size: 13px;
    background-color: #d5f1d5;
    font-weight: bolder;
}

input[type="number"] {
    /* color:blue; */
    text-align: right;
}

.stock {
    background-color: rgb(229, 244, 174);
}

.quantity::-webkit-inner-spin-button,
.quantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


th,
td {
    padding: 6px;
    /* text-align: left; */
    border: 1px solid #ddd;
    padding-right: 5px;
}

th {
    background-color: #f2f2f2;
}

td input[type="text"],
tfoot td span {
    text-align: right;
    /* Align text inside the input and totals */
}

.col-select {
    width: 250px;
}
.col-selectopt {
    width: 500px;
}
.col-selectopt1 {
    width: 490px;
}
.col-select-led {
    width: 750px;
    /* text-align: center; */
}

.col-select-amt {
    width: 250px;
    text-align: center;
}
.colrcmamt{
    width: 150px;
}

.col-select-pop {
    width: 238px;
}

.col-tax,
.col-action {
    width: 80px;
    text-align: center;
}

.col-jv-led {
    width: 500px;
    /* text-align: center; */
}

.col-jv-led select {
    width: 480px;
}

.col-jv-amt {
    width: 250px;
    text-align: center;
}

.col-jv-amt input[type="text"] {
    padding: 8px;
}

.col-select-drcr select {
    padding: 8px;
    background-color: rgb(237, 237, 162);
}

.jc-sel-w {
    width: 450px;
}

tfoot td {
    text-align: right;
    /* Align totals themselves */
}

.form-container {
    margin: 20px 0;
}

select,
input[type="text"] {
    padding: 1px;
}

#shiptocustid,
#shiptoadd1,
#shiptoadd2,
#shiptoadd3,
#shiptocity,
#shiptogst,
#shiptopin,
#billtoadd1,
#billtoadd2,
#billtoadd3,
#billtocity,
#billtogst,
#billtopin,
#billpos,
#shippos {
    font-size: 10px;
    padding: 3px 10px;
    text-align: left;
}

.tptinfobox {
    font-size: 12px;
    padding: 1px 20px;
    text-align: left;
}

.titstyle {
    color: rgb(235, 236, 229);
    background-color: rgb(37, 36, 86);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}
.setwid{
    width: 300px;
}

.addbtn {
    color: yellow;
    background-color: blue;
    cursor: pointer;
    margin-bottom: 20px;
}

button {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    cursor: not-allowed;
    color: rgb(59, 57, 57);
    background-color: rgb(77, 194, 126);
}

.remove-btn {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.remove-btn:hover {
    background-color: #d32f2f;
}

.print-inv-btn {
    background-color: #5a58d5;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.print-inv-btn:hover {
    background-color: #13269f;
}

tfoot td {
    font-weight: bold;
}

.ownbtn {
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 2px;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

.table-container th {
    text-align: center;
}

/* Improve table input fields */
#itemsTable input,
#itemsTable select {
    padding: 6px 2px;
    font-size: 16px;
    /* Bigger font for better touch experience */
    box-sizing: border-box;
    border: 1px solid #ced4da;
    /* Optional: match Bootstrap border */
    border-radius: 0.375rem;
}

/* Make table more mobile-friendly */
@media screen and (max-width: 768px) {

    #itemsTable th,
    #itemsTable td {
        padding: 8px;
        white-space: nowrap;
        /* Prevent text breaking into new lines */
    }

    .col-select {
        width: 180px;
    }

    .col-hsn {
        width: 100px;
    }

    .col-stock {
        width: 100px;
    }

    .col-quantity {
        width: 100px;
    }

    .col-price {
        width: 120px;
        text-align: right;
    }

    .col-taxable {
        width: 120px;
    }

    .col-tax {
        width: 60px;
    }

    .col-igst,
    .col-cgst,
    .col-sgst {
        width: 100px;
        text-align: end;
    }

    .col-netamount {
        width: 120px;
    }

    .col-action {
        width: 80px;
    }
}

.fixed-top1 {
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.alert {
    margin-bottom: 0;
}

.taxinfobox {
    display: flex;
    align-items: center;
    /* margin-bottom: 10px; */

}

.taxinfobox>input[type="number"] {
    width: 180px;
}

.mod-input {
    margin: 5px 0px;
}

.mod-label {
    font-size: 14px;
}

/* Bank Receipt Voucher CSS */

.credit-container,
.vch-top {
    width: 70%;
    margin-left: 5%;
    margin-right: 15%;
    margin-top: 15px;
    margin-bottom: 15px;
}

.summary-cont-inv {
    /* display: flex; */
    /* margin-left: 5%;
    margin-right: 15%; */
    margin-top: 15px;
    margin-bottom: 15px;
    /* text-align: right; */
    /* border: 1px solid rgb(51, 0, 255); */
}

.summary-cont {
    /* display: flex; */
    margin-left: 5%;
    margin-right: 15%;
    margin-top: 15px;
    margin-bottom: 15px;
    /* text-align: right; */
    /* border: 1px solid rgb(51, 0, 255); */
}

.total-div {

    width: 50%;
    margin-left: 15%;
    margin-right: 15%;
    margin-top: 15px;
    margin-bottom: 15px;
}

.total-jv,
.vch-btn-div {

    width: 70%;
    margin-left: 15%;
    margin-right: 15%;
    margin-top: 15px;
    margin-bottom: 15px;
}

.total-div input {
    margin-right: 15%;
}

.select2-container .select2-dropdown .select2-search__field {
    background-color: #c9f4c3 !important;
    /* Light blue example */
    color: #333;
    /* Optional: change text color */
    padding: 5px 5px;
}

.select2-container--default .select2-selection--single {
    height: 38px !important;
    /* Adjust to match your input box height */
    padding: 6px 8px;
    font-size: 1rem;
    border: 1px solid #ced4da;
    /* Optional: match Bootstrap border */
    border-radius: 0.375rem;
    /* Optional: match Bootstrap rounded */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
    /* Same as select box */
}

.dropdown-divider {
    border: 1px solid rgb(228, 169, 169);
}

.main-bod {
    border: 1px solid rgb(10, 10, 127);
    margin: 40px 80px;
    padding: 15px 30px;
}

.in-border {
    border: 1px solid rgb(121, 67, 12);
    padding: 30px;
}

.group-color-1 {
    background-color: #ffffff;
    border-bottom: 1px solid black;
}

.group-color-2 {
    background-color: #cacaca;
    border-bottom: 1px solid black;
}

.dbook-div {
    width: 90%;
    /* border: 2px solid rgb(78, 75, 75); */
    margin-left: 5%;
    margin-right: 5%;
}

.th10 {
    width: 30px;

}

.th80 {
    width: 100px;
}

.th20 {
    width: 40px;
}
.th70{
    width: 70px;
}

.td10 {
    width: 15%;
}

.td80 {
    width: 50%;
}
.td5 {
    width: 5%;
}

.td20 {
    width: 20%;
}
.td30 {
    width: 22%;
}

.head-back-color th {
    background-color: rgb(104, 104, 244);
}

.rpt-head th {
    background-color: #333;
    color: rgb(247, 247, 247);
}

.rptSPreg tr td {
    font-size: 13px;
}

.nodata-div h5 {
    background-color: #e798a3;
    text-align: center;
    padding: 20px;
    margin: 5px 20%;
}

.table-div-dbook {
    height: 500px;
    /* Approx height of 50 rows */
    overflow: auto;
    /* Enable both scrolls when needed */
    /* border: 1px solid #ccc; */
    /* background-color: #fff; */
}

.table-div-dbook table {
    width: 100%;
    /* border-collapse: collapse; */
}

.stext{
    float: inline-end;
    margin-top: -32px;
}
.subdiv{
    float: inline-end;
    margin-top: -55px;
}
/*Stock journal CSS */
.item-cons-div,
.item-prod-div {
    padding: 15px;
    border-radius: 15px;
    max-height: 400px;
    min-height: 400px;
}

.scrollable-tbody {
    max-height: 300px;
    /* Adjust height as needed */
    overflow-y: auto;
    /* border: 1px solid #ccc; */
    padding: 0;
}

.scrollable-tbody table {
    margin-bottom: 0;
    table-layout: fixed;
}

.scrollable-tbody tbody tr td {
    vertical-align: middle;
}
.footer_dizbook {
    background-color: #10222e;
    color: #889197;
    text-align: center;
    padding: 12px 0;
}

.footer_dizbook a {
    text-decoration: none;
    color: #dcdbdb;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
}
.hero p {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 28px;
}
.loginback{
    background-image: url('../assets/images/loginback.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 100vh;
    /* opacity: 0.9; */
}
.loginbox{
    margin-left: 60%;
}
.fybtndiv{
    margin: 15px 0;
}

.option-btn-div {
    width: 25%;
    margin-left: 20px;
    padding-top: 10px;
}

.option-btn-div a {
    margin-left: 10px;
}

.subcanbtn {
    margin-top: 18px;
    margin-left: 20px;
}

.btn-outline-primary {
    margin-top: 18px;
    padding: 12px 15px;
    margin-left: 50%;
}

.findbtn,
.backbtn {
    padding: 9px 20px;
    border-radius: 5px;
}

.findbtn {
    background-color: rgb(133, 234, 133);
    color: black;
}

.backbtn {
    background-color: rgb(140, 142, 140);
    color: black;
}

.findbtn:hover {
    background-color: rgb(55, 122, 55);
    color: black;
}

.backbtn:hover {
    background-color: rgb(65, 65, 65);
    color: rgb(178, 178, 178);
}

.vchlistdiv {
    padding: 2px 10px;
    border: 1px solid darkgrey;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.vchlist-scroll {
    min-height: 350px;
    overflow-x: scroll;
    overflow-y: scroll;
}

