body {
    background-color: #3b3b3b;
    color: #ffffff;
    font-size: 16px;
}

.wrapper {
    background-color: #1f1f1f;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
}

.navbar {
    padding: 1rem;
}

.nav-link {
    background-color: #292929;
    display: block;
    color: #ffffff;
    font-size: 14px;
    border-radius: 50px;
    margin-right: 10px;
    padding: 6px 14px !important;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: #495057;color: #ffffff;
}

.cursive{
    font-size: 17px;
    font-family: cursive;
    color: cornsilk;
}
/* User menu container */
/* 
.user-menu {
    display: flex;
    align-items: center; 
} 
*/

.fullscreen-icon{
    color: #818687;
}

.fullscreen-icon:hover{
    color:#21b4d5;;
    font-size: 16px;
}

/* User icon */
.user-icon {
width: 40px;
height: 40px;
border: 2px solid #ffffff;
padding: 2px;
background-color: #292929;
object-fit: cover;
}

/* Dropdown menu styles */
.dropdown-menu {
background-color: #454545;
border: none;
margin-top: 10px;
min-width: 150px;
font-size: 16px;
}

.dropdown-menu a {
color: #ffffff;
padding: 10px 15px;
}

.dropdown-menu a:hover {
background-color: #495057;
color:#a7b780 ;
}

/* Row container */
.status-row {
margin-bottom: 25px; /* Add space below the row */
}

.statitics-row {
margin-top: 25px; /* Add space below the row */
}
.statitics-col{
display: flex;
flex-direction: column;
min-height: 200px;
padding: 15px;
border-radius: 15px;

}


/* Individual columns */
.stat-box {

display: flex;

border-radius: 15px; /* Optional: Add rounded corners */
padding: 15px; /* Add padding inside each column */
/* Add spacing between columns */

}

/* Background color for the dark columns */
.bg-dark-stat {
background-color: #292929;
color: #ffffff; /* Optional: Set text color for better contrast */
}

.cu-selected{
background-color: #abc077;
color:#000006 ;
}
.cu-l-text{
font-size: 24px !important;
}
.cu-s-text{
font-size: 10px;
}
.util-icon{
font-size: 20px;
}

#activity-nav .nav-link{
    margin-bottom: 5px !important;
}
.activity-nav a.nav-link:hover{
color:white;

}
.color-diff{
    color: #6b959f;
}

  input[type="date"] {
    color:#111212;
    border-color:  #9d9d9d;
    color-scheme: dark;
}

.form-control{
    font-size: 1rem;
    line-height: 1rem;
    color: #111212;
    background-color: #a5a5a5;
    padding: .175rem .2rem;
    border-color: #9d9d9d;
   

}
.form-control:focus{
    background-color:#f0f9ff;
    color: #1b1c1a;
    outline: none !important;
    outline: none !important;
    box-shadow:none !important;
 }
 .form-control:disabled{
    background-color: rgb(63 64 59 / 70%);
    color: rgb(99 168 223);
    border-color: #656360;
    font-weight: bold;
 }

.btn-primary{
    background-color:  #abc077 !important;
    color: #000006;
    border-color:#434343 ;
    padding:.175rem .75rem;
    font-size:.8rem;
    
}

.btn-primary:active{
    background-color:  #abc077;
    color: #000006;
    border-color:#f3f0f0 ;
}

.btn-primary:hover{
    background-color: #c4c9b7;
    color: #000006;
    border-color:#daff7d ;
}



.edit-btn, .product-edit-btn{
    color:#e6cbc8;
    border:none ;
    background: none !important;
    background: none;
    
}
.edit-btn:hover, .product-edit-btn:hover{
    color:#979899;
  
}
.delete-btn, .product-delete-btn {
    color:#e6cbc8;
    border:none ;
    background: none !important;
    background: none;
}
.delete-btn:hover, .product-delete-btn:hover {
    color: #fb1b02 !important;
   }
.bi-arrow-up-right-circle:hover{
    color:#ccf069;
    cursor: pointer;
}

#loadTable h6 {
    /* text-align: center;  */
    color:#878787;
    color:#3d7b99;
}

.table-group-divider{
    border-top-color: #72863f;
}

th{
    font-size: small;
    font-weight:100;
    color: #aab198 !important;
}


 tbody tr{
    --bs-table-color:#dedede;
}

.table>:not(caption)>*>* {
    padding: .5rem .5rem;
    background-color: #3a3a3b;
} 

.modal-fullscreen .table>:not(caption)>*>* {
    background-color:white ;
    /* background-color: #ededed !important; */
    color: black !important;
}

.modal-fullscreen .dataTables_wrapper{
    color:rgb(233 233 233);
}
/* data table button */
.dark-bg{
    background-color:#454444 !important;
}



/*   showing-  color: dimgray; */
.details-control{
    background-color: #3a3a3b !important;
}


.form-select{
    
    color:#f1f4f7;
    background:#393838 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='white' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px !important;
}

/* Data table */
.dataTables_wrapper{
    color:#878787;
    margin-top: 10px;
}

.dataTable-style-1 .dataTables_wrapper{
    color:#0d0d0d;
    margin-top: 10px;
} 

.dataTables_length,.dataTables_filter{
    margin-bottom: 5px;
}

.dataTables_wrapper .dataTables_length select{
    border: 1px solid rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, rgba(230, 230, 230, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);

}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid rgba(0, 0, 0, 0.3);
    padding: 4px;
    background-color: rgba(230, 230, 230, 0.05);
    /* background: linear-gradient(to bottom, rgba(230, 230, 230, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%); */

    color: inherit;
    margin-left: 3px;
}

table.table.dataTable > tbody > tr:hover > * {
    color:  #53bdff !important;
}

table.dataTable tbody tr.selected {
      background-color: #4b4b4b !important; /* Your desired hover color */
    color:  #53bdff !important;;
}

td.details-control::before {
    content: "+";
    
    font-size: 20px;
    cursor: pointer;
    position: relative;
    top: -5px;
}

tr.shown td.details-control::before {
    content: "-";
}

.bgcolor-light{
    background-color: #7a7a7a;
    color:#393838;
    border: 1px solid #393838;
}


/*    */

.head-title{
    color:#aab198;
    text-align: right;
}
.head-title span{
    color:#eeebeb;
}

.head-title-2{
    display: flex;
    justify-content: space-between;
    align-content: center;
    cursor: pointer;
    margin-right: 5px;
}


.toggle-password{
    color:wheat;
}

