/* Optimized datepicker styles */
.datepicker.dropdown-menu,
.ui-datepicker,
.modal .datepicker {
  z-index: 9999 !important;
  position: absolute !important;
}

.modal .datepicker {
  z-index: 10000 !important;
}

/* Optimized date input styles */
.inline-date-input, 
.expedition-date-picker {
  position: relative !important;
  z-index: 1000 !important;
  background-color: white !important;
  border: 1px solid #ccc !important;
  border-radius: 3px !important;
  transition: all 0.2s ease !important;
}

.inline-date-input:focus, 
.expedition-date-picker:focus {
  border-color: #007bff !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
  outline: none !important;
}

/* Optimized table and container visibility */
.dataTables_scrollBody,
.table-responsive {
  overflow: visible !important;
}

table.dataTable tbody td {
  position: relative;
  overflow: visible !important;
}

/* Better styling for inline editing controls */
.editable-actual-due-date.editing {
  background-color: #f8f9fa !important;
  padding: 5px !important;
  border-radius: 3px;
}

/* Improved inline editing buttons */
.editable-actual-due-date .btn-xs {
  padding: 3px 8px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  border-radius: 3px !important;
  margin-left: 3px !important;
  min-width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.editable-actual-due-date .btn-xs:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
}

.editable-actual-due-date .btn-success {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}

.editable-actual-due-date .btn-secondary {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: white !important;
}

.editable-actual-due-date .btn-xs i {
  margin: 0 !important;
}

/* Align delete button to the bottom right of the textarea in expedition-details-table */
.expedition-details-table td:last-child {
  vertical-align: bottom;
}

.expedition-details-table .delete-expedition-row {
  float: right;
  margin-top: 4px;
  margin-bottom: 4px;
}
/* Make expedition details table fields larger and more readable */

/* Place after .form-control-sm for proper override */
.expedition-details-table input[type="date"],
.expedition-details-table input[type="text"],
.expedition-details-table textarea {
  font-size: 1rem !important;
  padding: 0.5rem 0.8rem !important;
  min-height: 36px !important;
  width: 100% !important;
  box-sizing: border-box;
}

.expedition-details-table textarea {
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  resize: none;
}
@media (max-width: 767px) {
    .main-header .navbar-custom-menu {
        float: none !important;
        display: block !important;
    }
    .main-header .navbar-custom-menu .dropdown-menu {
        left: auto !important;
    }
    .skin-blue-light .main-header .navbar .dropdown-menu li a {
        color: #777;
    }
    .main-header .navbar {
      height: auto;
    }
}
.bg-danger {
    background-color: #f2dede !important;
}
.btn-big {
    padding: 10px 30px;
    font-size: 18px;
    line-height: 1.3333333;
}

.of-visible {
    overflow: visible !important;
}

#online_indicator {
  font-size: 8px;
  vertical-align: middle;
}

.pt-0 {
  padding-top: 0px;
}
.f-right {
  float: right;
}
.mb-10 {
  margin-bottom: 10px;
}
.discount-badge {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 18px;
  padding: 7px;
}

.discount-badge-small {
  position: absolute;
  top: -2px;
  left: 10px;
  font-size: 12px;
  padding: 6px;
}
.product-info-table td, .product-info-table th {
  font-size: 12px;
}
.catalogue {
  max-height: 127px;
  margin: auto;
  margin-bottom: 18px;
}
.catalogue-title {
  display: inline-block;
  font-size: 18px;
  margin: 0;
  line-height: 1;
  margin-bottom: 10px;
}
.bg-light-gray {
  background-color: #f8f8f8 !important;
}
.p-5-5 {
  padding: 5px 5px !important;
}
.m-4 {
  margin: 4px;
}
.skin-black .main-header, .skin-black-light .main-header {
  color: #525f7f !important;
}
.skin-black .main-header .navbar .nav .open>a {
  color: #999 !important;
}
.skin-black .main-header .navbar .nav>li>a:hover{
  color: #999 !important;
}
.skin-black .main-header .navbar > .sidebar-toggle:hover {
  color: #999 !important;
}
.mt-0{
  margin-top: 0 !important;
}
.table-pdf thead tr{
  background-color: #357ca5 !important;
  color: #fff;
}
.table-pdf thead tr th {
  color: #fff !important;
}
.blue-heading {
  background-color: #357ca5;
  color: #fff;
}

