body {
  padding-top: 20px;
}

/* Breadcrumb Navigation */
.breadcrumb-container {
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
  margin: 0 -15px 20px -15px;
  font-size: 13px;
  padding-left: 15px;
  padding-right: 15px;
}

.breadcrumb-container ol,
.breadcrumb-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb-container li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.breadcrumb-container li:not(:last-child)::after {
  content: " / ";
  margin: 0 8px;
  color: #999;
  font-weight: bold;
}

.breadcrumb-container a {
  color: #0275d8;
  text-decoration: none;
}

.breadcrumb-container a:hover {
  text-decoration: underline;
  color: #0056b3;
}

.breadcrumb-container li:last-child {
  color: #666;
  font-weight: 600;
}

.footer {
  border-top: 1px solid #eee;
  margin-top: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.nopadding{padding: 0px;}
.minHeight100{min-height: 100px;}
/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  background-color: transparent;
}
.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

/* Customize the nav-justified links to be fill the entire space of the .navbar */

.nav-justified {
  background-color: #eee;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.nav-justified > li > a {
  padding-top: 15px;
  padding-bottom: 15px;
  color: #777;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #d5d5d5;
  background-color: #e5e5e5; /* Old browsers */
  background-repeat: repeat-x; /* Repeat the gradient */
  background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); /* FF3.6+ */
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Chrome 10+,Safari 5.1+ */
  background-image: -ms-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* IE10+ */
  background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Opera 11.10+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
  background-image: linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* W3C */
}
.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
  background-color: #ddd;
  background-image: none;
  box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
}
.nav-justified > li:first-child > a {
  border-radius: 5px 5px 0 0;
}
.nav-justified > li:last-child > a {
  border-bottom: 0;
  border-radius: 0 0 5px 5px;
}

@media (min-width: 768px) {
  .nav-justified {
    max-height: 52px;
  }
  .nav-justified > li > a {
    border-left: 1px solid #fff;
    border-right: 1px solid #d5d5d5;
  }
  .nav-justified > li:first-child > a {
    border-left: 0;
    border-radius: 5px 0 0 5px;
  }
  .nav-justified > li:last-child > a {
    border-radius: 0 5px 5px 0;
    border-right: 0;
  }
}

.empty-room {
    color:#cfcfcd;
}


/* Hayath CSS */
.scroll-matter {
    overflow-y:scroll;
    height:230px;
}

.scroll-emp {
    overflow:auto;
    height:530px;
}

.scroll-room {
    overflow:auto;
    height:300px;
}

/* Order Table Responsive Styles */
.panel.order-table-panel {
    margin-bottom: 20px;
}

.order-table-heading,
.order-table-body {
    display: flex;
    flex-direction: column;
}

/* Header and body container for scrolling */
.order-table-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: auto;
    min-width: 720px;
}

.order-table-heading {
    flex-shrink: 0;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 10;
}

.order-table-heading .order-row,
.order-table-body .order-row {
    min-width: 720px;
}

.order-table-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 200px;
    max-height: 400px;
}

/* Row styling for equal column widths */
.order-row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    align-items: center;
    padding: 10px 0;
    box-sizing: border-box;
}

.order-row:hover {
    background-color: #f9f9f9;
}

/* Column styling - equal widths */
.order-col {
    flex: 1 1 30%;
    padding: 8px 5px;
    text-align: center;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}

.order-col.product-name {
    flex: 1 1 30%;
    text-align: left;
    padding-left: 10px;
}

.order-col.remove-btn {
    flex: 0 0 15%;
    padding-right: 10px;
}

/* Form controls inside order columns */
.order-col .form-control {
    width: 100%;
    padding: 6px 5px;
    font-size: 13px;
    height: 36px;
    margin: 0;
}

.order-col input.form-control {
    text-align: center;
}

.order-col select.form-control {
    text-align: center;
}

.order-col span[class$="glyphicon"] {
    cursor: pointer;
    display: inline-block;
    color: #d9534f;
    font-size: 16px;
    transition: color 0.2s ease;
}

.order-col span[class$="glyphicon"]:hover {
    color: #c9302c;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .order-table-body {
        max-height: 300px;
        min-height: 150px;
    }

    .order-row {
        padding: 8px 5px;
        font-size: 13px;
    }

    .order-col {
        padding: 6px 3px;
        font-size: 12px;
    }

    .order-col .form-control {
        font-size: 12px;
        height: 32px;
        padding: 4px 3px;
    }

    .order-col.product-name {
        flex: 1 1 35%;
        font-size: 12px;
    }

    .order-col.remove-btn {
        flex: 0 0 12%;
    }

    .order-col span[class$="glyphicon"] {
        font-size: 14px;
    }
  
}
  