.login-custom {
    background-color: #292929;
    border-radius: 10px;
}

#heldBillsBadge {
    font-size: 0.75rem;
    padding: 0.25em 0.4em;
}



/* toggle switch style */

.toggleSwitch * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
.toggleSwitch {
    display: inline-block;
    height: 19px;
    position: relative;
    overflow:hidden;
    padding: 0;
    cursor: pointer;
    width: 80px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8em;
  }
 
  .toggleSwitch label,
  .toggleSwitch > span {
    line-height: 18px;
    height: 18px;
    vertical-align: middle;
  }
  .toggleSwitch input:focus ~ a,
  .toggleSwitch input:focus + label {
    outline: none;
  }
  .toggleSwitch label {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
  }
  .toggleSwitch input {
    position: absolute;
    opacity: 0;
    z-index: 5;
  }
  .toggleSwitch > span {
    position: absolute;
    left: -51px;
    width: 100%;
    margin: 0;
  
    text-align: left;
    white-space: nowrap;
  }
  .toggleSwitch > span span {
    position: absolute;
    top: 0;
   
    z-index: 5;
    display: block;
    width: 50%;
    margin-left: 53px;
    text-align: left;
    font-size: 0.9em;
    width: 100%;
    left: 2%;
    top: 0;
    opacity: 0;
  }
  .toggleSwitch i {
    position: absolute;
    right: 50%;
    z-index: 4;
    top:2px;
    display: block;
    height: 14px;
    padding: 0;
    left: 2px;
    width: 16px;
    background-color: #fff;
    border: 1px solid #CCC;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  .toggleSwitch > span span:first-of-type {
    color: #ccc;
    opacity: 1;
    left: 27%;
  }
  .toggleSwitch > span:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50px;
    top: 0px;
    background-color: #fafafa;
    border: 1px solid #ccc;
    border-radius: 30px;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  }
  .toggleSwitch input:checked ~ i {
    border-color: #fff;
    left: 100%;
    margin-left: -19px;
  }
  .toggleSwitch input:checked ~ span:before {
    border-color: #0097D1;
    box-shadow: inset 0 0 0 30px #0097D1;
  }
  .toggleSwitch input:checked ~ span span:first-of-type {
    opacity: 0;
  }
  .toggleSwitch input:checked ~ span span:last-of-type {
    opacity: 1;
    color: #fff;
  }

   

/* 
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
   
    border: 1px solid #555; 
    background: white;
}

input[type="checkbox"]:checked {
    background:#abc077;
} */

/* custom checkbox */
.custom-checkbox input { /* label */
    display: none;
  }
  
  .custom-checkbox span {
    border: 1px solid #494747;
    float: right;
    height: 20px;
    width: 20px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .custom-checkbox:hover span,
  .custom-checkbox input:checked + span {
    border: 1px solid #181818;
  }
  
  .custom-checkbox input:checked + span:before {
    content: "🗸";
  }

/* .focused-cell {
    outline: 2px solid #007bff; 
    background-color: #f9f9f9; 
} */

/* DataTable */
/*
    table.dataTable td {
        font-size: 1em;
    }
*/

/* cash book */
.table-style-2 td,.table-style-2 th{
    border-left: 1px solid #615b5b;
}
.table-style-2 td:last-child,.table-style-2 th:last-child{
    border-right: 1px solid #615b5b;
}
.table-style-2 thead tr th, .table-style-2 tfoot tr th{
    border-top: 1px solid #615b5b;
    border-bottom: 1px solid #615b5b;
    font-size: large;
}

/* Ledger all */
.table-style-3{
    border: 1px solid #615b5b;
}
.table-style-3 thead tr th, .table-style-2 tfoot tr th{
    font-size: large;
}

/* Trial Balance */
.table-style-4 tbody tr,.table-style-4 tfoot tr{
   border-color:#292727;
}

/*  Add purchase modal  */

.inp-style-2 td{
    margin: 0px !important;
    padding: 0px !important;
    font-size: .8rem;
    font-family: cursive;
    
}



.inp-style-2 .form-control{
    background-color: transparent;
    color: #333334;
    border: none;
   padding: 2px;
    margin: 0;
 }

 .inp-style-2 .form-control:focus{
    background-color:#ffc10747;
    outline: none !important;
    box-shadow:none !important;
    border-radius: 0;
 }

 .status-row .stat-col:nth-child(1) .stat-box{
    color:#6b716d;
 }

 /* .status-row .stat-col:not(:nth-child(1)) .stat-box {
    color: #babbba;
} */

/* 
 #addPurchaseForm .form-control{
    font-size: 0.9rem;
 } */

 #product-list .form-control{
    font-size: .7rem;
 }

 #add-sale-net-payable{  
    background-color: transparent;
    color: #FFEB3B;
    width:100px;
    border: none;
 }
 table.inp-style-2 thead th,table.inp-style-2 tfoot th{
    background-color:#b9b9b9 !important;  /*d0d9e2*/
    background-color: #c5d1c6fa !important;
    color:#0b0b0b;
    /* border-radius: 0.5em; */
    /* border-top-left-radius: 0;
    border-top-right-radius: 0; */
    text-shadow: 0 0.0625em 0 #fff;
    box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef,
        0 0.125em 0 0 #ececec, 0 0.25em 0 0 #e0e0e0, 0 0.3125em 0 0 #dedede,
        0 0.375em 0 0 #dcdcdc, 0 0.425em 0 0 #cacaca, 0 0.425em 0.5em 0 #cecece;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);   
 }

table.inp-style-2>:not(caption)>*>* {
    padding: .5rem .5rem;
    background-color: #f5f5e7 !important;
    border:1px solid #a5a5a4;
}
#addPurchaseForm .btn-primary{
    font-size: 1.2em;
}

#addPurchaseModal .form-label{
    color: #292727;
    margin-bottom: 0 !important;
}

#addPurchaseModal .modal-header .btn-close{
padding: 5px; margin: 5px;

}

#addPurchaseModal .modal-header {
    justify-content: flex-start;
    padding: 0px 15px !important;
    }

#addPurchaseModal .modal-header .btn {
    padding: 0 5px;
    border: 1px solid #a1a1a1;
    background-color: #b7b5b1;
    font-size: 12px;
    }
#addPurchaseModal .modal-header .btn-group {
    /* border: 1px solid #b7b7b7; */
    color: #dfe0e0;
    background-color: #c6d2c7;
    }