.table-pdf .odd {
    background-color: #DCE6F1;
}
.p-4{
  padding: 4px;
}
.p-10{
  padding: 10px !important;
}
.jquery-top-scrollbar{
    height: 6px !important;
}
.jquery-top-scrollbar div {
    height: 6px !important;
}
.scroll-top-bottom {
  width: 100%;
  overflow: scroll;
}
.scroll-top-bottom::-webkit-scrollbar {
    height: 6px;
}

.scrolltop {
  display:none;
  width:100%;
  margin:0 auto;
  position:fixed;
  bottom:20px;
  right:60px;
}
.scroll {
  position:absolute;
  right:20px;
  bottom:20px;
  background:#b2b2b2;
  background:rgba(178,178,178,0.7);
  padding:7px;
  text-align: center;
  margin: 0 0 0 0;
  cursor:pointer;
  transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  border-radius: 6px;
}
.scroll:hover {
  background:rgba(178,178,178,1.0);
  transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
}
.scroll:hover .fas {
  padding-top:-10px;
}
.scroll .fas {
  font-size:25px;
  margin-top:-5px;
  margin-left:1px;
  transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
}

.f-left {
  float: left;
}
.align-left {
 text-align: left;
}
.align-right {
 text-align: right;
}

.table-pdf {
  border-collapse: collapse;
  width: 100%;
  border-spacing: 8px 10px;
}
.td-border td, .td-border th{
  border-bottom: 1px solid lightgrey;
  padding: 8px 5px;
}

.ws-nowrap {
  white-space:nowrap;
}

.btn-app>.fas, .btn-app>.fab{
    font-size: 20px;
    display: block;
}
.dropdown-menu>li>a>.fas{
    margin-right: 6px;
}
.mt-5 {
  margin-top: 5px !important;
}
.pos-form-actions{
  height: auto;
  padding-top: 12px;
  padding-bottom: 20px;
  position: fixed;
  bottom: 0px;
  /* background-color: #D1D5DC; */
  width: 100%;
  z-index: 1000;
}
.mb-12 {
  margin-bottom: 12px !important;
}
.pb-0{
  padding-bottom: 0px !important;
}
.pr-12{
  padding-right: 12px !important;
}
.main-header .sidebar-toggle:before {
    content: "" !important;
}
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}
.margin-bottom-20 {
  margin-bottom: 20px !important;
}
.text-white {
  color: #fff;
}
.wizard > .steps > ul > li {
  width: 33.33% !important;
}
.wizard > .content {
  /* background: #445867 !important; */
}
legend {
  color: #fff;
  margin-bottom: 6px;
  border-bottom: none;
}
.left-col {
  background: linear-gradient(0deg,rgba(0, 0, 0, 0.76),rgba(51, 51, 51, 0.32)),url(../img/home-bg.jpg);
  text-align: center;
  background-size: cover;
  background-position: center;
}
.left-col-content {
  color: #1A7BF9;
  width: 100%;
}
.login-header {
  font-size: 27px;
  font-weight: 600;
}
.login-header a {
  color: #fff;
}
.form-header {
  font-size: 18px;
  margin: 16px 0;
}
.btn-login {
  padding: 6px 52px !important;
}
/* .right-col {
  background-color: #243949;
  height: 100%;
  min-height: 100vh;
} */