@media (max-width: 480px) {
    .order-table-body {
        max-height: 250px;
        min-height: 120px;
    }

    .order-row {
        padding: 6px 3px;
        font-size: 11px;
    }

    .order-col {
        padding: 4px 2px;
        font-size: 11px;
    }

    .order-col .form-control {
        font-size: 11px;
        height: 30px;
        padding: 3px 2px!important;
    }

    .order-col.product-name {
        flex: 1 1 24%;
    }

    .order-col.remove-btn {
        flex: 0 0 16%;
    }

    .order-col span[class$="glyphicon"] {
        font-size: 13px;
    }
   
}

.handy_pointer{
    cursor:pointer;
}

/* Mobile Navigation Toggle */
#nav_toggle {
    display: none;
    position: absolute;
    right: 5px;
    top: -9px;
    z-index: 100;
    padding: 6px 10px;
    border: none;
}

#nav_toggle .glyphicon {
    font-size: 20px;
    color: #333;
}

@media (max-width: 768px) {
    #nav_toggle {
        display: block;
    }
    
    .nav.nav-justified {
        border-radius: 5px;
        margin-bottom: 0;
    }
    
    #nav_div {
        width: 100%;
        margin-top: 0;
        padding-right: 45px;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
    }
    
    #nav_div.in,
    #nav_div.open {
        display: block;
        max-height: 500px;
    }
}

.c-product-list{
    border-style:dotted;
    border-width:1px;
    border-color:#98bf21;
}

.blue{
    color:blue;
}

.red{
    color:red;
}

.purple{
    color:purple;
}

.font-250{
    font-size:150% !important;
}

/* Modal window CSS for Bill Editing */
.modal-lrg{
    width: 60%;
}

.modal-lrg-eighty{
    width: 80%;
}

.has_error{
    background-color: red;
}

.text_error{
    color: red;
}

.valid_custom{
    background-color: green;
}

.calendar {
	width: 850px;
}

.bordered {
    border: 2px solid #a1a1a1;
    padding: 10px 10px;
    border-radius: 5px;
}

.width-50 {
    width: 50% !important;
}

.room-editing {
    background-color:#9E86D9 !important;
}

/* Below for check in */

@media (min-width: 768px) {
    .bs-glyphicons {
        margin-left: 0;
        margin-right: 0;
    }
    .bs-glyphicons li {
        font-size: 12px;
        width: 12.5%;
    }
}

.bs-glyphicons {
    margin: 0 -10px 20px;
    overflow: hidden;
}

.bs-glyphicons-list {
    list-style: outside none none;
    padding-left: 0;
}

.bs-glyphicons li {
    background-color: #f9f9f9;
    border: 1px solid #fff;
    float: left;
    font-size: 10px;
    line-height: 1.4;
    padding: 10px;
    text-align: center;
    width: 25%;
}

.bs-glyphicons .glyphicon {
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.bs-glyphicons .glyphicon-class {
    display: block;
    text-align: center;
    word-wrap: break-word;
}
.bs-glyphicons li:hover {
    background-color: #563d7c;
    color: #fff;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.div-striped:nth-child(odd) {
  background-color: #f9f9f9;
}

.div-deactivate{
    background-color: #e0e0eb;
}

.b-radius-7 {
  border-radius: 7px;
}

.color-green{
  color: green;
}

/* Live order responsive styling */
#live_orders .panel.panel-default {
    overflow: hidden;
    margin-bottom: 15px;
}

#live_orders .panel-heading .panel-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#live_orders .panel-heading .panel-top > [class*="col-"] {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

#live_orders .panel-heading .panel-top .col-xs-6 .panel-top {
    display: flex;
    flex-wrap: nowrap;
    flex-direction:row;
    justify-content: center;
    width: 100%;
}

#live_orders .table-responsive.live-order-table-responsive {
    overflow-x: auto;
    margin-bottom: 0;
}

#live_orders table.table {
    min-width: 100%;
    width: 100%;
}

#live_orders table.table th,
#live_orders table.table td {
    white-space: nowrap;
    vertical-align: middle;
}

#live_orders .panel-footer .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

#live_orders .panel-footer .col-sm-8,
#live_orders .panel-footer .col-sm-2 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 5px;
}

#live_orders .panel-footer .col-sm-2 {
    justify-content: center;
}