#addPurchaseModal .modal-header .btn-group label.btn{
    color: #e8f3f6;
    }

#addPurchaseModal tfoot th{
    padding-left: 0; padding-right: 0; margin: 0;
}

    table.inp-style-2 thead th:hover{
        cursor: pointer;
    }

    table.inp-style-2 thead th.default-column {     
        background-color: #c4e9c7 !important;
        position: relative;
        cursor: pointer;
    }
    
    .default-column::after {
        content: '★';
        position: absolute;
        top: 5px;
        right: 5px;
        font-size: 12px;
        color: #614129; 
    }


#addSaleModal .modal-body {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 112px); /* Adjust based on header/footer height */
}

.fixed-row {
    flex: 0 0 auto; /* Fixed height based on content, no growing/shrinking */
    margin: 0;
    padding: 0;
}

.scrollable-row {
    flex: 1 1 auto; /* Grows and shrinks to fill available space */
    overflow-y: auto; /* Enables vertical scrolling */
    max-height: 66vh; /* Optional: Limits height to 60% of viewport height */
    margin: 0;
    padding: 0;
}

#addSaleForm .btn-primary{
    font-size: 1.2em;
}

#addSaleModal .form-label, #addPurchaseModal .form-label{
    color: #4d4d4d;
    margin-bottom: 0 !important;
    font-size: 12px;
}


#addSaleModal #product-details .form-label{
    color: #b7b5b1;  
    color:#c3c9c4;
    margin-bottom: 0 !important;
    font-size: 12px;
    margin-left: 4px;
}


#addSaleModal .modal-header .btn-close{
padding: 5px; margin: 5px;

}

#addSaleModal .modal-header {
    justify-content: flex-start;
    padding: 0px 15px !important;
    }

#addSaleModal .modal-header .btn {
    padding: 0 5px;
    border: 1px solid #a1a1a1;
    background-color: #b7b5b1;
    font-size: 12px;
    }
#addSaleModal .modal-header .btn-group {
    /* border: 1px solid #b7b7b7; */
    color: #dfe0e0;
    background-color: #c6d2c7;
    }
#addSaleModal .modal-header .btn-group label.btn{
    color: #e8f3f6;
    }


    #addSaleModal .btn-success {
        
   overflow: hidden;
    margin: 1em auto;
    border: none;
    padding: 0;
   
    border-radius: 0.3125em;
    --dy: 0px;
    transform: translatey(var(--dy));
    --in-sh: inset 0 -0.15625em 1px rgba(0, 0, 0, 0.25);
    box-shadow: var(--in-sh), 0 calc(0.3125em - var(--dy)) 1.875em calc(.5 * var(--dy) - 0.9375em) #000, 0 calc(0.625em - var(--dy)) 1.25em calc(.5 * var(--dy) - 0.9375em) #000, 0 calc(0.9375em - var(--dy)) 1.25em calc(.5 * var(--dy) - 0.9375em) #000;
    background: Linear-gradient( #66b47e, #05823f);
    font: 1em / 1.5em abel, trebuchet ms, verdana, arial, sans-serif;
    color: #fff;
    text-transform: uppercase;
    filter: grayscale(0.85) contrast(0.85);
    transition: .3s;
    cursor: pointer;

}
   
#addQuotationModal .modal-body {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 112px); /* Matches addSaleModal */
}

#addQuotationModal .fixed-row {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

#addQuotationModal .scrollable-row {
    flex: 1 1 auto;
    overflow-y: auto;
    max-height: 66vh; /* Matches addSaleModal */
    margin: 0;
    padding: 0;
}

#addQuotationModal .form-label {
    color: #4d4d4d;
    margin-bottom: 0 !important;
    font-size: 12px;
}

#addQuotationModal #quotation-product-details .form-label {
    color: #c3c9c4; /* Matches addSaleModal */
    margin-bottom: 0 !important;
    font-size: 12px;
    margin-left: 4px;
}

#addQuotationModal .modal-header .btn-close {
    padding: 5px;
    margin: 5px;
}

#addQuotationModal .modal-header {
    justify-content: flex-start;
    padding: 0px 15px !important;
}

#addQuotationModal .modal-header .btn {
    padding: 0 5px;
    border: 1px solid #a1a1a1;
    background-color: #b7b5b1;
    font-size: 12px;
}

#addQuotationModal .btn-primary {
    font-size: 1.2em; /* Matches addSaleModal button size */
}

#addQuotationModal .input-group-text {
    padding: 0 5px;
    background-color: #dfdfdf;
    border-color: #9d9d9d;
}

#addQuotationModal .group-style-1 .btn-primary {
    font-size: 1em;
    border: #73756b solid 1px;
    background-color: rgb(253 240 199) !important;
    color: #0b0b0b;
    border-radius: 0.5em;
    text-shadow: 0 0.0625em 0 #fff;
    box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef;
}

#addQuotationModal .size-style-1 button {
    width: 75px;
    height: 58px;
    padding: 0 !important;
}

#addQuotationModal .search-bar #quotation-product-search,
#addQuotationModal .search-bar #quotation-barcode-scan {
    transition: flex 0.3s ease;
}

#addQuotationModal .search-bar #quotation-product-search {
    flex: 1;
    min-width: 0;
}

#addQuotationModal .search-bar #quotation-barcode-scan {
    flex: 0;
    width: 0;
    overflow: hidden;
}

#addQuotationModal .search-bar.barcode-active #quotation-product-search {
    flex: 0;
    width: 0;
    overflow: hidden;
}

#addQuotationModal .search-bar.barcode-active #quotation-barcode-scan {
    flex: 1;
    width: auto;
}



/* Ensure read-only input looks like form-control-plaintext */
#outstanding_balance {
    background: transparent;
    border: none;
    padding: 0;
    cursor: default;
    color: inherit;
}
#outstanding_balance:focus {
    outline: none;
}

.green-3{
    background-color: #c6d2c7 !important;
}


.input-group-text{
    padding: 0 5px;
    background-color:#dfdfdf ;
    border-color: #9d9d9d;
}


.group-style-1 .btn-primary{
 
    font-size: 1em;
    gap:1px;
    text-align: center;
    
    
    cursor: pointer;
    border:#73756b solid 1px;
    border-radius: 5px;
    color: #3c1053;
    /* color: #646462; */
    
    background-color: rgb(216 207 178) !important;
    background-color: rgb(253 240 199) !important;
    color:#0b0b0b;
    border-radius: 0.5em;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    text-shadow: 0 0.0625em 0 #fff;
    box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef;
       
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);   

}