/* Background color added by Prashant */
.right-col {
  background: linear-gradient(to right, #6366f1, #3b82f6);
  height: 100%;
}

/* .right-col label {
  color: #fff;
}

.right-col a, .text-white a {
  color: #fff;
  font-weight: 600;
  font-size: 15px
}
.right-col a:hover, .text-white a:hover {
  color: #ccc;
}
.right-col-content {
  padding: 10% 16%;
  padding-bottom: 3%;
}
.right-col-content-register {
  padding: 2% 8%;
} */

.input_inline {
  width: 100%;
  display: inline-flex;
}
.input_inline input, .input_inline span {
  width: 50%;
}
.bg-manufacturing {
  background-color: #ff851b;
}
.img-thumbnail {
  position: relative;
  width: 70px;
  height: 70px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 2px;
  transition: border .2s ease-in-out;
  padding: 4px;
  margin: 3px;
  text-align: center;
}
.img-thumbnail>.badge{
  position: absolute;
  top: -5px;
  right: -7px;
  font-size: 9px;
  font-weight: 400;
  cursor: pointer;
}
.navbar-nav>.notifications-menu>.dropdown-menu>li .menu {
  max-height: 350px;
}
.bg-aqua-lite {
  background-color: #7FFFD4;
}
.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a {
  white-space: normal;
}
.spacer {
  margin-top: 20px;
}
#product_list_body {
    max-height: 485px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.div-overlay {
    cursor: not-allowed;
    background: #e9e9e9;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
}

.d-inline-table {
  display: inline-table;
}

.label-round{
  font-size: 8px;
  border-radius: 44%;
}
.table>tbody+tbody{
  border-top: 0;
}
.table-pl-12 td, .table-pl-12 th{
  padding-left: 12px !important;
}
table tbody td.pl-20-td{
  padding-left: 20px !important;
}
table.table-border-center > tbody > tr > td:first-child,
table.table-border-center > thead > tr > th:first-child,
table.table-border-center > tfoot > tr > td:first-child
{
  border-right: 1px solid darkgray;
}
table.table-border-center-col > tbody > tr > td:nth-child(2),
table.table-border-center-col > thead > tr > th:nth-child(2),
table.table-border-center-col > tfoot > tr > td:nth-child(2)
{
  border-right: 1px solid darkgray;
  border-left: 1px solid darkgray;
}
.bg-transparent{
  background-color: transparent !important;
}
.mb-0{
  margin-bottom: 0;
}

.nav-tabs>li>a{
  font-size: 18px;
  font-weight: 600;
}
.table-transparent, .table-transparent th {
    background-color: transparent !important;
    color: #000 !important;
}
.td-full-width {
  white-space:nowrap;
}
.font-17{
    font-size: 17px !important;
}
table.dataTable tbody>tr.selected{
    background-color: #B0BED9;
}
tr.footer-total > td {
    vertical-align: middle !important;
}
.error{
	color: red !important;
}
/*  pos tab */
div.pos-tab-container{
  z-index: 10;
  background-color: #ffffff;
  padding: 0 !important;
  border-radius: 4px;
  -moz-border-radius: 4px;
  border:1px solid #ddd;
    margin-bottom: 28px;
  -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
  box-shadow: 0 6px 12px rgba(0,0,0,.175);
  -moz-box-shadow: 0 6px 12px rgba(0,0,0,.175);
  background-clip: padding-box;
}
div.pos-tab-menu{
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 0;
}
div.pos-tab-menu div.list-group{
  margin-bottom: 0;
}
div.pos-tab-menu div.list-group>a{
  margin-bottom: 0;
}
div.pos-tab-menu div.list-group>a .glyphicon,
div.pos-tab-menu div.list-group>a .fa {
  color: #5A55A3;
}
div.pos-tab-menu div.list-group>a:first-child{
  border-top-right-radius: 0;
  -moz-border-top-right-radius: 0;
}
div.pos-tab-menu div.list-group>a:last-child{
  border-bottom-right-radius: 0;
  -moz-border-bottom-right-radius: 0;
}


/* div.pos-tab-menu div.list-group>a.active,
div.pos-tab-menu div.list-group>a.active .glyphicon,
div.pos-tab-menu div.list-group>a.active .fa{
  background-color: #3c8dbc;
  color: #ffffff;
    border-color: #3c8dbc;
} */

div.pos-tab-menu div.list-group > a.active,
div.pos-tab-menu div.list-group > a.active .glyphicon,
div.pos-tab-menu div.list-group > a.active .fa {
  background: linear-gradient(to right, #6366f1, #3b82f6);
  color: #ffffff;
  border-color: transparent;
}


div.pos-tab-menu div.list-group>a.active:after{
  /* content: ''; */
  position: absolute;
  left: 100%;
  top: 50%;
  margin-top: -13px;
  border-left: 0;
  border-bottom: 13px solid transparent;
  border-top: 13px solid transparent;
  border-left: 10px solid #3c8dbc;
}

div.pos-tab-content{
  background-color: #ffffff;
  /* border: 1px solid #eeeeee; */
  padding-left: 20px;
  padding-top: 20px;
}

div.pos-tab div.pos-tab-content:not(.active){
  display: none;
}

.add-product-price-table th{
	background-color: #5cb85c;
    color: white;
}
.blue-header th {
	background-color: #3c8dbc;
    color: white;
}
.table-th-green th{
	background-color: #5cb85c;
    color: white;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}
.active-cell {
    border: 2px dotted #3c8dbc !important;
}
.cursor-pointer{
    cursor: pointer !important;
}
.pos_product_div{
    /* min-height: 47vh;
    max-height: 57vh; */
    overflow-y: auto;
    /* margin-bottom: 20px; */
    height: 40vh !important;
}
.bg-lightgray{
    background-color: #F0EDED !important;
}
.balance_due_box >li{
    padding: 11px 5px 0px 5px;
}
.option-div {
    padding: 15px;
    background-color: #d2d6de;
    color: #333;
    border:1px solid #d2d6de;
    cursor: pointer;
}
.option-div input[type="radio"]{
    display: none;
}
.option-div-group .icon {
    color: #d33724;
    display: none;
}
.option-div-group .option-div:hover{
    border:1px solid gray;
}
.option-div-group .active .icon{
    display: block;
}
.margin-left-10 {
    margin-left: 10px;
}
.margin-bottom-12{
    margin-bottom: 12px;
}
.bg-info{
    background-color: #00c0ef !important;
}
.bg-info > a{
    color: #FFFFFF !important;
}
.bg-info>a:hover{
    background-color: #337ab7 !important;
}
ul.dt-button-collection{
    background-color: #00c0ef;
}
td.details-control {
    background: url('/img/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.details td.details-control {
    background: url('/img/details_close.png') no-repeat center center;
}
.icheckbox_square-blue, .iradio_square-blue{
    margin-right: 10px;
}
.header-right-div{
    right: 10px;
    float: right;
    position: absolute;
    top: 15px;
}
.header-left-div{
    margin-top: 15px;
    display: inline-flex;
}
.m-8 {
    margin: 8px;
}
.mt-10{
    margin-top: 10px;
}
.mt-15{
    margin-top: 15px;
}
.m-5 {
    margin: 5px;
}
.icon-link{
  text-align:center;
  display:block;
  margin-bottom: 18px;
}
.icon-link > a {
    display:grid;
}
.icon-link > .badge{
    position: absolute;
    top: 20px;
    right: 67px;
}
.link-des {
    display: inline-block;
    text-align: left;
}

.navbar-nav>.user-menu>.dropdown-menu>li.user-header>img {
    border: none;
    height: auto;
    width: 100%;
    max-height: 120px;
}
.bg-light-green{
    background-color: #98D973 !important;
    color: #fff !important
}
.hover-q {
    font-size: 16px;
    margin-left: 3px;
    cursor: help;
}
.input-group-addon .hover-q{
    margin-left: 0px;
}
.text-bold{
    font-weight: bold;
}
.tour .popover-content{
    padding: 18px 14px;
}
.table-slim>tbody>tr>td, .table-slim>tbody>tr>th, .table-slim>tfoot>tr>td, .table-slim>tfoot>tr>th, .table-slim>thead>tr>td, .table-slim>thead>tr>th{
    padding: 1px;
}

/* Custom scroll bar start*/

/* width */
/* ::-webkit-scrollbar {
    width: 7px;
} */

/* Track */
/* ::-webkit-scrollbar-track {
    background: #f1f1f1;
} */

/* Handle */
/* ::-webkit-scrollbar-thumb {
    background: #888;
} */

/* Handle on hover */
/* ::-webkit-scrollbar-thumb:hover {
    background: #555;
} */

/* Custom scroll bar end*/

.product_cell{
    height: 100px;
    padding: 1%;
}
.product_cell_div{
    height: 100% !important;
    width: 100% !important;
    text-align: center;
    vertical-align: middle;
    padding-top: 5px;
    cursor: pointer;
    overflow: hidden;
}

/*CSS to print receipts*/
.print_section{
    display: none;
}
@media print{
    .print_section{
        display: inline !important;
    }
    .modal-xl{
        width: 100% !important;
    }
    ::-webkit-scrollbar{
        display: none !important;
    }
    #toast-container {
      display: none;
    }
}

.input-number .btn-default{
    background-color: white;
    padding: 6px 9px;
}

.width-50{
    width: 50% !important;
}
.width-40{
    width: 40% !important;
}
.width-60{
    width: 60% !important;
}
.width-100{
    width: 100% !important;
}

.font-30{
    font-size: 30px !important;
}

.font-23{
    font-size: 23px !important;
}
.padding-5{
    padding: 5px !important;
}
.padding-10{
    padding: 10px !important;
}
.padding-side-15{
    /*padding-left: 15px !important;
    padding-right: 15px !important;*/
}
.text-muted-imp{
    color: #A3A3A3 !important;
}

.table-no-top-cell-border td{
    border-top: 0px !important;
    border-bottom: 0px !important;
}
.table-no-top-cell-border th{
    border-top: 0px !important;
    border-bottom: 0px !important;
}

.table-no-side-cell-border td{
    border-left: 0px !important;
    border-right: 0px !important;
}
.table-no-side-cell-border th{
    border-left: 0px !important;
    border-right: 0px !important;
}

.color-555 {
    color: #555555 !important;
}
.color-555 *{
    color: #555555 !important;
}
.color-white {
    color: white !important;
}
.col-no-padding{
    padding-left: 0px;
    padding-right: 0px;
}
.col-2px-padding{
    padding: 2px;
}

.pos-express-btn{
    font-size: 23px !important;
    overflow: hidden !important;
    height: 73px !important;
    white-space: normal;
}
.word-wrap{
    word-wrap: break-word !important;
}

.modal-xl{
    width: 90%; /* respsonsive width */
    margin-left: auto !important;
    margin-right: auto !important;
}
table.ajax_view tbody tr{
    cursor: pointer;
}
.bg-white{
    background-color: #fff;
}

.product-thumbnail-small{
    height: 50px;
    width: 50px;
}

table.table-text-center td, table.table-text-center th{
    vertical-align: middle !important;
}
.product_list{
    padding-left: 3px;
    padding-right: 3px;
}
.product_box{
  width: 100%;
  /*padding-top: 5px;
  padding-bottom: 2px;*/
  margin-bottom: 10px;
  text-align: center;
  cursor: pointer;
  /*border: 1px solid darkgray;*/
  font-weight: 600;
  background-color: #fff;
  border-radius: 12px;
  padding: 8px;
}
.product_box .image-container{
  height: 50px;
  margin: auto;
  width: 100%;
  margin-bottom: 4px;

}
.product_box .image-container img{
  height: 100%;
  width: 100%;
  border-radius: 12px;
}
.eq-height-row{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:flex;
    flex-wrap: wrap;
}
.eq-height-col{
    display: flex;
}

.product_box .text_div{
    margin-top: 3px;
}
.product_box .text{
    width: 100%;
    overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 1; /* number of lines to show */
   line-height: 14px;        /* fallback */
   max-height: 14px;       /* fallback */
}
.small-box.bg-gray:hover{
    color: #000;
    text-decoration: none;
}

#calendar table tbody td {
    cursor: pointer;
}

.min-height-90hv{
    min-height: 90vh !important;
}

/* Grow Shadow */
.hvr-grow-shadow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: box-shadow, transform;
  transition-property: box-shadow, transform;
}
.hvr-grow-shadow:hover, .hvr-grow-shadow:focus, .hvr-grow-shadow:active {
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.text-link{
    cursor: pointer;
}

.text-link:hover{
    text-decoration: underline;
}

.v-center{
    vertical-align: middle !important;
}

.bg-woocommerce{
  background-color: #9E458B !important;
}

/*.box, .info-box, .nav-tabs-custom, .external-event{
  box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.2) !important;
}*/

.user_avatar {
  border-radius: 50%;
  width: 25px;
  height: 25px;
  margin: 1px;
}

.fs-10 {
  font-size: 10px;
}

.timeline-lode-more-btn {
  margin-left: 50px;
  margin-top: 25px;
  padding-right: 12px;
  padding-left: 12px;
}

.pa-0 {
  padding: 0px !important;
}

.mt-56{
  margin-top: 56px !important;
}

.m-2{
  margin: 2px !important;
}

.treeview-menu i{
  display: none !important;
}
.treeview-menu a{
  padding-left: 25px !important;
  font-size: 95% !important;
}
.treeview-menu a::before{
  content: "\2192 ";
}

@media only screen and (max-width: 600px) {
  .pos-form-actions{
    position: absolute;
  }
}
.mr-8 {
  margin-right: 8px !important;
}

@media (max-width: 1024px) {
   .pos_form_totals{
        margin-bottom: 40px;
    }
}

.swal-modal .swal-text {
    text-align: center;
}

.pos-total {
    /* display: inline-block; */
    padding: 8px 10px;
    vertical-align: middle;
    margin-left: 5px;
    margin-right: 5px;
}
.pos-total span.number{
    font-size: 26px;
    vertical-align: middle;
    font-weight: bolder;
}

.pos-total span.text{
    font-weight: bolder;
    display: inline-block;
    width: 60px;
    vertical-align: middle;
}
.mb-40 {
    margin-bottom: 40px !important;
}

@media print {
    a:after { content:''; }
    a[href]:after { content: none !important; }
}

.fa-times{
    font-size: 30px
}
.mb-5{
  margin-bottom: 5px !important;
}
.tree-actions {
  margin-left: 20px;
  display: none;
}
.jstree-hovered .tree-actions {
  display: inherit;
}
.badge-approved {
  background-color: #28a745;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}
.badge-rejected {
  background-color: #dc3545;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}
.hash-heading {
  color: #d63384;
}
.light-ash-header thead th {
  border: 1px solid #d3d3d3 !important;
  background-color: #f8f9fa !important;
  color: #333 !important;
}
.badge-not-paid {
   background-color: #e55353 !important;
   color: white !important;
 }
 .text-right-custom {
  text-align: right;
  padding-right: 90px;
}
.text-align {
  text-align: initial !important;

}
.padding-align {
  padding-bottom: 8px;

}
.padding-top {
  padding-top: 8px;

}
.font-large {
  font-size: 15px !important;
}
.font-heading {
  font-size: 17px !important;
}
.font-bold {
  font-weight: bold !important;
}
@keyframes blink {
  0%   { background-color: #ff9999; }
  50%  { background-color: #ffffff; }
  100% { background-color: #ff6666; }
}

.blink-reminder td {
  animation: blink 1s linear infinite;
  border-left: 4px solid #dc3545;
}
.padding {
  padding: 20px !important;
}

.blink-cell {
  animation: blink-cell-anim 1s linear infinite !important;
  font-weight: bold !important;
}
.blink-cell .clickable-os-number {
  animation: blink-cell-anim 1s linear infinite !important;
  font-weight: bold !important;
  color: inherit !important;
}

@keyframes blink-cell-anim {
  0%   { background-color: #ffcccc; color: #e60000; }
  50%  { background-color: #fff; color: #ff0000; }
  100% { background-color: #ffcccc; color: #e60000; }
}

/* ========================================
   ORDER TABS STYLES
   ======================================== */

/* Tab Navigation Styles */
.nav-tabs {
  border-bottom: 2px solid #dee2e6;
  margin-bottom: 1rem;
}

.nav-tabs .nav-item {
  margin-bottom: -2px;
}

.nav-tabs .nav-link {
  border: 1px solid transparent;
  border-radius: 0.375rem 0.375rem 0 0;
  padding: 0.75rem 1.25rem;
  color: #495057;
  background-color: transparent;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.nav-tabs .nav-link:hover {
  border-color: #e9ecef #e9ecef #dee2e6;
  background-color: #f8f9fa;
  color: #0056b3;
}

.nav-tabs .nav-link.active {
  color: #ffffff !important;
  background-color: #007bff !important;
  border-color: #007bff #007bff #fff !important;
  font-weight: 600;
}

/* Tab Content Styles */
.tab-content {
  border: 1px solid #dee2e6;
  border-radius: 0 0.375rem 0.375rem 0.375rem;
  padding: 1.5rem;
  background-color: #ffffff;
  min-height: 300px;
}

.tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.tab-pane.show {
  display: block;
  opacity: 1;
}

.tab-pane.active {
  display: block;
  opacity: 1;
}

/* Responsive Tab Styles */
@media (max-width: 768px) {
  .nav-tabs .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  
  .tab-content {
    padding: 1rem;
  }
}

/* Order Details Tab Specific Styles */
#orderTabs .nav-link {
  position: relative;
  overflow: hidden;
}

#orderTabs .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #007bff;
  transition: width 0.3s ease;
}

#orderTabs .nav-link:hover::before {
  width: 100%;
}

#orderTabs .nav-link.active::before {
  width: 100%;
  background-color: #ffffff;
}

/* Content Section Enhancement */
.content-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Badge Styles for Order Status */
.badge-approved {
  background-color: #28a745;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
}

.badge-rejected {
  background-color: #dc3545;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
}

/* Third tab full width and height styling */
#tab3 {
  height: calc(100vh - 250px) !important;
  width: 100% !important;
  padding: 0 !important;
  overflow: hidden;
}

#tab3 .box {
  height: 100% !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
}

#tab3 .box-header {
  flex-shrink: 0;
}

#tab3 .box-body {
  flex: 1;
  overflow: hidden;
  padding: 15px;
}

#tab3 .table-responsive {
  height: 100% !important;
  overflow-y: auto;
}

#tab3 #reminder_table_wrapper {
  height: 100% !important;
  display: flex;
  flex-direction: column;
}