@media (max-width: 992px) {
    #live_orders .panel-heading .panel-top > [class*="col-"] {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #live_orders .panel-heading .panel-top {
        justify-content: flex-start;
        align-items: center;
    }
    #live_orders .panel-heading .panel-top > [class*="col-"] {
        display: flex;
        align-items: center;
        width: 100%;
        margin-bottom: 8px;
        justify-content: space-between;
    }
    #live_orders .panel-heading .panel-top .col-xs-4 {
        justify-content: flex-start;
    }
    #live_orders .panel-heading .panel-top .col-xs-6 {
        width: 100%;
        padding: 0;
    }
    #live_orders .panel-heading .panel-top .col-xs-6 .panel-top {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    #live_orders .panel-heading .panel-top .col-xs-6 .panel-top > [class*="col-"] {
        width: 48%;
        flex: 0 0 48%;
        min-width: 120px;
        margin-bottom: 4px;
        justify-content: center;
    }
    #live_orders .panel-heading .panel-top .col-xs-6 .panel-top > [class*="col-"]:first-child {
        justify-content: flex-start;
    }
    #live_orders .panel-heading .panel-top .col-xs-6 .panel-top > [class*="col-"]:last-child {
        justify-content: flex-end;
    }
    #live_orders .panel-heading .panel-top .col-xs-2.push-right {
        width: 100%;
        justify-content: flex-end;
    }
    #live_orders .panel-heading .panel-top.bill-panel-top {
        flex-wrap: nowrap;
    }
    #live_orders .panel-heading .panel-top.bill-panel-top > [class*="col-"] {
        width: auto;
        flex: 0 1 auto;
        margin-bottom: 0;
    }
    #live_orders .panel-heading .panel-top.bill-panel-top .col-xs-6 {
        flex: 1 1 auto;
        min-width: 0;
    }
    #live_orders .panel-heading .panel-top.bill-panel-top .col-xs-4,
    #live_orders .panel-heading .panel-top.bill-panel-top .col-xs-2.push-right {
        flex: 0 0 auto;
    }
    #live_orders .panel-heading .panel-top .col-xs-2.push-right .dropdown {
        margin-left: auto;
    }
    #live_orders .panel-footer .col-sm-8,
    #live_orders .panel-footer .col-sm-2 {
        width: 100%;
        justify-content: space-between;
    }
    #live_orders .panel-footer .col-sm-2 {
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    #live_orders .panel-heading .panel-top {
        align-items: stretch;
    }
    #live_orders .panel-heading .panel-top > [class*="col-"] {
        justify-content: center;
    }
    #live_orders .panel-footer .col-sm-8,
    #live_orders .panel-footer .col-sm-2 {
        justify-content: space-between;
    }
    #live_orders .panel-footer .print,
    #live_orders .panel-footer .kot {
        width: auto;
    }
}

/* Desktop nav visibility */
@media (min-width: 769px) {
    #nav_div {
        display: block !important;
    }
}

.label-blend{
  background-color: #b19c9c;
}

.inline-element {
    display: inline;
}

.bottom-align {
    vertical-align: bottom;
}
.compact-p{
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5;
}
.dat{
    color: black;
}

/* Sticky Editing Bill Header */
#editing_bill_header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 2px solid #d9534f;
}

#editing_bill_header .col-xs-12 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

#editing_bill_header .label-danger {
    background-color: #d9534f !important;
    color: #fff !important;
    padding: 12px 10px !important;
    font-size: 11px !important;
    margin: 0 !important;
    display: inline-block !important;
    width: auto !important;
    border: none !important;
}

#editing_bill_header .btn-warning {
    padding: 8px 13px;
    font-size: 11px;
    font-weight: 600;
    margin: 0;
    display: inline-block;
}

/* Ensure autocomplete dropdown appears above sticky header */
.ui-autocomplete {
    z-index: 9999 !important;
}

/* Table Filter Section Styling */
.table-filter-section {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.table-filter-section h4 {
    margin-bottom: 12px;
    font-weight: 600;
}

.table-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
}

.table-filter-buttons .table_filter_btn {
    transition: all 0.3s ease;
    padding: 8px 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
}

.table-filter-buttons .table_filter_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.table-filter-buttons .table_filter_btn.active {
    background-color: #007bff !important;
    color: white !important;
    border-color: #007bff !important;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.table-filter-all-btn {
    background-color: #f8f9fa;
    color: #333;
    border: 2px solid #dee2e6;
    padding: 8px 16px;
    font-weight: 600;
}

.table-filter-all-btn.active {
    background-color: #007bff !important;
    color: white !important;
    border-color: #007bff !important;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.table-filter-all-btn:hover:not(.active) {
    background-color: #e9ecef;
    border-color: #007bff;
    color: #007bff;
}

.table-filter-all-btn:hover.active {
    background-color: #0056b3 !important;
    box-shadow: 0 4px 12px rgba(0,123,255,0.4);
}

.table-filter-single-btn {
    background-color: #f8f9fa;
    color: #333;
    border: 2px solid #dee2e6;
}

.table-filter-single-btn:not(.active):hover {
    background-color: #e9ecef;
    border-color: #007bff;
    color: #007bff;
}

.table-filter-single-btn.active {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}