.group-style-1 .btn-primary:hover {  
    background-image: linear-gradient(to right, rgb(216 207 178), rgb(200 190 160)) !important;
    color: #3c1053; 
    border-color: rgb(216 207 178); 
    text-shadow: none; 
}

.size-style-1 button{
    width: 75px;
    height: 58px;
    padding: 0 !important;
}

.size-style-2 button{
    width: 60px;
    height:50px;
    padding: 0 !important;
}

.size-style-3 button{
    
    height: 60px;
    padding: 0 !important;
}

.group-style-2 button{
    background: #c3cfc4;
    border: 2px solid #efefe8;    
    padding: 0 .55em;
    box-sizing: border-box;
}
.group-style-3 button{
    background: #919992;
    border: 1px solid #bbbbb1;
    padding: 0 .90em;
    box-sizing: border-box;
}
.group-style-2 input{
    border: #fff;
}

.group-style-2 .btn:hover{
    border: 2px solid #efefe8;
    background-color:  #7a817b;
    /* #6c757d */
}



.bg-style-1{
    padding-left: 2px;
    padding-right: 2px;
    background-color: #c6d2c7;
    color: #000000;
    cursor: pointer;
}
.border-top-1{
    border-top: 2px solid #73756b !important;;
}
.border-bottom-1{
    border-bottom: 1px solid #73756b !important;;
}

/* modal border color */
.modal{
    --bs-modal-header-border-color:#b9b9b9;
    --bs-modal-footer-border-color:#b9b9b9;
}


.modal-header {
    
}

 /* input[type="date"]::-webkit-inner-spin-button,
 input[type="date"]::-webkit-calendar-picker-indicator {
     display: none;
     -webkit-appearance: none;
 } */

/* Scrollbar style  */

 .scroll-style-2::-webkit-scrollbar-track
 {
     -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
     border-radius: 10px;
     background-color: #504d4d;
 }
 
 .scroll-style-2::-webkit-scrollbar
 {
     width: 8px;
     background-color: #2c2c2c;
 }
 
 .scroll-style-2::-webkit-scrollbar-thumb
 {
     border-radius: 12px;
     -webkit-box-shadow: inset 0 0 6px rgb(246, 246, 246);
     background-color:  #73756b;
 }
 
 .list-group{
    z-index: 3;
 }
 .list-group-item p{
     margin: 0;
    padding: 0;
 }
 
 .list-group-item.active{
    background-color: #dddbd9 !important;
    border: none !important;
    outline: none;
    color:black;
   
 }
  .list-group-item:focus{
       background-color: #dddbd9 !important;
    border: none !important;
    outline: none;
 }
   .list-group-item:hover{
     background-color: #dddbd9 !important;
    border: none !important;
    outline: none;
    color:black;
 }
 /* canvas */

#myChart{
      width:400px;
      height:300px;
}
/* xxxxxxx PAYMENT PANEL xxxxxxx */
/* .payment-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: #b7b5b1;
    border-bottom: solid #73756b 5px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    transition: right 0.3s ease;
    z-index: 1050;
}

.payment-panel.active {
    right: 0;
}

.payment-header {
    background-color: #73756b;
    border-bottom: 1px solid #73756b;
}

.keypad-btn {
    min-width: 60px;
    font-size: 1.5em;
    padding: 10px;
    background-color: #4a4e4b;
}

.payment-method.active {
    background-color: #28a745;
    color: #fff;
}

.payment-method {
    min-width: 80px;
} */

.payment-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: #b7b5b1;
    border-left: solid #73756b 5px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.4);
    transition: right 0.3s ease;
    z-index: 1050;
    font-family: 'Segoe UI', sans-serif;
}

.payment-panel.active {
    right: 0;
}

.payment-header {
    background-color: #73756b;
    color: white;
    border-bottom: 1px solid #5e5f56;
}

.payment-header h5 {
    margin: 0;
}

.amount-due {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2f2f2f;
}

.payment-methods .btn-primary {
    background-color: #73756b;
    border: none;
    transition: background-color 0.2s;
}

.payment-methods .btn-primary:hover,
.payment-methods .btn-primary.active {
    background-color: #5e5f56;
}

#add-sale-cash-input label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Calculator screen style */
#add-sale-amount-received,
#add-sale-change-amount {
    display: block;
    background-color: #e0e0dc;
    border: 2px inset #aaa;
    padding: 12px 15px;
    font-size: 1.6rem;
    text-align: right;
    width: 100%;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: #000;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

#add-sale-change-amount {
    font-size: 2rem;
    margin-top: 10px;
    font-weight: bold;
}

/* Numeric Keypad */
/* Numeric Keypad Layout (Grid) */
.numeric-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

/* Buttons inside keypad */
.numeric-keypad .btn {
    font-size: 1.5rem;
    padding: 20px 0;
    background-color: #ddd;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease-in-out;
}

/* Button hover effect */
.numeric-keypad .btn:hover {
    background-color: #bbb;
}

/* Optional: Responsive max height for scroll if needed */
.payment-body {
    overflow-y: auto;
    max-height: calc(100vh - 60px); /* Adjust as needed */
}

#add-sale-keypad-backspace i {
    font-size: 1.2rem;
}

/* Confirm Button */
#add-sale-confirm-payment {
    background-color: #4caf50;
    border: none;
    font-size: 1.2rem;
    padding: 12px;
    font-weight: bold;
    transition: background-color 0.3s;
}

#add-sale-confirm-payment:hover {
    background-color: #449d48;
}


/* popover */
/* .reject-confirm-popover .popover {
    max-width: 300px !important;
    border: 1px solid #dc3545 !important;
    z-index: 2000 !important;
}
.reject-confirm-popover .popover-header {
    display: none !important;
}
.reject-confirm-popover .popover-body {
    padding: 0 !important;
}
.reject-confirm-popover .popover-body > div {
    padding: 8px !important;
}
.reject-confirm-popover p {
    font-size: 0.9rem !important;
    margin: 0 0 8px 0 !important;
    color: #333 !important;
}
.reject-confirm-popover button {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 0.8rem !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    border: none !important;
    cursor: pointer !important;
    line-height: 1.5 !important;
}
.reject-confirm-popover .confirm-reject {
    background-color: #dc3545 !important;
    color: #fff !important;
}
.reject-confirm-popover .cancel-reject {
    background-color: #6c757d !important;
    color: #fff !important;
} */