#tab3 .dataTables_scroll {
  flex: 1;
  overflow: hidden;
}

#tab3 .dataTables_scrollBody {
  max-height: calc(100% - 100px) !important;
  overflow-y: auto;
}

#tab3 .dataTables_info,
#tab3 .dataTables_paginate {
  margin-top: 10px;
  flex-shrink: 0;
}

/* Ensure table takes full width */
#reminder_table {
  width: 100% !important;
}

/* Expedition details table styling */
.expedition-details-table {
  margin-bottom: 0;
}

.expedition-details-table .form-control-sm {
  border: 1px solid #dee2e6;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
}

.expedition-details-table .form-check {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 31px;
}

.expedition-details-table .form-check-input {
  margin: 0;
}

.expedition-details-table .btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.expedition-details-table .table-light {
  background-color: #f8f9fa;
}

.expedition-row:hover {
  background-color: #f8f9fa;
}

.expedition-details-table th {
  text-align: center;
  vertical-align: middle;
  font-weight: 600;
}

.expedition-details-table td {
  vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #tab3 {
    height: calc(100vh - 200px) !important;
  }
  
  .expedition-details-table {
    font-size: 0.8rem;
  }
  
  .expedition-details-table .form-control-sm {
    font-size: 0.75rem;
  }
}