@media (max-width: 768px) {
    .wrapper {
        margin: 0px;
    }
    .stat-col {
        margin-bottom: 20px; 
        }
    .statitics-col{
        margin-bottom: 20px;
    }
    .user-menu {
      
        justify-content:space-between;
        width:100%
    }
    .nav-link {
        margin-bottom: 10px;
    }

    #addSaleModal .modal-body {
        display: flex;
        flex-direction: row;
        height: auto; 
    }
    .scrollable-row {
        flex: none;  
    }

    /* Tailor Section */
   
    addStitchingOrderModal  #tailorSideBar {
    width: 100% !important;
    justify-content: space-around;
    }
    addStitchingOrderModal #stitchingCarts{
    width: 100%;
    }

    #addStitchingOrderModal #tailorSideBar {
         width: 100% !important;
          
    }

    #addStitchingOrderModal #stitchingCarts{
        width: 100%!important;
    }
    #addPurchaseModal .input-group{
        margin-bottom: 10px;
    }

    #addPurchaseModal .final-payment{
        margin-bottom: 10px;
    }

}

/* selection style */
.sele-style-1{
    height: 44px;
    border: none;
    overflow: hidden;
    background-color: transparent;
  }
.sele-style-1::-moz-focus-inner {
    border: 0;
}
.sele-style-1:focus {
outline: none;

}
.sele-style-1 option{
    height: 44px;
    border: none;
    overflow: hidden;
    font-size: 1em;
    padding: 7px 0;
    text-align: center;
    margin-right: 17px;
    display: inline-block;
    cursor: pointer;
    border:rgb(197 197 197) solid 1px;
    border-radius: 5px;
    color: #3c1053;

    background-color:#b9b9b9 !important;  /*d0d9e2*/
    background-color: #c5d1c6fa !important;
    background-color: transparent;
    color:#0b0b0b;
    border-radius: 0.5em;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    text-shadow: 0 0.0625em 0 #fff;
    box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef;
       
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);   
}



.reject-confirm-popover .popover-body {
    padding: 15px;
}
.reject-confirm-popover .btn {
    margin-right: 5px;
}

/* Wizard modal */

.style-4 .modal-body{
    background-color: #b7b5b1;
    border-bottom: solid #73756b 5px;
}
.style-4 .step{
    padding-bottom: 5px;
    padding: 0 7px 12px 0;
}

.style-4 .nav-item {
    flex: 0 1 auto;
    margin: 0 2px;
}

.style-4 .nav-item .nav-link{
    font: inherit;
    background-color: #CDC9C0;
    color:#3a3a3b;
    border-radius: 0.5em;
    /* border-top-left-radius: 0;
    border-top-right-radius: 0; */
    text-shadow: 0 0.0625em 0 #fff;
    box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef,
        0 0.125em 0 0 #ececec, 0 0.25em 0 0 #e0e0e0, 0 0.3125em 0 0 #dedede,
        0 0.375em 0 0 #dcdcdc, 0 0.425em 0 0 #cacaca, 0 0.425em 0.5em 0 #cecece;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    touch-action: manipulation;
    cursor: pointer;
}

.style-4 .nav-link.active{
    background-color: #f0f0f0;
    color: #242424;
    font-weight: 600;
}


.style-4 .form-label{
    color:#1f1f1f;
}


/*    STYLE 5    */



.style-5.btn-group {
    display: flex !important;
    align-items: start;    
}

.style-5.btn-group .btn{
    display: flex !important;
    align-items: start; 
    background-color: #c5d1c6fa;
    color:#3a3a3b;


    /* border-top-left-radius: 0;
    border-top-right-radius: 0; */
    text-shadow: 0 0.0625em 0 #fff;
    box-shadow: inset 0 0.0625em 0 0 #f4f4f4;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    touch-action: manipulation;
    cursor: pointer;  
}


.style-5 .btn-check:checked+.btn {
    border: 1px solid #668969 !important;
    background-color: #8ea790 !important;
}

.style-5.btn-group .btn{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}


.style-6{
    font: inherit;
    background-color: #CDC9C0;
    color:#3a3a3b;
    border-radius: 0.5em;
    /* border-top-left-radius: 0;
    border-top-right-radius: 0; */
    text-shadow: 0 0.0625em 0 #fff;
    box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef,
        0 0.125em 0 0 #ececec, 0 0.25em 0 0 #e0e0e0, 0 0.3125em 0 0 #dedede,
        0 0.375em 0 0 #dcdcdc, 0 0.425em 0 0 #cacaca, 0 0.425em 0.5em 0 #cecece;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    touch-action: manipulation;
    cursor: pointer;
}

#add-sale-net-payable{
    font-size: 18px;
    background: #e5d7a7;
    color: rgb(15, 15, 16);
    border-color: #9d9d9d;
    font-weight: normal;
}
#add-sale-net-payable:disabled{
    color: rgb(15, 15, 16);
    border-color: #9d9d9d;
    font-weight: normal;
}


.state-name, .outstanding-balance{
    border:none;width:100px; background-color: transparent; color:  bisque;
}


.import-button{
    text-shadow: 0 0.0625em 0 #525050;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-size: 1.5em;
    margin: -5px 0px;
    transition: all .2s;
}
.import-button:hover{
    touch-action: manipulation;
    cursor: pointer; 

    text-shadow: none; 
}

.small{
    font-size: .8em !important;
    font-weight: 100;
}

/* searh bar / barcode scan switching width */

.search-bar {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.search-bar .input-group-text {
    cursor: pointer;
}

.search-bar #product-search,
.search-bar #barcode-scan {
    transition: flex 0.3s ease; /* Smooth width transition */
}

.search-bar #product-search {
    flex: 1; /* Takes remaining space initially */
    min-width: 0; /* Prevents overflow */
}

.search-bar #barcode-scan {
    flex: 0; /* No width initially */
    width: 0;
    overflow: hidden; /* Hides content when width is 0 */
}

.search-bar.barcode-active #product-search {
    flex: 0;
    width: 0;
    overflow: hidden;
}

.search-bar.barcode-active #barcode-scan {
    flex: 1; /* Takes remaining space when active */
    width: auto;
}


#product-search:focus,
#barcode-scan:focus {
    outline: 2px solid #007bff;
    outline-offset: -2px;
}


/*    General   */

input::-webkit-outer-spin-button, 

input::-webkit-inner-spin-button {
    -webkit-appearance: none; 
    margin: 0; 
}

input[type=number] {
    -moz-appearance: textfield; 

} 

.checkbox-wrapper-6 .tgl {
    display: none;
  }
  .checkbox-wrapper-6 .tgl,
  .checkbox-wrapper-6 .tgl:after,
  .checkbox-wrapper-6 .tgl:before,
  .checkbox-wrapper-6 .tgl *,
  .checkbox-wrapper-6 .tgl *:after,
  .checkbox-wrapper-6 .tgl *:before,
  .checkbox-wrapper-6 .tgl + .tgl-btn {
    box-sizing: border-box;
  }
  .checkbox-wrapper-6 .tgl::-moz-selection,
  .checkbox-wrapper-6 .tgl:after::-moz-selection,
  .checkbox-wrapper-6 .tgl:before::-moz-selection,
  .checkbox-wrapper-6 .tgl *::-moz-selection,
  .checkbox-wrapper-6 .tgl *:after::-moz-selection,
  .checkbox-wrapper-6 .tgl *:before::-moz-selection,
  .checkbox-wrapper-6 .tgl + .tgl-btn::-moz-selection,
  .checkbox-wrapper-6 .tgl::selection,
  .checkbox-wrapper-6 .tgl:after::selection,
  .checkbox-wrapper-6 .tgl:before::selection,
  .checkbox-wrapper-6 .tgl *::selection,
  .checkbox-wrapper-6 .tgl *:after::selection,
  .checkbox-wrapper-6 .tgl *:before::selection,
  .checkbox-wrapper-6 .tgl + .tgl-btn::selection {
    background: none;
  }
  .checkbox-wrapper-6 .tgl + .tgl-btn {
    outline: 0;
    display: block;
    width: 4em;
    height: 2em;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
  .checkbox-wrapper-6 .tgl + .tgl-btn:after,
  .checkbox-wrapper-6 .tgl + .tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
  }
  .checkbox-wrapper-6 .tgl + .tgl-btn:after {
    left: 0;
  }
  .checkbox-wrapper-6 .tgl + .tgl-btn:before {
    display: none;
  }
  .checkbox-wrapper-6 .tgl:checked + .tgl-btn:after {
    left: 50%;
  }

  .checkbox-wrapper-6 .tgl-light + .tgl-btn {
    background: #f0f0f0;
    border-radius: 2em;
    padding: 2px;
    transition: all 0.4s ease;
  }
  .checkbox-wrapper-6 .tgl-light + .tgl-btn:after {
    border-radius: 50%;
    background: #fff;
    transition: all 0.2s ease;
  }
  .checkbox-wrapper-6 .tgl-light:checked + .tgl-btn {
    background: #9FD6AE;
  }

/*  Bootstrap POPOVER */

   /* modern “glassmorphism” look: */
  .popover  {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color:#ffffff !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important; 
}
 .popover  p{
  color:#CCC !important;
}

/* Bootstrap ALERT */
.alert {
  background-color: rgba(255, 255, 255, 0.2); /* Translucent white */
  backdrop-filter: blur(12px); /* Glass blur effect */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.4); /* Light frosted border */
  border-radius: 12px;
  color: #ffffff; /* Adjust for light-on-dark legibility */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Soft */
}

/* Base styling for glossy effect */
.alert .btn-close {
  filter: brightness(0) invert(1); /* White icon for dark backgrounds */
  opacity: 0.8;
  padding: 0.3rem;
  top: 5px;
  right: 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0); /* Soft glow background */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover effect */
.alert .btn-close:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
  opacity: 1;
}

/* .batch-item .select-batch.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
} */


/* Modal background */
.modal-content {
    background-color: #73756b !important;
    color: #fff;
}

/* Batch button default */
.select-batch {
    background-color: #ffffff; /*#b9b9b9; */
    border: none;
    color: #333;
    text-align: left;
    padding: 10px;
    transition: background-color 0.2s, box-shadow 0.2s;
    margin-bottom: 1px;
}

/* Hover effect */
.select-batch:hover {
    background-color: rgb(253, 240, 199);
    box-shadow: 0 0 0 2px rgba(253, 240, 199, 0.6);
    outline: none;
}

/* Focused via Arrow keys */
.select-batch:focus {
    background-color: rgb(253, 240, 199);
    box-shadow: 0 0 0 2px rgba(253, 240, 199, 0.8);
    outline: none;
}

/* Clicked state (optional visual feedback) */
.select-batch:active {
  
}

/* Optional: Text tone tweaks */
.select-batch strong {
    color: #191818;
}

.select-batch p {
    color: #555;
}

/*  Barcode label */

.barcode-template-wrapper {
    width: 220px;
    padding: 6px;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

.barcode-row {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

.barcode-top {
    font-weight: bold;
}

.barcode-svg {
    display: block;
    margin: auto;
    width: 100%;
}

.barcode-bottom {
    font-size: 11px;
    margin: 0px;
}

/* ####################### Tailor Section ###############*/
#addStitchingOrderModal #tailorSideBar {
 padding-bottom: 10px;
    flex-shrink: 0;
    width: 70px; /* Use width instead of min/max for consistency */

  }

#addStitchingOrderModal #tailorSideBar .btn{
    width: 45px !important;
    height: 45px !important;
    font-size: 2em;
    padding: 0px !important;
    color: #f3e6bd;
    background-color: #4f4f4f;
    border-color: #333333;
    border-radius: 5px;
    box-shadow: 0px 0px 4px 2px rgb(255 235 164);
    transition: all 0.3s ease;
    position: relative;

}
#addStitchingOrderModal #tailorSideBar .btn.active {
    box-shadow: 0px 0px 4px 2px rgb(13 208 255);
}


#addStitchingOrderModal #tailorSideBar .btn img{
 width: 35px; vertical-align:top; position: absolute; top:3px ;left: 3px;

}

#addStitchingOrderModal #tailorSideBar .btn:hover{
    color:#81a383;
    background-color: #fffffe;
    box-shadow:none;
}

#addStitchingOrderModal #stitchingCarts{
    /* min-width: 300px;
    max-width: 300px; */
    width:350px;
    flex-shrink: 0;
    background-color: #b7b5b1 !important;
    color: #0b0b0b;
    /* border-radius: 0.5em; */
}

#addStitchingOrderModal .modal-header{
    padding: 6px 15px !important;
}

#addStitchingOrderModal #tailor-customer-info{
    background-color: #c5d1c6fa;
}