/* Additional Expenses Table Shadow Styling */
.dark-borders {
  border: 1px solid #ced4da !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dark-borders th,
.dark-borders td {
  border: 1px solid #e9ecef !important;
  border-top: 1px solid #e9ecef !important;
}

.dark-borders thead th {
  border-bottom: 1px solid #dee2e6 !important;
  background-color: #f8f9fa;
}

.dark-borders tfoot th {
  border-top: 1px solid #dee2e6 !important;
  background-color: #f8f9fa;
}

/* Expeditor PO Page Styles */
.converted-currency {
  color: #007bff;
}

.edit-section-header {
  border-color: #ccc;
  background-color: #BFBFBF;
}

/* Order Controller Inline Styles */
.text-muted-clickable {
  color: #999;
  font-style: italic;
}

.text-muted-dash {
  color: #999;
}

/* Order View Styles */
.order-section-title {
  font-size: 18px;
}

.order-main-title {
  font-size: 22px;
  font-weight: 900;
}

.modal-header-danger {
  background-color: #e55353;
  color: white;
}

.modal-title-danger {
  margin: 0;
}

.modal-close-danger {
  color: white;
  opacity: 1;
}

.status-approved {
  color: green;
}

.status-not-approved {
  color: red;
}

/* OS Summary Table Styles */
.os-table-cell {
  border: 0;
  border-right: 1px solid black;
}

.os-table-cell-no-border {
  border: 0;
}

.form-section-padding {
  padding-top: 20px;
}

/* Customer PO Details Page Styles */
.customer-po-body {
    background: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.customer-po-header-section {
    background: linear-gradient(135deg, #9ACD32 0%, #7CB342 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.customer-po-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.customer-po-card-header {
    background: linear-gradient(135deg, #9ACD32 0%, #7CB342 100%);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    padding: 1.5rem;
}

.customer-po-card-header h5 {
    margin: 0;
    font-weight: 600;
}

.customer-po-card-body {
    padding: 2rem;
}

.customer-po-info-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.customer-po-info-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

.customer-po-info-value {
    color: #212529;
    font-size: 1.1rem;
}

.customer-po-expedition-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.customer-po-expedition-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #9ACD32 0%, #7CB342 100%);
}

.customer-po-expedition-item:hover {
    box-shadow: 0 8px 25px rgba(154, 205, 50, 0.15);
    transform: translateY(-2px);
}

.customer-po-expedition-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1rem;
}

.customer-po-expedition-remarks {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-style: italic;
    color: #6c757d;
}

.customer-po-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.customer-po-back-btn {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.customer-po-back-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.customer-po-no-reminders {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.customer-po-no-reminders i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.customer-po-timeline {
    border-left: 2px solid #9ACD32;
    margin-left: 1rem;
    padding-left: 2rem;
}

.customer-po-timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.customer-po-timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #9ACD32;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #9ACD32;
}

/* Professional Table Styling */
.customer-po-table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.customer-po-table thead th {
    background: #f1f3f6;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    vertical-align: middle;
    font-size: 1rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.customer-po-table tbody td {
    vertical-align: middle;
    font-size: 0.98rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.customer-po-table tbody tr:hover {
    background: #f8fafd;
}

.customer-po-table tfoot th, .customer-po-table tfoot td {
    background: #f9fafb;
    font-weight: 600;
    border-top: 2px solid #dee2e6;
}

.customer-po-table .text-end {
    text-align: right !important;
}

.customer-po-card.border-primary {
    border-width: 2px !important;
    box-shadow: 0 2px 12px rgba(154,205,50,0.08);
}

.customer-po-card-header.bg-primary {
    background: linear-gradient(135deg, #9ACD32 0%, #7CB342 100%) !important;
}

.customer-po-table-summary th, .customer-po-table-summary td {
    font-size: 1rem;
    padding: 0.6rem 0.75rem;
}

.customer-po-table-summary th {
    color: #495057;
    font-weight: 500;
}

.customer-po-table-summary .fs-5 {
    font-size: 1.15rem !important;
}

/* Professional Table Styling */
.customer-po-professional-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.customer-po-table-header th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    vertical-align: middle;
    font-size: 0.95rem;
    padding: 1rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: none;
}

.customer-po-professional-table tbody td {
    vertical-align: middle;
    font-size: 0.9rem;
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
}

.customer-po-professional-table tbody tr:hover {
    background: #f8fafc;
}

.customer-po-professional-table tbody tr:last-child td {
    border-bottom: none;
}

.customer-po-professional-table tfoot th, 
.customer-po-professional-table tfoot td {
    background: #f8f9fa;
    font-weight: 600;
    border-top: 2px solid #dee2e6;
    padding: 1rem 0.75rem;
    color: #495057;
}

.customer-po-professional-table .text-end {
    text-align: right !important;
}

/* Summary Table Styling */
.customer-po-summary-table {
    background: transparent;
}

.customer-po-summary-table th {
    background: none;
    border: none;
    color: #495057;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.customer-po-summary-table td {
    background: none;
    border: none;
    color: #212529;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.customer-po-summary-table tr:last-child th,
.customer-po-summary-table tr:last-child td {
    border-bottom: 2px solid #dee2e6;
    font-size: 1.1rem;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}
.clickable-os-number {
  cursor: pointer;
}

.payment-reminder-icon {
  color: #dc3545; /* red */
  margin-right: 5px;
  cursor: pointer;
}

#payment-reminder-box {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  color: #856404;
  z-index: 9999;
}
.payment-reminder-icon {
  color: #dc3545; /* yellow bell */
  margin-right: 5px;
  cursor: pointer;
}

.delay-icon {
  color: #dc3545; /* red alert */
  margin-right: 5px;
  cursor: pointer;
}

.delay-text {
  color: #dc3545;
  font-weight: 600;
  margin-left: 5px;
}
.payment-reminder-icon {
  margin-right: 6px;
  cursor: pointer;
  color: #dc3545; /* red bell icon */
}

.delay-icon {
  margin-right: 6px;
  color: #dc3545;
}

.delay-text {
  color: #dc3545;
  font-weight: bold;
  margin-left: 5px;
}
/* Big red bell with shake animation */
.fa-bell {
    font-size: 22px;
    color: #d9534f;
    cursor: pointer;
    transition: transform 0.2s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.5s;
}

/* Optional delay text */
.delay-text {
    color: #d9534f;
    font-weight: bold;
}