#addStitchingOrderModal  #tailor-customer-info strong{
    color:#4e4e4e;
}
#addStitchingOrderModal  #tailor-customer-info span:nth-child(2){
    color: black;
    font-size: small;
}
.text-shadow-1{
    text-shadow: 0 0.0625em 0 #fff;
    box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef, 0 0.125em 0 0 #ececec, 0 0.25em 0 0 #e0e0e0, 0 0.3125em 0 0 #dedede, 0 0.375em 0 0 #dcdcdc, 0 0.425em 0 0 #cacaca, 0 0.425em 0.5em 0 #cecece;
    -webkit-tap-highlight-color: rgba(236, 227, 227, 0);
}
#addStitchingOrderModal .fabric-card {
    /* background-color: #f8f9fa; light gray background */
    background-color: #c5d1c6fa !important;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#addStitchingOrderModal .fabric-card img{
    border-top-left-radius:10px;
    border-top-right-radius:10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#addStitchingOrderModal .fabric-card input.zone{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-color: #ffffffb8;
    
}
ddStitchingOrderModal .fabric-card input.zone:focus {
    outline: 1px solid #cd9976; /* Bright orange outline */
    outline-offset: 1px;
}


.fabric-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-color: #0d6efd; /* Optional: Add a color highlight */
  }

.fabric-card {
    transition: transform 0.3s ease;
    text-align: center;
    position: relative;
}

.fabric-card.selected p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    background-color: #f0f9ff; /* Soft blue highlight */
    padding: 0px 8px;
    border-radius: 6px;
    
  }
  
.fabric-card.selected::after {
  content: "\2713"; /* Unicode checkmark */
  font-size: 2rem;
  color: green;
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: transparent;
}


#addStitchingOrderModal .border{
    border-color: #efcc4d38 !important;
}
#addStitchingOrderModal #prevOrderInfo{
    box-sizing: border-box;
    border: 1px solid rgb(79 79 79);
    border-radius: 10px;
    background-color: #ffffff1c;
       padding-left: 0 !important;
 

}
#addStitchingOrderModal .prev-order-info{
   color:#bfbfbf;
   font-size: .75em;

}
#addStitchingOrderModal .prev-order-info span{
   color:#ffffff;
   font-size: 1em;
}
#addStitchingOrderModal #prev-items .bg-info{
   color:#4f4f4f;
   background-color: mediumseagreen !important;
   cursor: pointer;

}

#addStitchingOrderModal #prev-items .bg-info{
   color:#ffffff;
   background-color:#4f4f4f !important;
   cursor: pointer;

}
#addStitchingOrderModal #prev-items .bg-info:hover{
    color:#202420;
    background-color: #fffffe !important;

}
/* Cart Items */
/* Container background */
#stitchingOrderCartItems {
  background-color: #b7b5b1;
  padding: 2px 8px 2px 0;
  border-radius: 10px;
  font-family: 'Segoe UI', sans-serif;
  }

/* Cart item list styling */

.cart-items li {
  background-color: #c3cfc4;
  margin-bottom: .5rem;
  border-radius: 8px;
  padding: 0.2rem;
  box-shadow: 2px 2px 8px rgba(115, 117, 107, 0.2);
  transition: transform 0.2s ease;
}

.cart-items li:hover {
  transform: scale(1.01);
}

/* Header row for each cart item */
.cart-items .d-flex > div:first-child {
  font-weight: 600;
  color: #0a0a0a;
  font-size: 1.1rem;
}

/* Input field styling */
.cart-items input[type="number"] {
  background-color: #fdf0c7;
  border: 1px solid #e5dbbf;
  border-radius: 4px;
  color: #050505;
  padding: 2px 6px;
}

/* Buttons */
#addStitchingOrderModal .edit-btn, addStitchingOrderModal .delete-btn {
  margin-left: 0.5rem;
  background-color: #a5a5a5;
  color: #213429;
  border: none;
  border-radius: 4px;
  padding: 2px 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.edit-btn:hover {
  background-color: #fffffd;
}

.delete-btn:hover {
  background-color: #e5dbbf;
  color: #000;
}

/* Nested details list */
.cart-items ul {
  margin:0;
  padding: 0;
  color: #0e0e0e;
  font-size: 0.95rem;
}

.bg-warning {
    --bs-bg-opacity: 1;
    background-color: rgb(253 240 199) !important;
}
 
#tailorOrderTotal{
 background-color: hsl(0, 0%, 9%);
 display: flex;
 justify-content: space-between;
 align-items: center; /* optional: vertically center items */

 color: #ded09a9c;
 padding:10px 5px;
 padding-right: 10px;
 text-shadow: none;
 font-size:x-large;
 text-align: right;
}
#clothTotal{
    color: #90a47f;
    color: #40433f; 
}

#ClothCart .table { font-size: 0.8rem; }
#ClothCart .table .small { font-size: 0.7rem; }
#ClothCart .table th, #ClothCart .table td { padding: 0.3rem; }

.style-image-overlay {
  display: block !important;
  z-index: 2000 !important;
}
#stitchingCustomerResults{
    left: 90px;
    top: 28px;
}
#cropArea1 , #cropArea2, #cropAreaOwn{
  width: 100px;
  height: 100px;
  position: absolute;
  border: 2px dashed #f00;
  cursor: move;
  top: 100px;
  left: 100px;
}
#universalLoader {
  transition: opacity 0.3s ease-in-out;
}


/* Allow stacking of modals */
.modal.show {
  z-index: 1050; /* base modal */
}
#contactModal {
  z-index: 1060 !important; /* higher so it overlays */
}
.modal-backdrop.show {
  z-index: 1040 !important; /* stays behind both */
}
#saveTailorOrder:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}


/*  Calender Delivery Schedule */
.calendar-day {
      border: 1px solid #dee2e6;
      border-radius: 0.5rem;
      padding: 0.5rem;
      height: 130px;
      background-color: #fdf0c721;
      overflow: hidden;
    }
    .garment-icon {
      font-size: 1rem;
      margin-right: 0.3rem;
      cursor: pointer;
    }
    .garment-icon + span {
        font: 10px;
    }

    .calendar-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 0.5rem;
    }
    .day-label {
      font-weight: bold;
      text-align: center;
      margin-bottom: 0.5rem;
    }

/* ==============================
   SCHEDULED PULLS DASHBOARD
   ============================== */
#scheduledPulls , #tailorPulls , #cutterPulls, #sortedPulls, #finishedPulls, #despatchedPulls {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    padding: 1rem;
    background: #292929;;
    border-radius: 8px;
    /* min-height: 300px; */
    margin-bottom: 1em;
}

#scheduledPulls .scheduled-item {
    cursor: pointer;
    transition: all 0.25s ease;
    border-left: 5px solid #1d7ca5;
    background: #e7e7e7;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    
}

#scheduledPulls .scheduled-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

#scheduledPulls .scheduled-item strong {
       color: #005895;
}


#scheduledPulls .scheduled-item span, 
 #tailorPulls .tailored-item span , 
 #cutterPulls .cutting-item span, 
 #sortedPulls .sorted-item span,
 #finishedPulls .finished-item span {
    color: #000000;
    font-size: .6em;
} 

#scheduledPulls .scheduled-item small, 
#tailorPulls .tailored-item small,
#cutterPulls .cutting-item small,
#sortedPulls .sorted-item small, 
#finishedPulls .finished-item small{
    font-size: 0.6rem;
    color: #0b1016;
}

/* "No items" placeholder */
#scheduledPulls p.text-muted {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    font-style: italic;
}


#scheduledPulls:empty,
#tailorPulls:empty,
#cutterPulls:empty,
#sortedPulls:empty,
#finishedPulls:empty, 
#despatchedPulls:empty{
    display: none;
}
.delivery-badge{
    font-size:12px !important;
}

/* ==============================
   TAILOR ASSIGNMENT MODAL
   ============================== */
#tailorAssignmentModal .modal-dialog {
    max-width: 1000px;
}

#tailorAssignmentModal .modal-body {
    /* background: #fdfdfd; */
    padding: 1.5rem;
}

/* Scheduled items row */
#tailorAssignmentModal #scheduledItems {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: #acada6;
    border-radius: 4px;
    padding: 0.75rem;
    width:100%;
}

#tailorAssignmentModal #scheduledItems .item {
    background: #e5e5e5;
    border: 1px solid #dddddd;
    border-left: 4px solid #939b6d;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    flex: 1 1 180px;
    transition: 0.2s ease-in-out;
}

#tailorAssignmentModal #scheduledItems .item:hover {
    background: #e7f1ff;
}

/* Available tailors list */
#tailorAssignmentModal #availTailors {
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
    list-style: none;
    border-radius: 4px;
}

#tailorAssignmentModal #availTailors li {
    padding: 0.6rem 0.8rem;
    margin: 0.1rem 0.5rem;
    font: inherit;
    background-color: #dddddd;
    color: #3a3a3b;
    /* border-radius: 0.5em; */
    text-shadow: 0 0.0625em 0 #fff;
    box-shadow: inset 0 0.0625em 0 0 #f4f4f4;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    touch-action: manipulation;
    cursor: pointer;
    width:100%;
}

#tailorAssignmentModal #availTailors li:hover {
    background: #f1f9ff;
}

#tailorAssignmentModal #availTailors li.selected {
    /* background: #0d6efd;
    color: #fff; */
    background-color: #fff !important;
    font-weight: 600  !important;
}

/* Current assignments and cart containers */
#tailorAssignmentModal #currentAssignments,
#tailorAssignmentModal #assignmentsCart {
    background: #70716b;
    border: 1px solid #dee2e6;
    border-radius: 0px;
    padding: 0.75rem;
    min-height: 150px;
    overflow-y: auto;
}

#tailorAssignmentModal #assignmentsCart {
    background: #70716b;
}

/* Items inside assignment cart */
#assignmentsCart .item {
    position: relative;
    padding-right: 2rem;
}

#assignmentsCart .remove-btn {
    position: absolute;
    right: 0.3rem;
    top: 0.3rem;
    padding: 0.2rem 0.4rem;
    line-height: 1;
    font-size: 0.75rem;
}

/* Footer Assign button */
#tailorAssignmentModal .modal-footer {
    justify-content: flex-end;
    border-top: 1px solid #dee2e6;
}


/* ===========================
   Measurment Printing Modal
   ========================== */

 #printAassignmentsCart , 
 
 #measurementPrintingModal #scheduledItems, 
 #assignmentsCart, 
 #staffAssignmentModal #scheduledItems,
 #despatchModal #despatchItems{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    /* min-height: 300px; */
    margin-bottom: 1em;
}

 #printAassignmentsCart{background: #878787;}
 
 

/* Scrollbars for overflow lists */
#availTailors::-webkit-scrollbar,
#currentAssignments::-webkit-scrollbar,
#assignmentsCart::-webkit-scrollbar {
    width: 6px;
}
#availTailors::-webkit-scrollbar-thumb,
#currentAssignments::-webkit-scrollbar-thumb,
#assignmentsCart::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 4px;
}

.schedule-item-simple {
    font-family: Arial, sans-serif;
    padding: 8px;
    border-bottom: 1px solid #eee;
    color: #fdfafa;
    font-size: 14px;
}

.schedule-item-simple span:first-child {
    font-weight: bold;
    color:#6af1f1;
}

.schedule-item-simple .status {
    color:#ffd6d4; /* Reddish color for pending */
    margin-left: 10px;
}

/* ===========================
  Staff Assignment  Modal
   ========================== */

#staffAssignmentModal #availStaff .staff{
    color: black;
    font-size: 1em; margin: 2px 5px; 
}

#staffAssignmentModal #currentAssignments p , 
#staffAssignmentModal #currentAssignments div{
    color: #1f1f1f;
}
#staffAssignmentModal #scheduledItems span{
    font-size: 0.6rem;
    color: #0b1016;
}
#staffAssignmentModal #scheduledItems small{
    font-size: 0.6rem;
    color: #0b1016;
}

/* ===========================
  Timeline  Modal ( orderTrackingModal )
   ========================== */
#orderTrackingModal .card{
    background-color: #d5d5d4;

}

#orderTrackingModal .timeline {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 3px solid #a5a5a5;
}

#orderTrackingModal .timeline-item {
    margin-bottom: 20px;
    position: relative;
}

#orderTrackingModal .timeline-dot {
    width: 14px;
    height: 14px;
    background: #373e2e;
    border-radius: 50%;
    position: absolute;
    left: -28px;
    top: 5px;
    border: 3px solid white;
    box-shadow: 0 0 3px #0003;
}

#orderTrackingModal .timeline-content {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 10px 15px;
    border-left: 3px solid #5a674d;
}
.swal2-modal{
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

#addProductImageModal .product-info{
    font-size: 1.3em;
 }
 



   