@charset "ISO-8859-1";

/*
 * RetailMIS merged stylesheet
 * Original load order:
 * 1. mrc.css
 * 2. new.css
 * 3. styles2.css
 */

/* Imported RetailMIS component styles */
@import url(autocomplete.css);
@import url(menubar.css);
@import url(general.css);
@import url(popupbox.css);
@import url(register.css);
@import url(receipt.css);
@import url(reports.css);
@import url(tables.css);
@import url(thickbox.css);
@import url(datepicker.css);
@import url(invoice.css);
@import url(jquery-ui.structure.css);
@import url(jquery-ui.theme.css);

/* Legacy*/

body
{
	margin:0px;
	padding:0px;
	background-color:#f7f7f7;
	font-family: Arial, sans-serif, "Lucida Grande", "Trebuchet MS", Tahoma, Verdana;
	font-size: 0.9em;
}

a.none
{
	text-decoration:none;
}


#content_area_wrapper
{
	position:relative;
	width:100%;
	background-color:#FFFFFF;
	margin:0px;
	padding-bottom: 10px;
	border-bottom:1px solid #CCCCCC;
	text-align:center;

}

#content_area
{
	position:relative;
	margin:0 auto;
	width:875px;
	text-align:left;

}

#title_bar
{
	position:relative;
	margin-top:0px;
	margin-bottom:10px;
	width:100%;
	height:40px;
}

#title
{
	position:absolute;
	bottom:0px;
	left:0px;
	font-size:30px;
	font-weight:bold;
	color:#000000;
}

#page_title
{
	margin-top:8px;
	font-size:30px;
	font-weight:bold;
	color:#000000;
	text-align:center;

}

#page_subtitle
{
	margin-top:8px;
	font-size:16px;
	font-weight:bold;
	color:#000000;
	text-align:center;
}

#new_button
{
	position:absolute;
	bottom:-5px;
	right:0px;
}

#spinner
{
        float:right;
	display:none;
}

#feedback_bar
{
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
	height:55px;
	position:fixed;
	opacity: 0;
	filter: alpha(opacity=0);
	z-index:1;
	line-height:3.3;
}

#home_module_list
{
	position: relative;
}

.module_item
{
	padding: 10px;
}

#config_wrapper
{
	text-align:center;
}

#config_info
{
	width:93%;
	margin:0 auto;
	padding:10px;
	margin-bottom:30px;
	margin-top:10px;
	text-align:left;
}

#config_info .wide
{
	width: 30%;
}

#footer
{
	position:relative;
	margin-top:25px;
	margin-bottom:15px;
	text-align:center;
	font-size:11px;
	color:#777777;
	clear:both;

}

input#search
{
	padding: 0px;
}

select#stock_location
{
	border: none;
}

#select_customer_form input, #select_supplier_form input
{
	width: 95%;
}

input.quantity, input.discount
{
	width: 40px;
}

a.rollover img
{
	padding: 3px;
}

/* 2. Legacy styles from new.css*/
/*This style sheet is used for most major browers - including NS4x*/
/*The styles are commented for your convenience*/
/*Test the style sheet in various browsers when changing any of the styles*/
body {
	background-color: White;
	font: clamp(12px, 1vw, 20px)  Verdana, Geneva;
	color: #292056;
margin: 0px 0px 0px 0px;
	border: none;
}

#maincontent a:link {
	color: #9DBC7D;
	font: clamp(12px, 1vw, 20px) Verdana, Geneva;
	text-decoration: none;}

#maincontent a:visited {
	color: #9DBC7D;
	text-decoration: none;
}

#maincontent a:hover {
	color: #0447A0;
	text-decoration: none;
}
#maincontent a:active {
	color: #292056;
	text-decoration: none;
}

 #header {
 	background-color: White;
 	color: #292056;
	/*use full url for NS4x compatibility*/
	margin: 0px;
 }
 /*This specifies the background image for the header table
 - used this way ensures that NS4x will see the background image*/
 .mybackground {
  background-color: White;
  color: #292056;
  	/*use full url for NS4x compatibility*/
margin: 0px;
 }

 #mainTable {
  background-color: White;
	/*/*/line-height: 1.5em; /* */
	/*this definition gives a nice linespacing in modern browsers*/
 }
 #mainTable td {
 	padding: 10px;
	/*Pads each table cell in the main table in modern browsers*/
 }

 #maincontent {
 background-color: White;
 vertical-align: top;
 	border-right: 2px dotted #292056;
 	font-size: clamp(12px, 1vw, 20px);
	/*12px set for ns 4100% set for modern browser*/
	 }

 #maincontent li {

 	/*/*/margin: 0px 0px 6px 0px; /* */
 }

 /*This specifies the table alignment for the demo reel and sales on the Front Page*/
 #FrontTable td {
	vertical-align: top;
	text-align: left;
	font: clamp(16px, 4px + 1vw, 22px) Verdana, Geneva;
	color: #0292056 ;
	position: relative;
	min-width: 400px;
 }

 #RightFrontTable td{
	font: clamp(20px, 8px + 1vw, 28px) Verdana, Geneva;
	padding: 20px;
	color: #292056;
	position: relative;
	min-width: 400px;
 }



 /*change the width for the sidebar - right column - if so desired*/
 #sidebar {
 	width: 200px;
 	font-size:clamp(12px, 1vw, 20px);
	vertical-align: top;
 }
 #navbar {
 background: #D5E3E3;
 	/*use full url for NS4x compatibility*/
 background-repeat: repeat-y;
 }
 #navbar td {
 background: #D5E3E3;
 	/*use full url for NS4x compatibility*/
 background-repeat: repeat-y;
 }

 #navbartable {
 margin-top: 50px;
 }

 #footer {
 	background-color: #292056;
 	color: White;
	padding: 5px 5px;
}
#footer a:link {
	color: White;
	font: clamp(12px,  1vw, 20px) Verdana, Geneva;
	text-decoration: underline;
}

#footer a:visited {
	color: White;
	font: clamp(12px,  1vw, 20px) Verdana, Geneva;
	text-decoration: underline;
}

#footer a:hover {
	color: #2A3D3E;
	font: clamp(12px, 1vw, 20px)Verdana, Geneva;
	text-decoration: none;
}
#footer a:active {
	color: White;
	font: clamp(12px, 1vw, 20px)Verdana, Geneva;
	text-decoration: underline;
}

 #copyright {
 	background-color: White;
	font-size: clamp(10px,  1vw - 2px, 20px);
 	color: #292056;
 padding-top: 15px;
 }

 td, p, ul,ol {
 font-family: Verdana, Geneva;
 font-size: clamp(12px, 1vw, 20px);
 }

  th{
	color: white;
	background-color: #292056;
	font-size: clamp(13px, 1px + 1vw, 20px);
 }

 tr.highlight {
  background-color: #AFA;
}

 #maincontent ul {
 	/*/*/padding-left: 1em;
 	margin-left: 2em;
 	list-style-type: circle; /* */
	/*hide the list-style definition from NS4  can cause problems */
 }

 h1 {
 	color: #292056;
	font-size: clamp(14px, 2px + 1vw, 20px);
 }

 h2{
 	color: #292056;
	font-size:clamp(13px, 1px + 1vw, 20px);
 }

h3{
 	color: #292056;
	font-size: clamp(12px, 1vw, 20px);
 }
h4 {
 	color: #292056;
	font-size: clamp(13px, 1px + 1vw, 20px);
 }
select {
	font-size: clamp(13px, 2px + 1vw, 20px);
}
input {
	font-size: clamp(13px, 2px + 1vw, 20px);
}
.style1 {color: #292056}
table.c6 {background-color: #66CCCC}
table.c16 {background-color: White}
tr.c5 {background-color: #66CCCC}
input.c4 {cursor:pointer}
td.c3 {background-color: white}
td.c2 {background-color: #66CCCC}
table.c1 {background-color: white}

.btn {
	  border-style: solid;
	  border-width : 1px 1px 1px 1px;
  text-decoration : none;
  padding : 3px;
  background:#E3E3E3;
  border: 1px solid #696969;
  border-radius: 2px 2px 2px 2px;
  font-family: Verdana, Geneva;
  font-size: clamp(12px,  1vw, 20px);
  color: #000000;
}

.btn2 {
  border-style: solid;
  border-width : 1px 1px 1px 1px;
  text-decoration : none;
  padding : 5px;
  background:#E3E3E3;
  border: 1px solid #808080;
  border-radius: 2px 2px 2px 2px;
  font-family: Verdana, Geneva;
  font-size:clamp(12px,  1vw, 20px);
  color: #000000;
}

/* CSS FOR REGISTRATION FORM TO PRINT*/
.showprint{
  display:none;
}

.box{
  border-style: solid;
  border-radius: 0px;
  border-width : 1px 1px 1px 1px;
 padding-left: 5px;


}

.tab{
  padding: 0 10px;
}

.dlg-close {
    position:absolute;
    top:10px; right:12px;
    border:0; background:transparent; cursor:pointer;
    font-size:20px; line-height:1; padding:2px 6px;
  }
  .rm-dialog { position:relative; }
/* 3. Legacy styles from styles2.css*/

body{margin:0; padding:0; font-family: Verdana, Geneva; font-size: clamp(14px, 2px + 1vw ,22px); color:#282828;}
img{outline:none; vertical-align:middle;}
img:has(onclick) { cursor: pointer; }
.wrapper{min-width:1180px; max-width: 2048px;  margin:auto;}
.boundary{min-width:1180px; max-width: 2048px; min-height: 740px; height: 98vh; margin:5px 5px 5px 5px; border:1px solid #fff; border-radius:15px; box-shadow: 0 2px 10px 2px #e1e1e1;}
.header{min-width:1150px; max-width: 2048px;  margin:auto; min-height:120px; max-height: 240px;}
.headersm{min-width:1150px;max-width: 2048px;  margin:auto; min-height:40px; max-height: 80px;}
.logo{min-width:300px; max-width: 600px; width: 21%; float:left; padding:5px;}
.logoR{min-width:300px; max-width: 600px;  width: 21%; float:right; padding:5px;}
.logosm{min-width:220px; max-width: 440px; width: 21%; float:left; padding:5px;}
.logosmR{min-width:220px; max-width: 240px; width: 21%; float:right; padding:5px;}
table { border-collapse:collapse; border-spacing: 0; margin: 0 auto;}
.tblbook td{ height:25px; align:left; padding:0;}
th, td { padding:0; }
.main-table{min-width:850px; max-width: 1700px; margin:auto;}
.main-heading{font-family: Verdana, Geneva; font-size:clamp(16px, 4px + 1vw ,24px); color:#292049; font-weight:bold; }
.page_heading{font-family: Verdana, Geneva; font-size:clamp(25px, 13px + 1vw ,36px); color:#292049; font-weight:bold;  padding:8px 5px 5px 5px; text-align:center; min-width:370px; max-width: 740px; margin: auto; width: 40%; float:left;}
.page_heading_sm{font-family: Verdana, Geneva; font-size:clamp(25px, 13px + 1vw ,36px); color:#292049; font-weight:bold;  padding:8px 5px 5px 5px; text-align:center; min-width:650; width: 50%; max-width:1300px; float:left;}
.logo_heading{ max-height: 100px; max-width: 740px; }
.logo_heading_sm{ max-height: 50px; }
.mandatory { font-family: Verdana, Geneva; font-size:clamp(12px, 1vw ,18px); color:#FF0000; }
.inner-table{min-width:500px; max-width:1000px; margin:auto; box-shadow: 0 2px 10px 2px #ccc;}
.border { border:1px solid #F3F3F3; min-width:500px; max-width: 1000px; margin:auto; }
.border td{height:40px;}
input[type=file]::file-selector-button {
	background: rgb(213,220,243); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(213,220,243,1) 0%, rgba(41,32,86,1) 12%, rgba(4,71,160,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(213,220,243,1)), color-stop(12%,rgba(41,32,86,1)), color-stop(100%,rgba(4,71,160,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d5dcf3', endColorstr='#0447a0',GradientType=0 ); /* IE6-9 */
	padding:3px 15px; color:#fff; font-size:clamp(13px, 1px + 1vw ,16px);; font-family: Verdana, Geneva; border-radius:3px; border:1px solid #fff; box-shadow:0 2px 2px #ccc; text-decoration:none;
}
.button{background: rgb(213,220,243); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(213,220,243,1) 0%, rgba(41,32,86,1) 12%, rgba(4,71,160,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(213,220,243,1)), color-stop(12%,rgba(41,32,86,1)), color-stop(100%,rgba(4,71,160,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d5dcf3', endColorstr='#0447a0',GradientType=0 ); /* IE6-9 */
padding:3px 15px; color:#fff; font-size:clamp(13px, 1px + 1vw ,16px);; font-family: Verdana, Geneva; border-radius:3px; border:1px solid #fff; box-shadow:0 2px 2px #ccc; text-decoration:none;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;

}
.button:hover{background: rgb(30,87,153); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(30,87,153,1) 0%, rgba(32,124,202,1) 56%, rgba(32,124,202,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(56%,rgba(32,124,202,1)), color-stop(100%,rgba(32,124,202,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(30,87,153,1) 0%,rgba(32,124,202,1) 56%,rgba(32,124,202,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(30,87,153,1) 0%,rgba(32,124,202,1) 56%,rgba(32,124,202,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(30,87,153,1) 0%,rgba(32,124,202,1) 56%,rgba(32,124,202,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(30,87,153,1) 0%,rgba(32,124,202,1) 56%,rgba(32,124,202,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#207cca',GradientType=0 ); /* IE6-9 */
}
.button:disabled {background: rgb(224,224,224); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(224,224,224) 0%, rgba(240,240,240,1) 12%, rgba(248,248,248,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(224,224,224,1)), color-stop(12%,rgba(240,240,240,1)), color-stop(100%,rgba(248,248,248,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(224,224,224,1) 0%,rgba(240,240,240,1) 12%,rgba(248,248,248,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(224,224,224,1) 0%,rgba(240,240,240,1) 12%,rgba(248,248,248,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(224,224,224,1) 0%,rgba(240,240,240,1) 12%,rgba(248,248,248,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(224,224,224,1) 0%,rgba(240,240,240,1) 12%,rgba(248,248,248,1) 100%); /* W3C */
color:#669999 !important;
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#E0E0E0', endColorstr='#F0F0F0',GradientType=0 ); /* IE6-9 */
}
.buttonlink {background:none!important;padding:0!important; border:none;font-family: Verdana, Geneva; font-size:clamp(11px, 1vw -1px ,18px); color:#009BAB; font-weight:bold; }
.buttonlink:hover { text-decoration:underline; }
input[readonly] { background-color: #eeeef8 !important;  border:1px solid #cccccc; }
textarea[readonly] { background-color: #eeeef8 !important; }
.input{width:220px; border:1px solid #cccccc; font-family: Verdana, Geneva; font-size:clamp(13px, 1px + 1vw ,16px); color:#333333; padding:5px;}
.input1{width:160px; border:1px solid #cccccc; font-family: Verdana, Geneva; font-size:clamp(13px, 1px + 1vw ,16px); color:#333333; padding:5px; }
.input2{width:180px; border:1px solid #cccccc; font-family: Verdana, Geneva; font-size:clamp(13px, 1px + 1vw ,16px); color:#333333; padding:5px;}
.input3{width:60px; border:1px solid #cccccc; font-family: Verdana, Geneva; font-size:clamp(13px, 1px + 1vw ,16px); color:#333333; padding:5px;}
.inputsearch{width:115px;}
.inputsearch2{width:195px;}
.inputsearchDate{width:80px;}
.inputbook{width:200px;}
.forgotpassword { font-family: Verdana, Geneva; font-size:clamp(12px, 1vw ,18px); color:#666666; text-decoration:underline; padding:0 10px; }
.forgotpassword:hover { color:#6e8bc3; }
.clr{clear:both;}
.navigation{min-width:1024px; max-width:2048px; margin:5px auto; border-top:1px solid #6e8bc3; border-bottom:1px solid #6e8bc3; height:40px;

background: rgb(213,220,243); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(213,220,243,1) 0%, rgba(41,32,86,1) 12%, rgba(4,71,160,1) 95%, rgba(100,175,235,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(213,220,243,1)), color-stop(12%,rgba(41,32,86,1)), color-stop(95%,rgba(4,71,160,1)), color-stop(100%,rgba(100,175,235,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 95%,rgba(100,175,235,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 95%,rgba(100,175,235,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 95%,rgba(100,175,235,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 95%,rgba(100,175,235,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d5dcf3', endColorstr='#64afeb',GradientType=0 ); /* IE6-9 */
}
.main-links { font-family:Verdana, Geneva; text-align:left; font-size:clamp(12px, 1vw ,18px);color:#FFFFFF; }
.main-links a {font-family: Verdana, Geneva; font-size:clamp(15px, 3px + 1vw ,22px); border-right:1px solid #fff; text-decoration:none; color:#FFFFFF; padding:0 25px; }
.main-links a:hover { text-decoration:underline; }
.modules-heading {background: #00008b; font-family:Verdana, Geneva; font-size:clamp(15px, 3px + 1vw ,19px); color: white; text-decoration:none; }
.listing { float:left; margin:0; padding:0px 0 5px 5px; width:98%; }
.listing ul { list-style-image:none; list-style-position:outside; list-style-type:none; margin:0; padding:0;}
.listing ul li a  { color:#333333; font-size:clamp(12px, 1vw ,18px); line-height:22px; text-decoration:none; }
.listing ul li a:hover { color:#6e8bc3; text-decoration:underline; }
.listing2 { color:#333333; font-size:clamp(10px, 0.95vw ,16px)!important; line-height:20px!important; text-decoration:none; margin: 0 0 0 5px; background: #eeeef8; }

.listicon { float:left; margin:0; padding:0px 0 5px 5px; width:98%; }
.listicon ul { list-style-image:none; list-style-position:outside; list-style-type:none; margin:0; padding:0;}
.listicon ul li { background:transparent  no-repeat scroll 0 5px; padding-left:5px; margin-bottom:2px; margin-top:3px; }
.listicon ul li a  { color:#333333; font-size:clamp(12px, 1vw ,18px); line-height:25px; text-decoration:none; }
.listicon ul li a:hover { color:#6e8bc3; text-decoration:underline; }

.sub-heading{font-family:Verdana, Geneva; font-size:clamp(14px, 1vw ,22px); font-weight:bold; color:#000000; line-height:14px; }
.border-right{border-right:1px solid #DADADA;}
.tdbgcl { background: white; }
table.stats td {
   background: white;
   text-align: left;
}

.rowO {
	background-color: white;
	color: #00008b;
}
.rowE {
	background-color: #eeeef8;
	color: #00008b;
}
.rowS {
	background-color: #0447A0;
	color: white;
}

div.scrolltab {

    width: 100%;
    height: 400px;
    overflow: auto;

}
div.scrolltabinv {

    width: 800px;
    height: 420px;
    overflow: auto;

}
div.scrolltabinvWide {

    width: 870px;
    height: 340px;
    overflow: auto;

}
table.cruises{
	width: 200px;

}
div.scrollableContainer {
    position: relative;
    width: 600px;


    border: 1px solid #999;
    background: #aab;
}
div.scrollingArea {
    height: 433px;
    overflow: auto;
	position: relative;
    width: 700px;
}

div.scroll2 {

    width: 100%;
    height: 300px;
    overflow: auto;
}
div.btngroup{
	position: relative;
	right: 10px;
	top: -30px;
}
div.btngroup2{
	position: relative	;
	right: 10px;
    top: -40px;
}
div.btngroup3{
	position: relative	;
	right: 10px;
    top: -50px;
}
div.btngroup4{
	position: relative	;
	right: 10px;
    top: -60px;
}


.tdbgcl1 { background:#F1F2F2; }
.tdbgcl2 { background:#E2E2E2; }
.body-links { font-family:Verdana, Geneva; font-size:clamp(11px, 1vw -1px ,16px); color:#009BAB; font-weight:bold; }
.body-links a { font-family:Verdana, Geneva; font-size:clamp(11px, 1vw -1px ,16px); color:#6e8bc3; font-weight:bold; text-decoration:underline; }
.body-links a:hover { color:#666666; }
form{margin:0; padding:0;}
.listing-table{min-height:500px; height: 80vh; width:98%; margin:auto;}
.listing-table td{padding:0px 7px 0px 7px;}
/*.listing-table a{color:#6e8bc3;}*/
.fulltable{width:100%; margin:auto;}
.scrolltable{height:400px; overflow:scroll;}
.scrolltable2{height:150px; width:770px; overflow:scroll;}
.scrolltable3{height:300px; overflow:scroll;}
.scrolltable4{height:150px; width:730px; overflow:scroll;}
.buttondiv{margin:10px auto 20px auto; text-align:center;}
/*--------floating div popup---------*/
.layer1{
	position: absolute;
	visibility: hidden;
	width: 400px;
	height: 200px;
	left: 250px;
	top: 5px;
	background-color: #ccc;
	border: 1px solid #000;
	padding: 10px;
}

.layer2{
	position: absolute;
	visibility: hidden;
	padding: 10px;
}
.layer3{
  	visibility: hidden;
  	width:300px;
 	height:200px;
 	position:absolute;
	left:50%;
	top:50%;
	margin:-100px 0 0 -150px;
    background-color: #ccc;
    border: 1px solid #000;
}

.blanket {
	position: absolute;
	visibility: hidden;
	opacity: 0.60;
	filter: alpha(opacity = 60);
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	background-color: #111;
}
.quote_layer1{
	position: absolute;
	visibility: hidden;
	width: 400px;
	min-height: 50px;
	top: 40%;
    left:40%;
	background-color: #ccc;
	border: 1px solid #000;
	padding: 10px;
}
.quote_blanket {
	position: absolute;
	visibility: hidden;
	opacity: 0.60;
	filter: alpha(opacity = 60);
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	background-color: #111;
}
/*--------floating div popup---------*/

.menu_form_header
{
  border-bottom: none;
  width: 280px;
  height:20px;
  line-height: 19px;
  vertical-align: middle;
  color:#ffffff;
  background: rgb(213,220,243); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(213,220,243,1) 0%, rgba(41,32,86,1) 12%, rgba(4,71,160,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(213,220,243,1)), color-stop(12%,rgba(41,32,86,1)), color-stop(100%,rgba(4,71,160,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* W3C */
  text-decoration: none;
  font-family: Verdana, Geneva;
  font-weight: 900;
  font-size:  clamp(13px, 1px + 1vw ,18px);
  cursor:  default;
}
/* popup div for client */
.client_layer{
	position: absolute;
	visibility: hidden;
	width: 280px;
	left: 500px;
	top: 300px;
	background-color: white;
	border: 2px solid black;
}
.client_blanket {
	position: absolute;
	visibility: hidden;
	opacity: 0.60;
	filter: alpha(opacity = 60);
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	background-color: #111;
}
/* popup div for client */
/* popup div for vendor */
.vendor_layer{
	position: absolute;
	visibility: hidden;
	width: 280px;
	left: 500px;
	top: 300px;
	background-color: white;
	border: 2px solid #00008b;
}
.vendor_blanket {
	position: absolute;
	visibility: hidden;
	opacity: 0.60;
	filter: alpha(opacity = 60);
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	background-color: #111;
}
/* popup div for vendor */
/* popup div for address */
.menu_form_address_header
{
  border-bottom: none;
  width: 500px;
  height:20px;
  line-height: 19px;
  vertical-align: middle;
  color:#ffffff;
  background: rgb(213,220,243); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(213,220,243,1) 0%, rgba(41,32,86,1) 12%, rgba(4,71,160,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(213,220,243,1)), color-stop(12%,rgba(41,32,86,1)), color-stop(100%,rgba(4,71,160,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* W3C */
  text-decoration: none;
  font-family: Verdana, Geneva;
  font-weight: 900;
  font-size:  clamp(13px, 1px + 1vw ,18px);
  cursor:  default;
}
.address_layer{
	position: absolute;
	visibility: hidden;
	width: 500px;
	left: 500px;
	top: 300px;
	background-color: white;
	border: 2px solid #00008b;
}
.address_blanket {
	position: absolute;
	visibility: hidden;
	opacity: 0.60;
	filter: alpha(opacity = 60);
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	background-color: #111;
}
/* popup div for address */
/* popup div for new profile */
.newprofile_layer{
	position: absolute;
	visibility: hidden;
	width: 280px;
	left: 500px;
	top: 300px;
	background-color: white;
	border: 2px solid #00008b;
}
.newprofile_blanket {
	position: absolute;
	visibility: hidden;
	opacity: 0.60;
	filter: alpha(opacity = 60);
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	background-color: #111;
}
/* popup div for new profile */
/* popup div for check Availability */
.checkavail_layer{
	position: absolute;
	visibility: hidden;
	left: 500px;
	top: 100px;
	background-color: white;
	border: 2px solid #00008b;
}
.checkavail_blanket {
	position: absolute;
	visibility: hidden;
	opacity: 0.60;
	filter: alpha(opacity = 60);
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	background-color: #111;
}
/* popup div for check Availability */
select:disabled.plainSelectList
{
	background-color: #C1CDCD;
	color: #C1CDCD;
	backround-image: url('');
}
select.plainSelectList option.disabled
{
	background-color: #C1CDCD;
	color: #C1CDCD;
	backround-image: url('');
}
select.plainSelectList option[selected].disabled {
	background: #C1CDCD !important;
	}
select.plainSelectList option[selected].disabled.hover {
	background: #C1CDCD !important;
}
.error_strings{
font-family: Verdana, Geneva;
font-size:clamp(10px, 1vw -2px ,16px);
color:#FF0000;
}
.hideRow {
	display:none;
	visibility:hidden;
}
.showRow {

	visibility:visible;
}
.callout {
    position: relative;
    margin: 18px 0;
    padding: 10px 12px;
    background-color: #eef4f9;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}
.callout .notch {
    position: absolute;
    top: -10px;
    left: 50px;
    margin: 0;
    border-top: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #eef4f9;
    padding: 0;
    width: 0;
    height: 0;
    /* Do Note Remove: ie6 height fix */
    font-size: 0;
    line-height: 0;
     /* ie6 transparent fix */
    _border-right-color: pink;
    _border-left-color: pink;
    _filter: chroma(color=pink);
}
.border-callout { border: 1px solid #c5d9e8; padding: 9px 11px; }
.border-callout .border-notch { border-bottom-color: #c5d9e8; top: -11px; }
.table_title{background: rgb(213,220,243); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(213,220,243,1) 0%, rgba(41,32,86,1) 12%, rgba(4,71,160,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(213,220,243,1)), color-stop(12%,rgba(41,32,86,1)), color-stop(100%,rgba(4,71,160,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(213,220,243,1) 0%,rgba(41,32,86,1) 12%,rgba(4,71,160,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d5dcf3', endColorstr='#0447a0',GradientType=0 ); /* IE6-9 */
padding:17px !important; color:#fff;border-radius:3px; border:1px solid #fff; box-shadow:0 2px 2px #ccc; text-decoration:none;
}


ul.enlarge{
list-style-type:none; /*remove the bullet point*/
margin-left:0;
}
ul.enlarge li{
display:inline-block; /*places the images in a line*/
position: relative;
z-index: 0; /*resets the stack order of the list items - later we'll increase this*/
margin:0px 0px 0 0px;
}
ul.enlarge img{
background-color:#D4DFEA;
padding: 0px;
-webkit-box-shadow: 0 0 6px rgba(132, 132, 132, .75);
-moz-box-shadow: 0 0 6px rgba(132, 132, 132, .75);
box-shadow: 0 0 6px rgba(132, 132, 132, .75);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
ul.enlarge span{
position:absolute;
left: -9999px;
background-color:#D4DFEA;
padding: 10px;
font-family: Verdana, Geneva;
font-size: clamp(16px, 4px + 1vw ,22px);
text-align: center;
color: #495a62;
/*width: 200%;*/

-webkit-box-shadow: 0 0 20px rgba(0,0,0, .75);
-moz-box-shadow: 0 0 20px rgba(0,0,0, .75);
box-shadow: 0 0 20px rgba(0,0,0, .75);
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius:8px;
}
ul.enlarge li:hover{
z-index: 50;
cursor:pointer;
}
a:hover {
 cursor:pointer;
}
ul.enlarge span img{
padding: 10px;
background:#ccc;
}
ul.enlarge li:hover span{
top: -50px; /*the distance from the bottom of the thumbnail to the top of the popup image*/
left: -200px; /*distance from the left of the thumbnail to the left of the popup image*/
}
ul.enlarge li:hover:nth-child(2) span{
left: -100px;
}
ul.enlarge li:hover:nth-child(3) span{
left: -200px;
}
/**IE Hacks - see http://css3pie.com/ for more info on how to use CS3Pie and to download the latest version**/
ul.enlarge img, ul.enlarge span{
behavior: url(pie/PIE.htc);
}

.enlarge{
padding: 0px 0px;
}

ul {
font: clamp(12px, 1vw, 16px) Verdana, Geneva;
}
.mainColor2 {
	background: white;
	min-height:430px;
	height: 70vh;
	overflow:auto;
	}
.mainColor {
	background: white;
	min-height:480px;
	height: 75vh;
	overflow:auto;
	}

.internalSearch {
	background:#fff; /* padding:0; margin:00; */
	font: clamp(12px, 1vw, 16px) Verdana, Geneva; color:#4E5665;
	}
div.internalpopup
{
    display:none;
    position:fixed;
    width:780px;
    height:80%;
    top: 60%;
    left: 60%;
    margin-left:-480px;
    margin-top:-320px;
    border:5px solid #2E71A7;
    background-color:#FFFFFF;
    padding:8px;
    z-index:102;
    font: 12px Verdana, Geneva;
    border-radius:5px;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    font-weight:bold;
}
div.internalpopcontent
{
	display:none;
    height: 90%;
    width: 770px;
    overflow-y: auto;
    overflow-x: auto;
    margin:3px auto;
    font: 12px Verdana, Geneva;
}
input.internalpopupclose
{
    margin:35px 0 0 80px;
    width:50px;
}
a.internalColor {
	color:#4E5665;
	font-weight:bold;
}
a.internalClose {
	color:#4E5665;
	text-decoration:none;
	font-weight:bold;
}
.internaliframe
{
    height: 740px;
    width: 760px;
    font: 12px Verdana, Geneva;
    color:#4E5665;
}

ul.enlarge1{
list-style-type:none; /*remove the bullet point*/
margin:0;
}
ul.enlarge1 li{
display:inline-block; /*places the images in a line*/
position: relative;
z-index: 0; /*resets the stack order of the list items - later we'll increase this*/
margin:0px 0px 0 0px;
}
ul.enlarge1 img{
/*background-color:#D4DFEA;*/
/*padding: 0px;*/
/*-webkit-box-shadow: 0 0 6px rgba(132, 132, 132, .75);*/
/*-moz-box-shadow: 0 0 6px rgba(132, 132, 132, .75);*/
/*box-shadow: 0 0 6px rgba(132, 132, 132, .75);*/
/*-webkit-border-radius: 4px; */
/*-moz-border-radius: 4px; */
/*border-radius: 4px; */
}
ul.enlarge1 span{
position:absolute;
left: -9999px;
background-color:#D4DFEA;
padding: 10px;
font-family: Verdana, Geneva;
font-size:clamp(16px, 4px + 1vw ,22px);
text-align: center;
color: #495a62;
/*width: 200%;*/

-webkit-box-shadow: 0 0 20px rgba(0,0,0, .75);
-moz-box-shadow: 0 0 20px rgba(0,0,0, .75);
box-shadow: 0 0 20px rgba(0,0,0, .75);
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius:8px;
}
ul.enlarge1 li:hover{
z-index: 50;
cursor:pointer;
}
ul.enlarge1 span img{
padding: 10px;
background:#ccc;
}
ul.enlarge1 li:hover span{
top: 0px; /*the distance from the bottom of the thumbnail to the top of the popup image*/
left: 0px; /*distance from the left of the thumbnail to the left of the popup image*/
}
ul.enlarge1 li:hover:nth-child(2) span{
left: -100px;
}
ul.enlarge1 li:hover:nth-child(3) span{
left: -200px;
}
/**IE Hacks - see http://css3pie.com/ for more info on how to use CS3Pie and to download the latest version**/
ul.enlarge1 img, ul.enlarge span{
behavior: url(pie/PIE.htc);
}
.enlarge1{
padding: 0px 0px;
}

.bL {
	border-left: solid 1px #00000b;
}
.bR {
	border-right: solid 1px #00000b;
}
.bLRT {
	border-top: solid 1px #00000b;
	border-left: solid 1px #00000b;
	border-right: solid 1px #00000b;
}
.bLR {
	border-left: solid 1px #00000b;
	border-right: solid 1px #00000b;
}
.bLRB {
	border-left: solid 1px #00000b;
	border-right: solid 1px #00000b;
	border-bottom: solid 1px #00000b;
}
.terms {
	/*background:#fff;  padding:0; margin:00; */
	font: clamp(12px, 1vw, 16px) Verdana, Geneva; color:#4E5665;
	}
div.termspopup
{
    display:none;
    position:fixed;
    width:780px;
    height:70%;
    top: 60%;
    left: 60%;
    margin-left:-480px;
    margin-top:-320px;
    border:5px solid #2E71A7;
    background-color:#FFFFFF;
    padding:8px;
    z-index:102;
    font: 12px Verdana, Geneva;
    border-radius:5px;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    font-weight:bold;
}
div.termspopcontent
{
    height: 90%;
    width: 770px;
    overflow-y: auto;
    overflow-x: auto;
    margin:3px auto;
    font: 12px Verdana, Geneva;
}
input.termspopupclose
{
    margin:35px 0 0 80px;
    width:50px;
}
a.termsColor {
	color:#4E5665;
	font-weight:bold;
}
a.termsClose {
	color:#4E5665;
	text-decoration:none;
	font-weight:bold;
}
.termsiframe
{
    height: 740px;
    width: 760px;
    font: 12px Verdana, Geneva;
    color:#4E5665;
}
.errors{
	font-size:clamp(10px, 1vw -2px ,16px);;
	color:#FF0000;
}
a {
	cursor: pointer;
}
.time-pair {
    grid-column: 1 / span 2;                /* occupy both columns of the form grid */
    display: grid;
    grid-template-columns: auto 150px auto 150px;
    gap: 8px;
    align-items: center;
}

/* 4. Final RetailMIS e-Bridge shell
   Based on the completed HotelMIS main.css layout.

   Behaviour:
   - Old RetailMIS fonts and module styles remain available.
   - The e-Bridge logo occupies the fixed left shell area.
   - The sidebar is collapsed by default and expands on hover.
   - Existing RetailMIS image icons remain visible when collapsed.
   - Existing link titles become text labels when expanded.
   - The header stays visible at all times.
   - The blue navigation is fixed below the header.
   - The browser window does not scroll behind the fixed shell.
   - The right content pane owns the page scrollbar.
   - RetailMIS popups remain above the shell. */

:root {
    --eb-sidebar-collapsed: 100px;
    --eb-sidebar-expanded: 280px;
    --eb-sidebar-bg: #ffffff;
    --eb-sidebar-border: #d0d0d0;
    --eb-header-height: 64px;
    --eb-nav-height: 45px;
    --eb-nav-bg: #0b0b3f;
    --eb-text: #242424;
    --eb-page-pad-x: 14px;
}

/* Shell reset */

html,
body {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
    color: #000000 !important;
}

body,
body *,
table,
td,
th,
p,
ul,
ol,
li,
a,
span,
div,
input,
select,
textarea,
button {
    font-family: Verdana, Geneva !important;
}

body .boundary,
body .wrapper {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body .boundary {
    height: 100vh !important;
    overflow: hidden !important;
}

body .boundary > .clr {
    display: none !important;
}

/* Fixed sidebar */

body .listing-table > tbody > tr > td.border-right,
body.collapse-menu .listing-table > tbody > tr > td.border-right {
    display: block !important;
    position: fixed !important;
    top: var(--eb-header-height) !important;
    left: 0 !important;
    bottom: 0 !important;
    width: var(--eb-sidebar-collapsed) !important;
    min-width: var(--eb-sidebar-collapsed) !important;
    max-width: var(--eb-sidebar-collapsed) !important;
    height: calc(100vh - var(--eb-header-height)) !important;
    margin: 0 !important;
    padding: 0 0 28px 0 !important;
    background: var(--eb-sidebar-bg) !important;
    border: 0 !important;
    border-right: 1px solid var(--eb-sidebar-border) !important;
    box-shadow: none !important;
    outline: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
    scrollbar-width: thin !important;
    z-index: 80 !important;
}

body .listing-table > tbody > tr > td.border-right:hover,
body.collapse-menu .listing-table > tbody > tr > td.border-right:hover,
body:has(.headersm .logosm:hover) .listing-table > tbody > tr > td.border-right {
    width: var(--eb-sidebar-expanded) !important;
    min-width: var(--eb-sidebar-expanded) !important;
    max-width: var(--eb-sidebar-expanded) !important;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.14) !important;
}

body .border-right > table,
body .border-right > table > tbody,
body .border-right > table > tbody > tr,
body .border-right > table > tbody > tr > td,
body.collapse-menu .border-right > table,
body.collapse-menu .border-right > table > tbody,
body.collapse-menu .border-right > table > tbody > tr,
body.collapse-menu .border-right > table > tbody > tr > td {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
}

body .border-right > table > tbody > tr,
body .border-right > table > tbody > tr > td {
    height: auto !important;
    min-height: 0 !important;
}

/* The old Home menu uses thin blue separator rows. */
body .border-right .modules-heading[style*="font-size: 0"],
body.collapse-menu .border-right .modules-heading[style*="font-size: 0"] {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* RetailMIS direct icon links used by the Sales/Home sidebar */

body .border-right > table > tbody > tr > td:not(.modules-heading) > a,
body.collapse-menu .border-right > table > tbody > tr > td:not(.modules-heading) > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    min-height: 55px !important;
    margin: 0 !important;
    padding: 5px 0 !important;
    color: var(--eb-text) !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body .border-right > table > tbody > tr > td:not(.modules-heading) > a img,
body.collapse-menu .border-right > table > tbody > tr > td:not(.modules-heading) > a img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 44px !important;
    max-height: 44px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    vertical-align: middle !important;
}

body .border-right > table > tbody > tr > td:not(.modules-heading) > a::after,
body.collapse-menu .border-right > table > tbody > tr > td:not(.modules-heading) > a::after {
    content: "";
    display: none;
}

body .border-right:hover > table > tbody > tr > td:not(.modules-heading) > a,
body.collapse-menu .border-right:hover > table > tbody > tr > td:not(.modules-heading) > a,
body:has(.headersm .logosm:hover) .border-right > table > tbody > tr > td:not(.modules-heading) > a {
    justify-content: flex-start !important;
    gap: 12px !important;
    min-height: 46px !important;
    padding: 5px 18px 5px 24px !important;
    text-align: left !important;
    border-radius: 6px !important;
}

body .border-right:hover > table > tbody > tr > td:not(.modules-heading) > a img,
body.collapse-menu .border-right:hover > table > tbody > tr > td:not(.modules-heading) > a img,
body:has(.headersm .logosm:hover) .border-right > table > tbody > tr > td:not(.modules-heading) > a img {
    /* Keep the same icon size when the sidebar expands. */
    max-width: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
}

body .border-right:hover > table > tbody > tr > td:not(.modules-heading) > a::after,
body.collapse-menu .border-right:hover > table > tbody > tr > td:not(.modules-heading) > a::after,
body:has(.headersm .logosm:hover) .border-right > table > tbody > tr > td:not(.modules-heading) > a::after {
    content: attr(title);
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: var(--eb-text) !important;
    font-size: 15px !important;
    line-height: 22px !important;
    text-align: left !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body .border-right > table > tbody > tr > td:not(.modules-heading) > a:hover,
body.collapse-menu .border-right > table > tbody > tr > td:not(.modules-heading) > a:hover {
    background: #f2f4f8 !important;
    color: #0447a0 !important;
}

body .border-right br {
    display: none !important;
}

/* Text sidebar headings and lists used by Reports/Admin */

body .border-right .modules-heading:not([style*="font-size: 0"]),
body.collapse-menu .border-right .modules-heading:not([style*="font-size: 0"]) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 52px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

body .border-right .modules-heading:not([style*="font-size: 0"])::before,
body.collapse-menu .border-right .modules-heading:not([style*="font-size: 0"])::before {
    content: "▦";
    display: block !important;
    color: #292056 !important;
    font-size: 32px !important;
    font-weight: normal !important;
    line-height: 1 !important;
}

body .border-right:not(:hover) .modules-heading strong,
body.collapse-menu .border-right:not(:hover) .modules-heading strong {
    display: none !important;
}

body .border-right:hover .modules-heading:not([style*="font-size: 0"]),
body.collapse-menu .border-right:hover .modules-heading:not([style*="font-size: 0"]),
body:has(.headersm .logosm:hover) .border-right .modules-heading:not([style*="font-size: 0"]) {
    justify-content: flex-start !important;
    width: 100% !important;
    height: auto !important;
    min-height: 28px !important;
    margin: 5px 0 0 0 !important;
    padding: 3px 16px 2px 24px !important;
    color: var(--eb-text) !important;
    font-size: 15px !important;
    line-height: 22px !important;
    font-weight: bold !important;
    text-align: left !important;
    overflow: visible !important;
}

body .border-right:hover .modules-heading:not([style*="font-size: 0"])::before,
body.collapse-menu .border-right:hover .modules-heading:not([style*="font-size: 0"])::before,
body:has(.headersm .logosm:hover) .border-right .modules-heading:not([style*="font-size: 0"])::before {
    content: "";
    display: none !important;
}

body .border-right:hover .modules-heading strong,
body.collapse-menu .border-right:hover .modules-heading strong,
body:has(.headersm .logosm:hover) .border-right .modules-heading strong {
    display: inline !important;
    color: var(--eb-text) !important;
    font-size: 15px !important;
    line-height: 22px !important;
}

body .border-right:not(:hover) .listing,
body .border-right:not(:hover) .listicon,
body.collapse-menu .border-right:not(:hover) .listing,
body.collapse-menu .border-right:not(:hover) .listicon {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body .border-right:hover .listing,
body .border-right:hover .listicon,
body.collapse-menu .border-right:hover .listing,
body.collapse-menu .border-right:hover .listicon,
body:has(.headersm .logosm:hover) .border-right .listing,
body:has(.headersm .logosm:hover) .border-right .listicon {
    display: block !important;
    visibility: visible !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

body .border-right:hover .listing ul,
body .border-right:hover .listicon ul,
body.collapse-menu .border-right:hover .listing ul,
body.collapse-menu .border-right:hover .listicon ul,
body:has(.headersm .logosm:hover) .border-right .listing ul,
body:has(.headersm .logosm:hover) .border-right .listicon ul {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

body .border-right:hover .listing ul li,
body .border-right:hover .listicon ul li,
body.collapse-menu .border-right:hover .listing ul li,
body.collapse-menu .border-right:hover .listicon ul li,
body:has(.headersm .logosm:hover) .border-right .listing ul li,
body:has(.headersm .logosm:hover) .border-right .listicon ul li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

body .border-right:hover .listing ul li a,
body .border-right:hover .listicon ul li a,
body.collapse-menu .border-right:hover .listing ul li a,
body.collapse-menu .border-right:hover .listicon ul li a,
body:has(.headersm .logosm:hover) .border-right .listing ul li a,
body:has(.headersm .logosm:hover) .border-right .listicon ul li a {
    display: block !important;
    width: 100% !important;
    min-height: 27px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 2px 16px 2px 34px !important;
    color: var(--eb-text) !important;
    background: transparent !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: normal !important;
    line-height: 23px !important;
    text-align: left !important;
    text-decoration: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
}

body .border-right:hover .listing ul li a:hover,
body .border-right:hover .listicon ul li a:hover,
body.collapse-menu .border-right:hover .listing ul li a:hover,
body.collapse-menu .border-right:hover .listicon ul li a:hover,
body:has(.headersm .logosm:hover) .border-right .listing ul li a:hover,
body:has(.headersm .logosm:hover) .border-right .listicon ul li a:hover {
    color: #0447a0 !important;
    background: #f2f4f8 !important;
    text-decoration: none !important;
}

/* Existing JavaScript-controlled nested lists remain respected. */
body .border-right ul.listing2[id][style*="display: none"],
body .border-right ul.listing2[id][style*="display:none"] {
    display: none !important;
}

body .border-right:hover ul.listing2[id],
body.collapse-menu .border-right:hover ul.listing2[id],
body:has(.headersm .logosm:hover) .border-right ul.listing2[id] {
    width: auto !important;
    margin: 0 0 4px 34px !important;
    padding: 0 !important;
    background: transparent !important;
    list-style: none !important;
}

/* Header and e-Bridge logo */

body .headersm,
body.collapse-menu .headersm {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: var(--eb-sidebar-collapsed) !important;
    right: 0 !important;
    width: calc(100% - var(--eb-sidebar-collapsed)) !important;
    height: var(--eb-header-height) !important;
    min-height: var(--eb-header-height) !important;
    max-height: var(--eb-header-height) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    z-index: 90 !important;
}

body:has(.listing-table > tbody > tr > td.border-right:hover) .headersm,
body:has(.headersm .logosm:hover) .headersm {
    left: var(--eb-sidebar-expanded) !important;
    width: calc(100% - var(--eb-sidebar-expanded)) !important;
}

/* The existing header logo is visually placed inside the sidebar. */
body .headersm .logosm,
body.collapse-menu .headersm .logosm {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    width: var(--eb-sidebar-collapsed) !important;
    min-width: var(--eb-sidebar-collapsed) !important;
    max-width: var(--eb-sidebar-collapsed) !important;
    height: var(--eb-header-height) !important;
    margin: 0 !important;
    padding: 5px 6px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-right: 1px solid var(--eb-sidebar-border) !important;
    box-shadow: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    z-index: 100 !important;
}

body:has(.listing-table > tbody > tr > td.border-right:hover) .headersm .logosm,
body .headersm .logosm:hover,
body:has(.headersm .logosm:hover) .headersm .logosm {
    width: var(--eb-sidebar-expanded) !important;
    min-width: var(--eb-sidebar-expanded) !important;
    max-width: var(--eb-sidebar-expanded) !important;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.14) !important;
}

body .headersm .logosm a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .headersm .logosm img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 88px !important;
    max-height: 54px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

body:has(.listing-table > tbody > tr > td.border-right:hover) .headersm .logosm img,
body .headersm .logosm:hover img,
body:has(.headersm .logosm:hover) .headersm .logosm img {
    max-width: 250px !important;
    max-height: 58px !important;
}

body .headersm .page_heading_sm,
body.collapse-menu .headersm .page_heading_sm {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: calc(50% + (var(--eb-sidebar-collapsed) / 2)) !important;
    transform: translateX(-50%) !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - var(--eb-sidebar-collapsed) - 420px) !important;
    height: var(--eb-header-height) !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #292049 !important;
    background: transparent !important;
    font-size: 20px !important;
    font-weight: bold !important;
    line-height: var(--eb-header-height) !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
    z-index: 92 !important;
}

body:has(.listing-table > tbody > tr > td.border-right:hover) .headersm .page_heading_sm,
body:has(.headersm .logosm:hover) .headersm .page_heading_sm {
    left: calc(50% + (var(--eb-sidebar-expanded) / 2)) !important;
    max-width: calc(100vw - var(--eb-sidebar-expanded) - 420px) !important;
}

body .headersm .logosmR,
body.collapse-menu .headersm .logosmR {
    display: flex !important;
    visibility: visible !important;
    position: fixed !important;
    top: 0 !important;
    right: 8px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 240px !important;
    height: var(--eb-header-height) !important;
    margin: 0 !important;
    padding: 4px 8px 4px 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    z-index: 94 !important;
}

body .headersm .logosmR img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 220px !important;
    max-height: 52px !important;
    margin: 0 !important;
    object-fit: contain !important;
}

/* Fixed top navigation */

body .navigation,
body .wrapper .navigation,
body.collapse-menu .navigation,
body.collapse-menu .wrapper .navigation {
    display: table !important;
    visibility: visible !important;
    position: fixed !important;
    top: var(--eb-header-height) !important;
    left: var(--eb-sidebar-collapsed) !important;
    width: calc(100% - var(--eb-sidebar-collapsed)) !important;
    min-width: 0 !important;
    max-width: none !important;
    height: var(--eb-nav-height) !important;
    min-height: var(--eb-nav-height) !important;
    max-height: var(--eb-nav-height) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--eb-nav-bg) !important;
    background-image: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
    z-index: 70 !important;
}

body:has(.listing-table > tbody > tr > td.border-right:hover) .navigation,
body:has(.headersm .logosm:hover) .navigation {
    left: var(--eb-sidebar-expanded) !important;
    width: calc(100% - var(--eb-sidebar-expanded)) !important;
}

body .navigation tbody,
body .navigation tr,
body .navigation .main-links {
    height: var(--eb-nav-height) !important;
    min-height: var(--eb-nav-height) !important;
    max-height: var(--eb-nav-height) !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .navigation .main-links {
    line-height: var(--eb-nav-height) !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

body .navigation .main-links a {
    display: inline-block !important;
    height: var(--eb-nav-height) !important;
    margin: 0 !important;
    padding: 0 25px !important;
    color: #ffffff !important;
    background: transparent !important;
    border: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
    font-size: 16px !important;
    font-weight: normal !important;
    line-height: var(--eb-nav-height) !important;
    text-align: center !important;
    text-decoration: none !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
}

body .navigation .main-links a:hover {
    color: #feee57 !important;
    background: rgba(255, 255, 255, 0.10) !important;
    text-decoration: none !important;
}

/* Main content pane */

body .listing-table,
body.collapse-menu .listing-table {
    display: block !important;
    position: fixed !important;
    top: calc(var(--eb-header-height) + var(--eb-nav-height)) !important;
    left: var(--eb-sidebar-collapsed) !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    background: #ffffff !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

body:has(.listing-table > tbody > tr > td.border-right:hover) .listing-table,
body:has(.headersm .logosm:hover) .listing-table {
    left: var(--eb-sidebar-expanded) !important;
}

body .listing-table > tbody,
body .listing-table > tbody > tr,
body.collapse-menu .listing-table > tbody,
body.collapse-menu .listing-table > tbody > tr {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body .listing-table > tbody > tr > td:not(.border-right),
body.collapse-menu .listing-table > tbody > tr > td:not(.border-right) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 var(--eb-page-pad-x) 28px var(--eb-page-pad-x) !important;
    background: #ffffff !important;
    border: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
    scrollbar-width: auto !important;
}

body .listing-table > tbody > tr > td:not(.border-right)::-webkit-scrollbar {
    width: 12px !important;
    height: 12px !important;
}

/* Common old wrappers fill the available right pane. */
body .listing-table > tbody > tr > td:not(.border-right) > div,
body .listing-table > tbody > tr > td:not(.border-right) > form,
body #content_area_wrapper,
body #content_area,
body #config_wrapper,
body #config_info,
body .main-table,
body .fulltable,
body .mainColor,
body .mainColor2,
body .TabbedPanels,
body .TabbedPanelsContent,
body .TabbedPanelsContentGroup {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body #content_area_wrapper,
body #content_area {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body .main-table,
body .fulltable {
    width: 100% !important;
}

body .mainColor,
body .mainColor2 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Keep deliberate internal scrolling areas available. */
body .listing-table .scrolltab,
body .listing-table .scrolltabinv,
body .listing-table .scrolltabinvWide,
body .listing-table .scrolltable,
body .listing-table .scrolltable2,
body .listing-table .scrolltable3,
body .listing-table .scrolltable4,
body .listing-table div.scrollingArea,
body .listing-table div.scrollableContainer,
body .listing-table .mainColor,
body .listing-table .mainColor2 {
    max-width: 100% !important;
    overflow: auto !important;
    scrollbar-width: auto !important;
}

/* Feedback and modal layers stay above the fixed application shell. */
body #feedback_bar {
    z-index: 1200 !important;
}

body .blanket,
body .quote_blanket,
body .client_blanket,
body .vendor_blanket,
body .address_blanket,
body .newprofile_blanket,
body .checkavail_blanket {
    position: fixed !important;
    z-index: 2000 !important;
}

body .layer1,
body .layer2,
body .layer3,
body .quote_layer1,
body .client_layer,
body .vendor_layer,
body .address_layer,
body .newprofile_layer,
body .checkavail_layer,
body div.internalpopup,
body div.termspopup,
body .ui-dialog,
body #TB_window {
    z-index: 2001 !important;
}

/* Disabled buttons use a simple neutral state. */
.button:disabled,
input.button:disabled,
button.button:disabled {
    color: #777777 !important;
    background: #e0e0e0 !important;
    background-color: #e0e0e0 !important;
    background-image: none !important;
    border-color: #c8c8c8 !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Print reset */

@media print {
    html,
    body {
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    body .headersm,
    body .navigation,
    body .listing-table > tbody > tr > td.border-right {
        display: none !important;
    }

    body .boundary,
    body .wrapper,
    body .listing-table,
    body .listing-table > tbody,
    body .listing-table > tbody > tr,
    body .listing-table > tbody > tr > td:not(.border-right) {
        display: block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        box-shadow: none !important;
    }
}


/*
5. Final HotelMIS reference theme for RetailMIS

   This final block intentionally comes after the legacy RetailMIS
   styles and the fixed RetailMIS shell. It matches the latest
   HotelMIS visual language while retaining RetailMIS PHP, IDs,
   JavaScript behaviour, imported module styles and existing icons.

   Reference treatment:
   - light grey top navigation with black text
   - e-Bridge yellow buttons with black text
   - dark neutral table headings
   - white / light-grey data rows
   - yellow focus and selected-row accents
   - clean grey form borders and rounded controls
*/

:root {
    --eb-brand-yellow: #FEEE57;
    --eb-brand-yellow-hover: #FFE600;
    --eb-brand-black: #171717;
    --eb-shell-grey: #EFF0F2;
    --eb-shell-grey-dark: #D8D8D8;
    --eb-table-heading: #000000;
    --eb-table-border: #D5D5D5;
    --eb-table-row-alt: #F7F7F7;
    --eb-table-row-hover: #FFF9CF;
    --eb-field-border: #D0D0D8;
    --eb-field-text: #242424;
    --eb-nav-bg: var(--eb-shell-grey);
}

/* HotelMIS shell colours */

.navigation,
body .navigation,
body.collapse-menu .navigation,
body .wrapper .navigation,
body.collapse-menu .wrapper .navigation {
    background: var(--eb-shell-grey) !important;
    background-color: var(--eb-shell-grey) !important;
    background-image: none !important;
    border-top: 1px solid var(--eb-shell-grey-dark) !important;
    border-bottom: 1px solid var(--eb-shell-grey-dark) !important;
    box-shadow: none !important;
    filter: none !important;
}

.main-links,
.main-links a,
body .navigation .main-links,
body .navigation .main-links a,
body .wrapper .navigation .main-links,
body .wrapper .navigation .main-links a {
    color: var(--eb-brand-black) !important;
}

body .navigation .main-links a,
body .wrapper .navigation .main-links a {
    border-right: 1px solid var(--eb-shell-grey-dark) !important;
}

.main-links a:hover,
body .navigation .main-links a:hover,
body .wrapper .navigation .main-links a:hover {
    color: var(--eb-brand-black) !important;
    background: rgba(250, 235, 85, 0.55) !important;
    text-decoration: none !important;
}

/* HotelMIS buttons */

.button,
input[type="button"].button,
input[type="submit"].button,
button.button,
input[type="file"]::file-selector-button,
#TabbedPanels1 .button,
#fullscreendiv .button,
body #register_wrapper input[type="button"],
body #register_wrapper input[type="submit"],
body #register_wrapper button,
body #register_wrapper a.button,
body #register_wrapper .button,
body #register_wrapper .big_button,
body #register_wrapper .small_button,
body #overall_sale .small_button,
body #select_customer .small_button,
body .overall_sale .small_button,
body .select_customer .small_button,
body #register_wrapper #suspend_sale_button,
body #register_wrapper #new_customer,
body #register_wrapper a[id*="suspend"],
body #register_wrapper a[id*="customer"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 31px !important;
    height: 31px !important;
    padding: 0 15px !important;
    color: var(--eb-brand-black) !important;
    background: var(--eb-brand-yellow) !important;
    background-color: var(--eb-brand-yellow) !important;
    background-image: none !important;
    border: 1px solid var(--eb-brand-yellow) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    filter: none !important;
    font-family: Verdana, Geneva !important;
    font-size: 14px !important;
    line-height: 29px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.button:hover,
input[type="button"].button:hover,
input[type="submit"].button:hover,
button.button:hover,
input[type="file"]::file-selector-button:hover,
#TabbedPanels1 .button:hover,
#fullscreendiv .button:hover,
body #register_wrapper input[type="button"]:hover,
body #register_wrapper input[type="submit"]:hover,
body #register_wrapper button:hover,
body #register_wrapper a.button:hover,
body #register_wrapper .button:hover,
body #register_wrapper .big_button:hover,
body #register_wrapper .small_button:hover,
body #overall_sale .small_button:hover,
body #select_customer .small_button:hover,
body .overall_sale .small_button:hover,
body .select_customer .small_button:hover,
body #register_wrapper #suspend_sale_button:hover,
body #register_wrapper #new_customer:hover,
body #register_wrapper a[id*="suspend"]:hover,
body #register_wrapper a[id*="customer"]:hover {
    color: var(--eb-brand-black) !important;
    background: var(--eb-brand-yellow-hover) !important;
    background-color: var(--eb-brand-yellow-hover) !important;
    background-image: none !important;
    border-color: var(--eb-brand-yellow-hover) !important;
    box-shadow: none !important;
    filter: none !important;
    text-decoration: none !important;
}

.button:active,
body #register_wrapper input[type="button"]:active,
body #register_wrapper input[type="submit"]:active,
body #register_wrapper button:active,
body #register_wrapper a.button:active,
body #register_wrapper .button:active {
    transform: translateY(1px);
}

.button:disabled,
input.button:disabled,
button.button:disabled,
body #register_wrapper input[type="button"]:disabled,
body #register_wrapper input[type="submit"]:disabled,
body #register_wrapper button:disabled,
body #register_wrapper .button:disabled {
    color: #777777 !important;
    background: #E0E0E0 !important;
    background-color: #E0E0E0 !important;
    background-image: none !important;
    border-color: #C8C8C8 !important;
    box-shadow: none !important;
    filter: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Keep plain utility buttons neutral unless they also use .button. */
.btn,
.btn2 {
    background: #E3E3E3;
    color: #000000;
}

/* HotelMIS form controls */

body #register_wrapper input[type="text"],
body #register_wrapper input[type="number"],
body #register_wrapper input[type="date"],
body #register_wrapper input[type="email"],
body #register_wrapper select,
body #register_wrapper textarea,
#TabbedPanels1 .TabbedPanelsContentGroup fieldset input[type="text"],
#TabbedPanels1 .TabbedPanelsContentGroup fieldset input[type="number"],
#TabbedPanels1 .TabbedPanelsContentGroup fieldset input[type="date"],
#TabbedPanels1 .TabbedPanelsContentGroup fieldset select,
#TabbedPanels1 .TabbedPanelsContentGroup fieldset textarea {
    color: var(--eb-field-text) !important;
    background: #FFFFFF !important;
    border: 1px solid var(--eb-field-border) !important;
    border-radius: 4px !important;
    box-shadow: 0 7px 12px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
}

body #register_wrapper input[type="text"],
body #register_wrapper input[type="number"],
body #register_wrapper input[type="date"],
body #register_wrapper input[type="email"],
body #register_wrapper select {
    min-height: 32px !important;
    padding: 0 10px !important;
    font-size: 14px !important;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus,
#TabbedPanels1 .TabbedPanelsContentGroup fieldset input[type="text"]:focus,
#TabbedPanels1 .TabbedPanelsContentGroup fieldset input[type="number"]:focus,
#TabbedPanels1 .TabbedPanelsContentGroup fieldset input[type="date"]:focus,
#TabbedPanels1 .TabbedPanelsContentGroup fieldset select:focus,
#TabbedPanels1 .TabbedPanelsContentGroup fieldset textarea:focus {
    outline: none !important;
    border-color: var(--eb-brand-yellow) !important;
    box-shadow: 0 0 0 2px rgba(254, 238, 87, 0.30) !important;
}

/* RetailMIS sales-register table in the HotelMIS table style */

body #register_wrapper #register,
body #register_wrapper table#register,
body #register_wrapper #cart,
body #register_wrapper table#cart,
body #register_wrapper .retail-standard-table {
    width: 100% !important;
    margin: 0 !important;
    color: #222222 !important;
    background: #FFFFFF !important;
    border: 1px solid var(--eb-table-border) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

body #register_wrapper #register thead,
body #register_wrapper #register thead tr,
body #register_wrapper #register thead th,
body #register_wrapper #register tr:first-child th,
body #register_wrapper #cart thead,
body #register_wrapper #cart thead tr,
body #register_wrapper #cart thead th,
body #register_wrapper #cart tr:first-child th,
body #register_wrapper .retail-standard-table thead,
body #register_wrapper .retail-standard-table thead tr,
body #register_wrapper .retail-standard-table thead th {
    color: #FFFFFF !important;
    background: var(--eb-table-heading) !important;
    background-color: var(--eb-table-heading) !important;
    background-image: none !important;
    border: 0 !important;
    border-bottom: 1px solid var(--eb-table-border) !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
}

body #register_wrapper #register thead th,
body #register_wrapper #register tr:first-child th,
body #register_wrapper #cart thead th,
body #register_wrapper #cart tr:first-child th,
body #register_wrapper .retail-standard-table thead th {
    height: 36px !important;
    padding: 6px 8px !important;
    color: #FFFFFF !important;
    font-family: Verdana, Geneva !important;
    font-size: 14px !important;
    line-height: 22px !important;
    font-weight: bold !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

body #register_wrapper #register th *,
body #register_wrapper #cart th *,
body #register_wrapper .retail-standard-table th * {
    color: #FFFFFF !important;
}

body #register_wrapper #register tbody td,
body #register_wrapper #cart tbody td,
body #register_wrapper .retail-standard-table tbody td {
    padding: 6px 8px !important;
    color: #222222 !important;
    background: #FFFFFF !important;
    border: 0 !important;
    border-right: 1px solid var(--eb-table-border) !important;
    border-bottom: 1px solid var(--eb-table-border) !important;
    font-family: Verdana, Geneva !important;
    font-size: 14px !important;
    line-height: 22px !important;
    vertical-align: middle !important;
}

body #register_wrapper #register tbody td:last-child,
body #register_wrapper #cart tbody td:last-child,
body #register_wrapper .retail-standard-table tbody td:last-child {
    border-right: 0 !important;
}

body #register_wrapper #register tbody tr:last-child td,
body #register_wrapper #cart tbody tr:last-child td,
body #register_wrapper .retail-standard-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

body #register_wrapper #register tbody tr:nth-child(even) td,
body #register_wrapper #cart tbody tr:nth-child(even) td,
body #register_wrapper .retail-standard-table tbody tr:nth-child(even) td,
body #register_wrapper #register tr.rowE td,
body #register_wrapper #cart tr.rowE td {
    color: #222222 !important;
    background: var(--eb-table-row-alt) !important;
}

body #register_wrapper #register tbody tr:hover td,
body #register_wrapper #cart tbody tr:hover td,
body #register_wrapper .retail-standard-table tbody tr:hover td {
    color: #222222 !important;
    background: var(--eb-table-row-hover) !important;
}

body #register_wrapper #register tr.rowS td,
body #register_wrapper #cart tr.rowS td,
body #register_wrapper .retail-standard-table tr.rowS td,
body #register_wrapper #register tr.highlight td,
body #register_wrapper #cart tr.highlight td {
    color: #222222 !important;
    background: #FFF3B0 !important;
}

/* The empty-cart message remains clear and centred. */
body #register_wrapper #register td[colspan],
body #register_wrapper #cart td[colspan] {
    text-align: center !important;
}

/* Sales customer and totals cards */

body #register_wrapper #overall_sale,
body #register_wrapper #select_customer,
body #register_wrapper .overall_sale,
body #register_wrapper .select_customer,
body #register_wrapper #customer_info_shell,
body #register_wrapper #sale_totals {
    color: #222222 !important;
    background: #FFFFFF !important;
    border: 1px solid var(--eb-table-border) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

body #register_wrapper #overall_sale hr,
body #register_wrapper #select_customer hr,
body #register_wrapper .overall_sale hr,
body #register_wrapper .select_customer hr {
    border: 0 !important;
    border-top: 1px solid var(--eb-table-border) !important;
}

/* Generic RetailMIS data tables
   Use the same table layout/theme everywhere. */

.retail-table-wrap {
    width: 100% !important;
    margin: 15px 0 !important;
    overflow-x: auto !important;
    box-sizing: border-box !important;
}

.retail-table,
.retail-standard-table,
table.tablesorter,
table.data-table {
    width: 100% !important;
    margin: 0 !important;
    color: #222222 !important;
    background: #ffffff !important;
    border: 1px solid var(--eb-table-border) !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
}

.retail-table th,
.retail-standard-table th,
table.tablesorter th,
table.data-table th {
    padding: 7px 10px !important;
    color: #ffffff !important;
    background: var(--eb-table-heading) !important;
    background-image: none !important;
    border: 1px solid var(--eb-table-border) !important;
    font-weight: 700 !important;
    text-align: left !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.retail-table td,
.retail-standard-table td,
table.tablesorter td,
table.data-table td {
    padding: 7px 10px !important;
    color: #222222 !important;
    background: #ffffff !important;
    border: 1px solid var(--eb-table-border) !important;
    vertical-align: middle !important;
}

.retail-table tbody tr:nth-child(even) td,
.retail-standard-table tbody tr:nth-child(even) td,
table.tablesorter tbody tr:nth-child(even) td,
table.data-table tbody tr:nth-child(even) td {
    background: var(--eb-table-row-alt) !important;
}

.retail-table tbody tr:hover td,
.retail-standard-table tbody tr:hover td,
table.tablesorter tbody tr:hover td,
table.data-table tbody tr:hover td {
    background: var(--eb-table-row-hover) !important;
}

.retail-table img,
.retail-standard-table img,
table.tablesorter img,
table.data-table img {
    cursor: pointer !important;
}

.retail-table input[type="text"],
.retail-table input[type="number"],
.retail-table input[type="password"],
.retail-table select,
.retail-table textarea,
.retail-standard-table input[type="text"],
.retail-standard-table input[type="number"],
.retail-standard-table input[type="password"],
.retail-standard-table select,
.retail-standard-table textarea,
table.tablesorter input[type="text"],
table.tablesorter input[type="number"],
table.tablesorter input[type="password"],
table.tablesorter select,
table.tablesorter textarea,
table.data-table input[type="text"],
table.data-table input[type="number"],
table.data-table input[type="password"],
table.data-table select,
table.data-table textarea {
    box-sizing: border-box !important;
    border: 1px solid #b8b8b8 !important;
    background: #ffffff !important;
    color: #171717 !important;
}

.retail-table input:focus,
.retail-table select:focus,
.retail-table textarea:focus,
.retail-standard-table input:focus,
.retail-standard-table select:focus,
.retail-standard-table textarea:focus,
table.tablesorter input:focus,
table.tablesorter select:focus,
table.tablesorter textarea:focus,
table.data-table input:focus,
table.data-table select:focus,
table.data-table textarea:focus {
    border-color: #FEEE57 !important;
    outline: 2px solid #FEEE57 !important;
    outline-offset: 0 !important;
}

.retail-table input[readonly],
.retail-table input:disabled,
.retail-table select:disabled,
.retail-standard-table input[readonly],
.retail-standard-table input:disabled,
.retail-standard-table select:disabled,
table.tablesorter input[readonly],
table.tablesorter input:disabled,
table.tablesorter select:disabled,
table.data-table input[readonly],
table.data-table input:disabled,
table.data-table select:disabled {
    background: var(--eb-shell-grey) !important;
    color: #666666 !important;
}

/* Print: remove colour-heavy UI treatment */

@media print {
    .button,
    input[type="button"],
    input[type="submit"],
    button {
        background: transparent !important;
        color: #000000 !important;
        border: 1px solid #999999 !important;
        box-shadow: none !important;
    }

    .retail-standard-table th,
    body #register_wrapper #register th,
    body #register_wrapper #cart th {
        color: #000000 !important;
        background: #FFFFFF !important;
    }
}

/* RetailMIS login page layout
   Keep the original centred 850px login content area. */

body:has(#loginButton) .main-table {
    width: 850px !important;
    min-width: 850px !important;
    max-width: 850px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body:has(#loginButton) .main-heading {
    text-align: left !important;
}

body:has(#loginButton) .main-table > tbody > tr:nth-child(3) > td {
    text-align: left !important;
}

body:has(#loginButton) .inner-table {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Real sidebar module heading icons */

/* A real image icon replaces the generic fallback symbol. */
body .border-right .modules-heading:has(.module-heading-icon)::before,
body.collapse-menu .border-right .modules-heading:has(.module-heading-icon)::before {
    content: "" !important;
    display: none !important;
}

/* Collapsed sidebar: centre a compact module icon. */
body .border-right .modules-heading .module-heading-icon,
body.collapse-menu .border-right .modules-heading .module-heading-icon {
    display: block !important;
    visibility: visible !important;
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    padding: 0 !important;
    flex: 0 0 38px !important;
    vertical-align: middle !important;
}

/* Expanded sidebar: small icon beside the heading text. */
body .border-right:hover .modules-heading .module-heading-icon,
body.collapse-menu .border-right:hover .modules-heading .module-heading-icon,
body:has(.headersm .logosm:hover) .border-right .modules-heading .module-heading-icon {
    display: inline-block !important;
    visibility: visible !important;
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    object-fit: contain !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    flex: 0 0 22px !important;
}

/* Keep icon + heading text aligned when the sidebar expands. */
body .border-right:hover .modules-heading:has(.module-heading-icon),
body.collapse-menu .border-right:hover .modules-heading:has(.module-heading-icon),
body:has(.headersm .logosm:hover) .border-right .modules-heading:has(.module-heading-icon) {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 3px 16px 2px 24px !important;
}

/* RetailMIS Operator Setup - HotelMIS-style tabs
   Direct selectors because #TabbedPanels1 is not inside #config_wrapper */

#TabbedPanels1 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
}

/* Full-width HotelMIS-style tab row */
#TabbedPanels1 #tabgroup,
#TabbedPanels1 .TabbedPanelsTabGroup {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;

    width: 100% !important;
    min-height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #FFFFFF !important;
    background-image: none !important;

    border: 0 !important;
    border-bottom: 2px solid #CFCFCF !important;

    list-style: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Individual tabs */
#TabbedPanels1 #tabgroup > .TabbedPanelsTab,
#TabbedPanels1 .TabbedPanelsTabGroup > .TabbedPanelsTab,
#TabbedPanels1 .TabbedPanelsTab {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 90px !important;
    min-height: 40px !important;

    margin: 0 !important;
    padding: 8px 22px 7px 22px !important;

    color: #292056 !important;

    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;

    border: 0 !important;
    border-bottom: 4px solid transparent !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;

    font-family: Verdana, Geneva !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;

    cursor: pointer !important;
    white-space: nowrap !important;
    overflow: hidden !important;

    box-sizing: border-box !important;
}

/* Hover */
#TabbedPanels1 #tabgroup > .TabbedPanelsTab:hover,
#TabbedPanels1 .TabbedPanelsTabGroup > .TabbedPanelsTab:hover,
#TabbedPanels1 .TabbedPanelsTab:hover {
    color: var(--eb-brand-black) !important;

    background: var(--eb-brand-yellow) !important;
    background-color: var(--eb-brand-yellow) !important;
    background-image: none !important;

    border: 0 !important;
    border-bottom: 4px solid var(--eb-brand-yellow) !important;

    box-shadow: none !important;
    filter: none !important;
}

/* Selected tab */
#TabbedPanels1 #tabgroup > .TabbedPanelsTabSelected,
#TabbedPanels1 .TabbedPanelsTabGroup > .TabbedPanelsTabSelected,
#TabbedPanels1 .TabbedPanelsTabSelected {
    z-index: 2 !important;

    color: var(--eb-brand-black) !important;

    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;

    border: 0 !important;
    border-bottom: 4px solid var(--eb-brand-yellow) !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;

    font-weight: 700 !important;
}

/* Keep selected tab white on hover */
#TabbedPanels1 #tabgroup > .TabbedPanelsTabSelected:hover,
#TabbedPanels1 .TabbedPanelsTabGroup > .TabbedPanelsTabSelected:hover,
#TabbedPanels1 .TabbedPanelsTabSelected:hover {
    color: var(--eb-brand-black) !important;
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    border-bottom-color: var(--eb-brand-yellow) !important;
}

/* Remove old Spry selected-tab decorations */
#TabbedPanels1 .TabbedPanelsTabSelected::before,
#TabbedPanels1 .TabbedPanelsTabSelected::after {
    content: none !important;
    display: none !important;
}

/* e-Bridge Links Management */

#ebridge_links_wrapper {
    padding: 0 !important;
    background: #fff !important;
}

#ebridge_links_table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #d8d8d8 !important;
    background: #fff !important;
}

#ebridge_links_table th {
    padding: 10px 12px !important;
    background: #eff0f2 !important;
    color: #171717 !important;
    border: 1px solid #d8d8d8 !important;
    font-weight: bold !important;
    text-align: left !important;
}

#ebridge_links_table td {
    padding: 7px 10px !important;
    background: #fff !important;
    color: #171717 !important;
    border: 1px solid #d8d8d8 !important;
    vertical-align: middle !important;
}

#ebridge_links_table tbody tr:hover td {
    background: #fff9cf !important;
}

#ebridge_links_table input[type="text"],
#ebridge_links_table input[type="password"] {
    min-height: 30px !important;
    padding: 4px 6px !important;
    background: #fff !important;
    border: 1px solid #9b9b9b !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#ebridge_links_table input[type="text"]:focus,
#ebridge_links_table input[type="password"]:focus {
    outline: none !important;
    border-color: #feee57 !important;
    box-shadow: 0 0 0 2px rgba(254, 238, 87, 0.30) !important;
}
#ebridge_links_table td:nth-child(2) {
    white-space: nowrap !important;
}

#ebridge_links_table .ebridge-url-input {
    width: calc(100% - 100px) !important;
    min-width: 250px !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* e-Bridge Invoice Product Mapping table */

.ebridge-product-map-table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
    background: #ffffff !important;
    border: 1px solid #000000 !important;
}

.ebridge-product-map-table th {
    padding: 6px 8px !important;
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    font-weight: 700 !important;
    text-align: center !important;
    vertical-align: middle !important;
    line-height: 1.05 !important;
    box-shadow: none !important;
    filter: none !important;
}

.ebridge-product-map-table td {
    padding: 5px 8px !important;
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
    vertical-align: middle !important;
    line-height: 1.15 !important;
}

.ebridge-product-map-table tbody tr:hover td {
    background: #fff9cf !important;
}

/* Product name column */
.ebridge-product-map-table th:first-child,
.ebridge-product-map-table td:first-child {
    width: 45% !important;
    text-align: left !important;
}

/* Mapping columns */
.ebridge-product-map-table th:not(:first-child),
.ebridge-product-map-table td:not(:first-child) {
    width: auto !important;
}

/* Dropdowns */
.ebridge-product-map-table select {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 28px !important;
    padding: 3px 5px !important;
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #b8b8b8 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.ebridge-product-map-table select:focus {
    outline: none !important;
    border-color: var(--eb-brand-yellow) !important;
    box-shadow: 0 0 0 2px rgba(254, 238, 87, 0.30) !important;
}

/* Categories / Menus separator rows */
.ebridge-product-map-table td[colspan="5"] {
    font-weight: 700 !important;
    background: #f5f5f5 !important;
    color: #000000 !important;
}

/* Product Mapping Save button alignment */

.ebridge-product-map-table tr:last-child td {
    text-align: right !important;
    padding: 6px 8px !important;
}


/* User Setup / Employees page */

/* Keep the Administration sidebar labels on one line when expanded */
body .border-right:hover .listing ul li a,
body .border-right:hover .listicon ul li a,
body.collapse-menu .border-right:hover .listing ul li a,
body.collapse-menu .border-right:hover .listicon ul li a,
body:has(.headersm .logosm:hover) .border-right .listing ul li a,
body:has(.headersm .logosm:hover) .border-right .listicon ul li a {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* New Employee button */
#new_button .big_button {
    min-width: 150px !important;
    min-height: 34px !important;
    padding: 6px 14px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: var(--eb-brand-yellow) !important;
    background-color: var(--eb-brand-yellow) !important;
    background-image: none !important;

    color: var(--eb-brand-black) !important;
    border: 1px solid var(--eb-brand-yellow) !important;
    border-radius: 5px !important;

    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;

    font-weight: 700 !important;
    box-sizing: border-box !important;
}

#new_button .big_button span {
    color: var(--eb-brand-black) !important;
    font-weight: 700 !important;
}

#new_button .big_button:hover {
    background: var(--eb-brand-yellow-hover) !important;
    background-color: var(--eb-brand-yellow-hover) !important;
    border-color: var(--eb-brand-yellow-hover) !important;
}

/* Action toolbar above employee table */
#table_action_header {
    width: 100% !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;

    background: #f5f5f5 !important;
    background-color: #f5f5f5 !important;
    background-image: none !important;

    border: 1px solid #d8d8d8 !important;
    border-bottom: 0 !important;

    box-shadow: none !important;
    filter: none !important;
    box-sizing: border-box !important;
}

#table_action_header ul {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 4px 6px !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

#table_action_header li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#table_action_header li.float_left {
    float: none !important;
    margin-right: 6px !important;
}

#table_action_header li.float_right {
    float: none !important;
    margin-left: auto !important;
}

#table_action_header a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 4px 10px !important;

    color: var(--eb-brand-black) !important;
    background: transparent !important;

    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 600 !important;

    box-sizing: border-box !important;
}

#table_action_header a:hover {
    color: var(--eb-brand-black) !important;
    background: var(--eb-brand-yellow) !important;
    text-decoration: none !important;
}

/* Employee search field */
#table_action_header #search_form {
    margin: 0 !important;
    padding: 0 !important;
}

#table_action_header input#search {
    width: 280px !important;
    height: 30px !important;
    padding: 4px 8px !important;

    background: #ffffff !important;
    color: #000000 !important;

    border: 1px solid #b8b8b8 !important;
    border-radius: 3px !important;

    box-shadow: none !important;
    box-sizing: border-box !important;
}

#table_action_header input#search:focus {
    outline: none !important;
    border-color: var(--eb-brand-yellow) !important;
    box-shadow: 0 0 0 2px rgba(254, 238, 87, 0.30) !important;
}

/* Employee list table */
#sortable_table.tablesorter {
    width: 100% !important;
    margin: 0 !important;

    border-collapse: collapse !important;
    border-spacing: 0 !important;

    background: #ffffff !important;
    border: 1px solid #000000 !important;
}

/* Header: same black table theme */
#sortable_table.tablesorter thead th {
    padding: 6px 8px !important;

    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;

    color: #ffffff !important;
    border: 1px solid #ffffff !important;

    font-weight: 700 !important;
    text-align: left !important;
    vertical-align: middle !important;

    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
}

/* Keep select-all checkbox centered */
#sortable_table.tablesorter thead th:first-child,
#sortable_table.tablesorter tbody td:first-child {
    width: 45px !important;
    text-align: center !important;
}

/* White body rows with thin black grid lines */
#sortable_table.tablesorter tbody td {
    padding: 5px 8px !important;

    background: #ffffff !important;
    color: #000000 !important;

    border: 1px solid #000000 !important;
    vertical-align: middle !important;
}

#sortable_table.tablesorter tbody tr:nth-child(even) td,
#sortable_table.tablesorter tbody tr:hover td {
    background: #ffffff !important;
    color: #000000 !important;
}

/* Employee table links */
#sortable_table.tablesorter tbody td a {
    text-decoration: underline !important;
}

#sortable_table.tablesorter tbody td a:hover {
    color: #000000 !important;
    text-decoration: underline !important;
}

/* Remove old sort-header gradients/images */
#sortable_table.tablesorter thead th.header,
#sortable_table.tablesorter thead th.headerSortUp,
#sortable_table.tablesorter thead th.headerSortDown {
    background-color: #000000 !important;
    background-image: none !important;
}

/* RetailMIS Thickbox popup */

#TB_overlay {
    background: #000000 !important;
    opacity: 0.65 !important;
}

#TB_window {
    background: #ffffff !important;
    color: #171717 !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
}

#TB_title {
    height: 42px !important;
    background: #eff0f2 !important;
    background-image: none !important;
    color: #171717 !important;
    border: 0 !important;
    border-bottom: 4px solid #feee57 !important;
}

#TB_ajaxWindowTitle {
    padding: 9px 14px !important;
    color: #171717 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 24px !important;
}

#TB_closeAjaxWindow {
    padding: 8px 12px !important;
}

#TB_closeAjaxWindow a {
    color: #171717 !important;
    text-decoration: none !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

#TB_ajaxContent {
    background: #ffffff !important;
    color: #171717 !important;
    padding: 10px 14px !important;
    box-sizing: content-box !important;
}

#TB_ajaxContent fieldset {
    border: 1px solid #b8b8b8 !important;
    background: #ffffff !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}

#TB_ajaxContent legend {
    color: #171717 !important;
    background: #ffffff !important;
    padding: 0 5px !important;
    font-weight: 600 !important;
}

/* Item Setup only: override ThickBox inline popup dimensions. */
body #TB_window:has(#item_form) {
    position: fixed !important;
    width: min(760px, calc(100vw - 32px)) !important;
    height: min(760px, calc(100dvh - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
    top: 50% !important;
    left: 50% !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    box-sizing: border-box !important;
}

/* Scroll the contents vertically, never the entire popup sideways. */
body #TB_window:has(#item_form) #TB_ajaxContent {
    width: 100% !important;
    height: calc(100% - 46px) !important;
    max-height: none !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
/* Item Bundle Setup uses the generic RetailMIS table styling above. */

/* Category Setup */

select.plainSelectList {
    width: 100% !important;
    background: #ffffff !important;
    color: #171717 !important;
    border: 1px solid #b8b8b8 !important;
    border-radius: 0 !important;
    padding: 4px !important;
    box-sizing: border-box !important;
}

select.plainSelectList option {
    padding: 7px 10px !important;
    background: #ffffff;
    color: #171717;
}

/* Selected category */
select.plainSelectList option:checked {
    background: #feee57 linear-gradient(0deg, #feee57 0%, #feee57 100%) !important;
    color: #171717 !important;
    font-weight: 700 !important;
}

/* Hover */
select.plainSelectList option:hover {
    background: #fff9cf !important;
    color: #171717 !important;
}

/* Category Setup makeover */

.category-breadcrumb {
    padding: 8px 12px !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #171717 !important;
    background: #f5f5f5 !important;
    border-bottom: 1px solid #d8d8d8 !important;
}

.category-list-box {
    height: 220px !important;
    min-width: 600px !important;
    margin: 12px 20px 20px 20px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
    border: 1px solid #d8d8d8 !important;
    box-sizing: border-box !important;
}

.category-row-table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
}

.category-item-row td {
    padding: 8px 12px !important;
    background: #ffffff !important;
    color: #171717 !important;
    border-bottom: 1px solid #eeeeee !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

.category-item-row:hover td {
    background: #fff9cf !important;
}

.category-item-row.category-selected td,
.category-item-row.category-selected:hover td {
    background: #feee57 !important;
    color: #171717 !important;
    font-weight: 600 !important;
}

/* =========================================================
   Promotion Setup
   Scoped makeover only for the Promotion Setup page.
   ========================================================= */

.promotion-setup {
    color: var(--eb-brand-black, #171717) !important;
}

.promotion-setup .promotion-main-wrap {
    height: auto !important;
    width: calc(100% - 30px) !important;
    max-width: 980px !important;
    margin: 12px auto 0 auto !important;
}

.promotion-setup .promotion-main-table {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    background: #ffffff !important;
}

.promotion-setup .promotion-main-table th {
    padding: 7px 10px !important;
    background: var(--eb-brand-black, #171717) !important;
    background-color: var(--eb-brand-black, #171717) !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid var(--eb-table-border, #d5d5d5) !important;
    font-weight: 700 !important;
    text-align: left !important;
    line-height: 22px !important;
}

.promotion-setup .promotion-main-table td {
    padding: 8px 10px !important;
    background: #ffffff !important;
    color: var(--eb-brand-black, #171717) !important;
    border: 1px solid var(--eb-table-border, #d5d5d5) !important;
    vertical-align: middle !important;
}

.promotion-setup .promotion-main-table .promotion-spacer td {
    height: 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.promotion-setup .promotion-main-table select,
.promotion-setup .promotion-main-table input[type="text"] {
    min-width: 0 !important;
    height: 34px !important;
    box-sizing: border-box !important;
    padding: 5px 8px !important;
    border: 1px solid #b8b8b8 !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    color: var(--eb-brand-black, #171717) !important;
    font-size: 15px !important;
}

.promotion-setup .promotion-main-table select {
    width: 100% !important;
}

.promotion-setup .promotion-main-table input[type="text"] {
    width: calc(100% - 28px) !important;
}

.promotion-setup .promotion-main-table input[readonly] {
    background: var(--eb-shell-grey, #eff0f2) !important;
    color: #555555 !important;
}

.promotion-setup .promotion-main-table select:focus,
.promotion-setup .promotion-main-table input[type="text"]:focus,
.promotion-setup .promotion-detail-panel select:focus,
.promotion-setup .promotion-detail-panel input[type="text"]:focus {
    outline: none !important;
    border-color: var(--eb-brand-yellow, #feee57) !important;
    box-shadow: 0 0 0 2px rgba(254, 238, 87, 0.30) !important;
}

.promotion-setup .promotion-main-table img {
    vertical-align: middle !important;
    margin-right: 5px !important;
}

/* Discount detail panel: Value / Buy X Get Y / Free Item */
.promotion-setup .promotion-detail-panel {
    height: auto !important;
    width: calc(100% - 30px) !important;
    max-width: 980px !important;
    margin: 16px auto 0 auto !important;
    padding: 0 14px 14px 14px !important;
    box-sizing: border-box !important;
    border: 1px solid var(--eb-shell-grey-dark, #d8d8d8) !important;
    background: #ffffff !important;
}

.promotion-setup .promotion-section-title {
    width: calc(100% + 28px) !important;
    margin: 0 -14px 12px -14px !important;
    border-collapse: collapse !important;
}

.promotion-setup .promotion-section-title td {
    width: auto !important;
    padding: 9px 12px !important;
    text-align: left !important;
    background: var(--eb-shell-grey, #eff0f2) !important;
    color: var(--eb-brand-black, #171717) !important;
    border: 0 !important;
    border-bottom: 4px solid var(--eb-brand-yellow, #feee57) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

.promotion-setup .promotion-detail-table {
    margin: 0 auto !important;
    border-collapse: separate !important;
    border-spacing: 12px 8px !important;
}

.promotion-setup .promotion-detail-table td {
    padding: 3px 5px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--eb-brand-black, #171717) !important;
    vertical-align: middle !important;
}

.promotion-setup .promotion-detail-table input[type="text"],
.promotion-setup .promotion-detail-table select {
    height: 34px !important;
    box-sizing: border-box !important;
    padding: 5px 8px !important;
    border: 1px solid #b8b8b8 !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    color: var(--eb-brand-black, #171717) !important;
    font-size: 15px !important;
}

.promotion-setup .promotion-detail-table input[readonly] {
    background: var(--eb-shell-grey, #eff0f2) !important;
    color: #555555 !important;
}

/* Keep the existing action buttons on the right. */
.promotion-setup > div > table[align="right"] {
    margin-top: 14px !important;
    margin-right: 0 !important;
}
/* Promotion List uses the generic RetailMIS table styling above. */

/* =========================================================
   Promotion Code Setup
   ========================================================= */

#promotion-code-setup {
	width: 100% !important;
	box-sizing: border-box !important;
}

/* -------------------------
   Add / Edit form
   ------------------------- */

.promotion-code-form-table {
	margin: 20px auto !important;
	border-collapse: separate !important;
	border-spacing: 0 10px !important;
}

.promotion-code-form-table td {
	padding: 5px 10px !important;
	border: 0 !important;
	background: transparent !important;
	vertical-align: middle !important;
}

.promotion-code-form-table td:first-child {
	font-weight: 600 !important;
	color: #171717 !important;
	white-space: nowrap !important;
}

.promotion-code-form-table input[type="text"] {
	min-width: 260px !important;
	height: 38px !important;
	padding: 6px 10px !important;
	border: 1px solid #c7c7c7 !important;
	background: #ffffff !important;
	color: #171717 !important;
	box-sizing: border-box !important;
}

.promotion-code-form-table input[type="text"]:focus {
	border-color: #FEEE57 !important;
	outline: 2px solid #FEEE57 !important;
	outline-offset: 0 !important;
}

.promotion-code-form-table input[readonly] {
	background: #EFF0F2 !important;
}

/* Sidebar timing is managed by the unified smooth animation block at the end. */

/* Item selector */
#explorer-dialog {
	display: none;
	position: fixed;
	right: 16px;
	bottom: 16px;
	width: 90vw;
	max-width: 90vw;
	height: 90vh;
	max-height: 90vh;
	background: #ffffff;
	border: 1px solid #D8D8D8;
	border-radius: 8px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
	box-sizing: border-box;
	flex-direction: column;
	overflow: hidden;
	z-index: 10000;
	color: #171717;
}

#explorer-dialog.open {
	display: flex;
}

#explorer-dialog .dialog-titlebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 46px;
	padding: 8px 14px;
	background: #171717;
	color: #ffffff;
	border-bottom: 4px solid #FEEE57;
	box-sizing: border-box;
	flex-shrink: 0;
}

#explorer-dialog .dialog-title {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: #ffffff;
}

#explorer-dialog #close-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	min-width: 30px;
	height: 30px;
	min-height: 30px;
	margin: 0;
	padding: 0;
	background: transparent;
	color: #ffffff;
	border: 1px solid #ffffff;
	border-radius: 5px;
	box-shadow: none;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}

#explorer-dialog #close-btn:hover {
	background: #FEEE57;
	color: #171717;
	border-color: #FEEE57;
}

#explorer-dialog .dialog-body {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	background: #ffffff;
}

#explorer-dialog .dir-column {
	display: flex;
	flex-direction: column;
	width: 230px;
	min-width: 190px;
	max-width: 260px;
	padding: 10px 8px;
	background: #EFF0F2;
	border-right: 1px solid #D8D8D8;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	scroll-behavior: smooth;
}

#explorer-dialog .dir-column::-webkit-scrollbar,
#explorer-dialog .file-column::-webkit-scrollbar {
	width: 7px;
}

#explorer-dialog .dir-column::-webkit-scrollbar-thumb,
#explorer-dialog .file-column::-webkit-scrollbar-thumb {
	background: #bcbcbc;
	border-radius: 4px;
}

#explorer-dialog .dir-entry {
	margin: 3px 0;
}

#explorer-dialog .dir-entry fieldset {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 7px 9px;
	background: #ffffff;
	color: #171717;
	border: 1px solid #D8D8D8;
	border-radius: 5px;
	box-sizing: border-box;
	cursor: pointer;
	word-break: break-word;
	overflow-wrap: anywhere;
	transition: background 0.12s ease, border-color 0.12s ease;
}

#explorer-dialog .dir-entry fieldset:hover {
	background: #fffbea;
	border-color: #FEEE57;
}

#explorer-dialog .dir-entry.selected fieldset {
	background: #FEEE57;
	color: #171717;
	border-color: #FEEE57;
	font-weight: 700;
}

#explorer-dialog .dir-entry fieldset legend {
	display: none;
}

#explorer-dialog .dir-entry-inner {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	width: 100%;
}

#explorer-dialog .dir-icon {
	flex-shrink: 0;
	margin-top: 1px;
	font-size: 16px;
	line-height: 1.2;
}

#explorer-dialog .dir-name {
	font-size: 13px;
	line-height: 1.35;
	color: inherit;
	word-break: break-word;
	overflow-wrap: anywhere;
	white-space: normal;
}

#explorer-dialog .dir-entry[data-depth="0"] {
	padding-left: 0;
}

#explorer-dialog .dir-entry[data-depth="1"] {
	padding-left: 10px;
}

#explorer-dialog .dir-entry[data-depth="2"] {
	padding-left: 20px;
}

#explorer-dialog .dir-entry[data-depth="3"] {
	padding-left: 30px;
}

#explorer-dialog .dir-separator {
	height: 1px;
	margin: 5px 4px;
	background: #D8D8D8;
	flex-shrink: 0;
}

#explorer-dialog .file-column {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px;
	background: #ffffff;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
}

#explorer-dialog .file-column-header {
	margin: 0 0 12px 0;
	padding: 0 0 8px 0;
	color: #171717;
	border-bottom: 1px solid #D8D8D8;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

#explorer-dialog .files-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
	align-content: start;
}

#explorer-dialog .file-entry {
	min-width: 0;
	cursor: pointer;
}

#explorer-dialog .file-entry fieldset {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 100%;
	min-width: 0;
	min-height: 110px;
	margin: 0;
	padding: 10px;
	background: #ffffff;
	color: #171717;
	border: 1px solid #D8D8D8;
	border-radius: 6px;
	box-sizing: border-box;
	text-align: center;
	cursor: pointer;
	transition: background 0.12s ease, border-color 0.12s ease, transform 0.1s ease;
}

#explorer-dialog .file-entry fieldset:hover {
	background: #fffbea;
	border-color: #FEEE57;
	transform: translateY(-1px);
}

#explorer-dialog .file-icon {
	font-size: 28px;
	line-height: 1;
}

#explorer-dialog .file-icon img {
	display: block;
	border-radius: 4px;
}

#explorer-dialog .file-name {
	max-width: 100%;
	color: #171717;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	word-break: break-word;
	overflow-wrap: anywhere;
	white-space: normal;
}

#explorer-dialog .file-price {
	margin-top: 3px;
	color: #171717;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

#explorer-dialog .out-of-stock {
	pointer-events: none;
}

#explorer-dialog .out-of-stock-badge {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 3px 0;
	background: rgba(23, 23, 23, 0.78);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0;
	text-align: center;
}

#explorer-dialog .cart-qty-badge {
	position: absolute;
	top: 4px;
	right: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	background: #FEEE57;
	color: #171717;
	border: 1px solid #171717;
	border-radius: 50%;
	box-sizing: border-box;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
	font-size: 12px;
	font-weight: 700;
}

#explorer-dialog .path-bar {
	flex-shrink: 0;
	padding: 8px 14px;
	background: #EFF0F2;
	color: #555555;
	border-top: 1px solid #D8D8D8;
	font-size: 12px;
	letter-spacing: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#explorer-dialog .path-bar span {
	color: #171717;
	font-weight: 700;
}

@media (max-width: 700px) {
	#explorer-dialog {
		right: 8px;
		bottom: 8px;
		width: calc(100vw - 16px);
		max-width: calc(100vw - 16px);
		height: calc(100vh - 16px);
		max-height: calc(100vh - 16px);
	}

	#explorer-dialog .dir-column {
		width: 180px;
		min-width: 150px;
	}

	#explorer-dialog .files-grid {
		grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	}
}

@media (max-width: 420px) {
	#explorer-dialog .dialog-body {
		flex-direction: column;
	}

	#explorer-dialog .dir-column {
		width: 100%;
		min-width: 0;
		max-width: none;
		max-height: 34%;
		border-right: 0;
		border-bottom: 1px solid #D8D8D8;
	}

	#explorer-dialog .file-column {
		overflow-x: auto;
	}
}

/* Meals popup */
#meal-explorer-dialog {
	display: none;
	position: fixed;
	right: 16px;
	bottom: 16px;
	width: 90vw;
	max-width: 90vw;
	height: 90vh;
	max-height: 90vh;
	background: #ffffff;
	border: 1px solid #D8D8D8;
	border-radius: 8px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
	box-sizing: border-box;
	flex-direction: column;
	overflow: hidden;
	z-index: 10000;
	color: #171717;
}

#meal-explorer-dialog.open {
	display: flex;
}

#meal-explorer-dialog .dialog-titlebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 46px;
	padding: 8px 14px;
	background: #171717;
	color: #ffffff;
	border-bottom: 4px solid #FEEE57;
	box-sizing: border-box;
	flex-shrink: 0;
}

#meal-explorer-dialog .dialog-title {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: #ffffff;
}

#meal-explorer-dialog #meal-close-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 64px;
	height: 32px;
	min-height: 32px;
	margin: 0;
	padding: 0 12px;
	background: transparent;
	color: #ffffff;
	border: 1px solid #ffffff;
	border-radius: 5px;
	box-shadow: none;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	flex-shrink: 0;
	box-sizing: border-box;
}

#meal-explorer-dialog #meal-close-btn:hover {
	background: #FEEE57;
	color: #171717;
	border-color: #FEEE57;
}

#meal-explorer-dialog .dialog-body {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	background: #ffffff;
}

#meal-explorer-dialog .dir-column {
	display: flex;
	flex-direction: column;
	width: 230px;
	min-width: 190px;
	max-width: 260px;
	padding: 10px 8px;
	background: #EFF0F2;
	border-right: 1px solid #D8D8D8;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	scroll-behavior: smooth;
}

#meal-explorer-dialog .dir-column::-webkit-scrollbar,
#meal-explorer-dialog .file-column::-webkit-scrollbar {
	width: 7px;
}

#meal-explorer-dialog .dir-column::-webkit-scrollbar-thumb,
#meal-explorer-dialog .file-column::-webkit-scrollbar-thumb {
	background: #bcbcbc;
	border-radius: 4px;
}

#meal-explorer-dialog .dir-entry {
	margin: 3px 0;
}

#meal-explorer-dialog .dir-entry fieldset {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 7px 9px;
	background: #ffffff;
	color: #171717;
	border: 1px solid #D8D8D8;
	border-radius: 5px;
	box-sizing: border-box;
	cursor: pointer;
	word-break: break-word;
	overflow-wrap: anywhere;
	transition: background 0.12s ease, border-color 0.12s ease;
}

#meal-explorer-dialog .dir-entry fieldset:hover {
	background: #fffbea;
	border-color: #FEEE57;
}

#meal-explorer-dialog .dir-entry.selected fieldset {
	background: #FEEE57;
	color: #171717;
	border-color: #FEEE57;
	font-weight: 700;
}

#meal-explorer-dialog .dir-entry fieldset legend {
	display: none;
}

#meal-explorer-dialog .dir-entry-inner {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	width: 100%;
}

#meal-explorer-dialog .dir-icon {
	flex-shrink: 0;
	margin-top: 1px;
	font-size: 16px;
	line-height: 1.2;
}

#meal-explorer-dialog .dir-name {
	font-size: 13px;
	line-height: 1.35;
	color: inherit;
	word-break: break-word;
	overflow-wrap: anywhere;
	white-space: normal;
}

#meal-explorer-dialog .dir-entry[data-depth="0"] {
	padding-left: 0;
}

#meal-explorer-dialog .dir-entry[data-depth="1"] {
	padding-left: 10px;
}

#meal-explorer-dialog .dir-entry[data-depth="2"] {
	padding-left: 20px;
}

#meal-explorer-dialog .dir-entry[data-depth="3"] {
	padding-left: 30px;
}

#meal-explorer-dialog .dir-separator {
	height: 1px;
	margin: 5px 4px;
	background: #D8D8D8;
	flex-shrink: 0;
}

#meal-explorer-dialog .file-column {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px;
	background: #ffffff;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
}

#meal-explorer-dialog .file-column-header {
	margin: 0 0 12px 0;
	padding: 0 0 8px 0;
	color: #171717;
	border-bottom: 1px solid #D8D8D8;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

#meal-explorer-dialog .files-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
	align-content: start;
}

#meal-explorer-dialog .file-entry {
	min-width: 0;
	cursor: pointer;
}

#meal-explorer-dialog .file-entry fieldset {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 100%;
	min-width: 0;
	min-height: 110px;
	margin: 0;
	padding: 10px;
	background: #ffffff;
	color: #171717;
	border: 1px solid #D8D8D8;
	border-radius: 6px;
	box-sizing: border-box;
	text-align: center;
	cursor: pointer;
	transition: background 0.12s ease, border-color 0.12s ease, transform 0.1s ease;
}

#meal-explorer-dialog .file-entry fieldset:hover {
	background: #fffbea;
	border-color: #FEEE57;
	transform: translateY(-1px);
}

#meal-explorer-dialog .file-icon {
	font-size: 28px;
	line-height: 1;
}

#meal-explorer-dialog .file-icon img {
	display: block;
	border-radius: 4px;
}

#meal-explorer-dialog .file-name {
	max-width: 100%;
	color: #171717;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	word-break: break-word;
	overflow-wrap: anywhere;
	white-space: normal;
}

#meal-explorer-dialog .file-price {
	margin-top: 3px;
	color: #171717;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

#meal-explorer-dialog .out-of-stock {
	pointer-events: none;
}

#meal-explorer-dialog .out-of-stock-badge {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 3px 0;
	background: rgba(23, 23, 23, 0.78);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0;
	text-align: center;
}

#meal-explorer-dialog .cart-qty-badge {
	position: absolute;
	top: 4px;
	right: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	background: #FEEE57;
	color: #171717;
	border: 1px solid #171717;
	border-radius: 50%;
	box-sizing: border-box;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
	font-size: 12px;
	font-weight: 700;
}

#meal-explorer-dialog .path-bar {
	flex-shrink: 0;
	padding: 8px 14px;
	background: #EFF0F2;
	color: #555555;
	border-top: 1px solid #D8D8D8;
	font-size: 12px;
	letter-spacing: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#meal-explorer-dialog .path-bar span {
	color: #171717;
	font-weight: 700;
}

@media (max-width: 700px) {
	#meal-explorer-dialog {
		right: 8px;
		bottom: 8px;
		width: calc(100vw - 16px);
		max-width: calc(100vw - 16px);
		height: calc(100vh - 16px);
		max-height: calc(100vh - 16px);
	}

	#meal-explorer-dialog .dir-column {
		width: 180px;
		min-width: 150px;
	}

	#meal-explorer-dialog .files-grid {
		grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	}
}

@media (max-width: 420px) {
	#meal-explorer-dialog .dialog-body {
		flex-direction: column;
	}

	#meal-explorer-dialog .dir-column {
		width: 100%;
		min-width: 0;
		max-width: none;
		max-height: 34%;
		border-right: 0;
		border-bottom: 1px solid #D8D8D8;
	}

	#meal-explorer-dialog .file-column {
		overflow-x: auto;
	}
}

/* Meals popup layout */
#meal-explorer-dialog #meal-guest-column {
	flex: 1 1 auto;
}

#meal-explorer-dialog #meal-detail-column {
	display: none;
	flex: 0 0 360px;
	width: 360px;
	min-width: 320px;
	max-width: 420px;
	border-left: 1px solid #D8D8D8;
}

#meal-explorer-dialog #meal-detail-column.open {
	display: block;
}

#meal-explorer-dialog #meal-detail-body {
	padding: 12px;
}

#meal-explorer-dialog .meal-detail-actions {
	padding: 12px;
	text-align: right;
}

#meal-explorer-dialog .meal-message {
	padding: 20px 0;
	color: #AAAAAA;
	font-size: 13px;
}

#meal-explorer-dialog .meal-message-loading {
	color: #777777;
}

#meal-explorer-dialog .meal-message-error {
	color: #B00020;
}

#meal-explorer-dialog #meal-guests-grid {
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

#meal-explorer-dialog .meal-guest-entry fieldset {
	align-items: stretch;
	justify-content: flex-start;
	min-height: 150px;
	padding: 14px;
	text-align: left;
}

#meal-explorer-dialog .meal-guest-entry.selected fieldset {
	background: #FFF8BF;
	border-color: #FEEE57;
	box-shadow: 0 0 0 1px #FEEE57;
}

#meal-explorer-dialog .meal-guest-name {
	font-size: 14px;
	font-weight: 700;
}

#meal-explorer-dialog .meal-room-name {
	margin-top: 4px;
	color: #555555;
	font-size: 12px;
}

#meal-explorer-dialog .meal-available {
	margin-top: 12px;
	padding: 6px 8px;
	background: #FFFBEA;
	border: 1px solid #FEEE57;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

#meal-explorer-dialog .meal-usage {
	margin-top: 6px;
	color: #777777;
	font-size: 11px;
	text-align: center;
}

#meal-explorer-dialog .meal-guest-card {
	margin-bottom: 16px;
	padding: 14px;
	background: #F7F7F7;
	border: 1px solid #DDDDDD;
	border-radius: 6px;
}

#meal-explorer-dialog .meal-detail-guest {
	margin-bottom: 4px;
	color: #171717;
	font-size: 18px;
	font-weight: 700;
}

#meal-explorer-dialog .meal-detail-room {
	color: #666666;
	font-size: 13px;
}

#meal-explorer-dialog .meal-section-title {
	margin-bottom: 8px;
	color: #171717;
	font-size: 13px;
	font-weight: 700;
}

#meal-explorer-dialog .meal-stats {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
}

#meal-explorer-dialog .meal-stat {
	flex: 1;
	padding: 9px 6px;
	background: #FFFFFF;
	border: 1px solid #DDDDDD;
	border-radius: 5px;
	text-align: center;
}

#meal-explorer-dialog .meal-stat-value {
	color: #171717;
	font-size: 18px;
	font-weight: 700;
}

#meal-explorer-dialog .meal-stat-label {
	margin-top: 2px;
	color: #777777;
	font-size: 10px;
}

/* Meal menu selection
   The menu name is informational. The rows below it are the actual choices. */
#meal-explorer-dialog .meal-menu-name {
	display: block;
	margin: 6px 0 4px;
	padding: 8px 10px;
	background: #F7F7F7;
	color: #555555;
	border: 1px solid #DDDDDD;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
}

#meal-explorer-dialog .meal-menu-instruction {
	margin: 6px 0 10px;
	color: #666666;
	font-size: 12px;
	line-height: 1.4;
}

#meal-explorer-dialog .meal-menu-items {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	margin-top: 4px;
}

#meal-explorer-dialog .meal-menu-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	background: #FFFFFF;
	color: #222222;
	border: 1px solid #D8D8D8;
	border-radius: 7px;
	box-sizing: border-box;
	text-align: left;
	cursor: pointer;
	user-select: none;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

#meal-explorer-dialog .meal-menu-item:hover {
	background: #FFFBEA;
	border-color: #F0D928;
}

#meal-explorer-dialog .meal-menu-item:focus-visible {
	background: #FFFBEA;
	border-color: #D9BD00;
	outline: 2px solid #FEEE57;
	outline-offset: 2px;
}

#meal-explorer-dialog .meal-menu-item.selected {
	background: #FFF8BF;
	border-color: #D9BD00;
	box-shadow: inset 4px 0 0 #D9BD00;
}

#meal-explorer-dialog .meal-menu-radio {
	position: relative;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background: #FFFFFF;
	border: 2px solid #999999;
	border-radius: 50%;
	box-sizing: border-box;
}

#meal-explorer-dialog .meal-menu-item.selected .meal-menu-radio {
	border-color: #8D7900;
}

#meal-explorer-dialog .meal-menu-item.selected .meal-menu-radio::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 8px;
	height: 8px;
	background: #8D7900;
	border-radius: 50%;
}

#meal-explorer-dialog .meal-menu-item-name {
	flex: 1 1 auto;
	min-width: 0;
	color: #222222;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	word-break: break-word;
	overflow-wrap: anywhere;
}

#meal-explorer-dialog .meal-menu-selected-label {
	flex-shrink: 0;
	margin-left: auto;
	color: #6F6000;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
	opacity: 0;
}

#meal-explorer-dialog .meal-menu-item.selected .meal-menu-selected-label {
	opacity: 1;
}

@media (max-width: 900px) {
	#meal-explorer-dialog #meal-detail-column {
		flex-basis: 300px;
		width: 300px;
		min-width: 280px;
	}
}

/* RetailMIS payment details panel
   Keep the payment table aligned with the generic RetailMIS theme. */

body #overall_sale {
	color: #222222 !important;
	background: #ffffff !important;
	border: 1px solid var(--eb-table-border) !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	overflow: hidden !important;
}

body #overall_sale hr {
	border: 0 !important;
	border-top: 1px solid var(--eb-table-border) !important;
}

body #payment_details table#register {
	width: 100% !important;
	margin: 0 !important;
	color: #222222 !important;
	background: #ffffff !important;
	border: 1px solid var(--eb-table-border) !important;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	box-shadow: none !important;
}

body #payment_details #register thead,
body #payment_details #register thead tr,
body #payment_details #register thead th,
body #payment_details #register tr:first-child th {
	color: #ffffff !important;
	background: var(--eb-table-heading) !important;
	background-color: var(--eb-table-heading) !important;
	background-image: none !important;
	border: 1px solid var(--eb-table-border) !important;
	box-shadow: none !important;
	filter: none !important;
	text-shadow: none !important;
}

body #payment_details #register thead th,
body #payment_details #register tr:first-child th {
	height: 34px !important;
	padding: 6px 8px !important;
	color: #ffffff !important;
	font-family: Verdana, Geneva !important;
	font-size: 14px !important;
	line-height: 22px !important;
	font-weight: 700 !important;
	text-align: left !important;
	vertical-align: middle !important;
	white-space: nowrap !important;
}

body #payment_details #register tbody td {
	padding: 7px 8px !important;
	color: #222222 !important;
	background: #ffffff !important;
	border: 1px solid var(--eb-table-border) !important;
	font-family: Verdana, Geneva !important;
	font-size: 14px !important;
	line-height: 22px !important;
	vertical-align: middle !important;
}

body #payment_details #register tbody tr:nth-child(even) td {
	background: var(--eb-table-row-alt) !important;
}

body #payment_details #register tbody tr:hover td {
	background: var(--eb-table-row-hover) !important;
}

body #payment_details #register a {
	color: #171717 !important;
	text-decoration: underline !important;
}

body #payment_details #register a:hover {
	color: #000000 !important;
}

body #overall_sale select,
body #overall_sale input[type="text"],
body #overall_sale input[type="number"] {
	box-sizing: border-box !important;
	min-height: 32px !important;
	padding: 4px 7px !important;
	color: var(--eb-field-text) !important;
	background: #ffffff !important;
	border: 1px solid var(--eb-field-border) !important;
	border-radius: 4px !important;
	box-shadow: none !important;
}

body #overall_sale select:focus,
body #overall_sale input[type="text"]:focus,
body #overall_sale input[type="number"]:focus {
	outline: none !important;
	border-color: var(--eb-brand-yellow) !important;
	box-shadow: 0 0 0 2px rgba(254, 238, 87, 0.30) !important;
}

/* e-Bridge Links Management - use remaining screen height */

#TabbedPanels1 #ebridge_links_wrapper {
	height: calc(100vh - 350px) !important;
	min-height: 290px !important;
	max-height: none !important;
	overflow: auto !important;
	box-sizing: border-box !important;
}

/* Dining Room Admin - fill remaining RetailMIS screen height */

body .mainColor:has(iframe[src*="restaurant/diningroom_admin.php"]) {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: hidden !important;
}

body iframe[src*="restaurant/diningroom_admin.php"] {
	display: block !important;
	width: 100% !important;
	height: calc(100vh - 205px) !important;
	min-height: calc(100vh - 205px) !important;
	max-height: none !important;
	border: 0 !important;
}


/* =========================================================
   Retail sidebar logo switch
   Collapsed: compact mark
   Expanded/hover: full e-Bridge logo
   ========================================================= */

body .headersm .logosm .retail-logo-small,
body.collapse-menu .headersm .logosm .retail-logo-small {
	display: block !important;
}

body .headersm .logosm .retail-logo-full,
body.collapse-menu .headersm .logosm .retail-logo-full {
	display: none !important;
}

/* Sidebar expanded by menu hover */
body:has(.listing-table > tbody > tr > td.border-right:hover)
	.headersm .logosm .retail-logo-small,
/* Sidebar expanded by hovering the logo area itself */
body .headersm .logosm:hover .retail-logo-small,
body:has(.headersm .logosm:hover)
	.headersm .logosm .retail-logo-small {
	display: none !important;
}

body:has(.listing-table > tbody > tr > td.border-right:hover)
	.headersm .logosm .retail-logo-full,
body .headersm .logosm:hover .retail-logo-full,
body:has(.headersm .logosm:hover)
	.headersm .logosm .retail-logo-full {
	display: block !important;
	max-width: 250px !important;
	max-height: 58px !important;
}

/* =========================================================
   RetailMIS sidebar - smooth expand/collapse
   ---------------------------------------------------------
   Keep the original 0.75-second hover delay; after that,
   the panel and labels animate together. Collapse is immediate.
   ========================================================= */
:root {
    --eb-sidebar-hover-delay: 0.75s;
    --eb-sidebar-motion: 240ms;
    --eb-sidebar-easing: cubic-bezier(.22, 1, .36, 1);
}

/* Animate the actual panel and the shell that moves with it. */
body .listing-table > tbody > tr > td.border-right,
body.collapse-menu .listing-table > tbody > tr > td.border-right {
    transition: width var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                min-width var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                max-width var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                box-shadow var(--eb-sidebar-motion) ease !important;
}

body .headersm,
body.collapse-menu .headersm,
body .navigation,
body.collapse-menu .navigation,
body .wrapper .navigation,
body.collapse-menu .wrapper .navigation,
body .listing-table,
body.collapse-menu .listing-table {
    transition: left var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                width var(--eb-sidebar-motion) var(--eb-sidebar-easing) !important;
}

body .headersm .logosm,
body.collapse-menu .headersm .logosm {
    transition: width var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                min-width var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                max-width var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                box-shadow var(--eb-sidebar-motion) ease !important;
}

body .headersm .page_heading_sm,
body.collapse-menu .headersm .page_heading_sm {
    transition: left var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                max-width var(--eb-sidebar-motion) var(--eb-sidebar-easing) !important;
}

/* Keep icon rows the same height and icon position while opening. */
body .border-right > table > tbody > tr > td:not(.modules-heading) > a,
body.collapse-menu .border-right > table > tbody > tr > td:not(.modules-heading) > a,
body .border-right:hover > table > tbody > tr > td:not(.modules-heading) > a,
body.collapse-menu .border-right:hover > table > tbody > tr > td:not(.modules-heading) > a,
body:has(.headersm .logosm:hover) .border-right > table > tbody > tr > td:not(.modules-heading) > a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    min-height: 55px !important;
    padding: 5px 10px 5px 24px !important;
    overflow: hidden !important;
}

body .border-right > table > tbody > tr > td:not(.modules-heading) > a img,
body.collapse-menu .border-right > table > tbody > tr > td:not(.modules-heading) > a img,
body .border-right:hover > table > tbody > tr > td:not(.modules-heading) > a img,
body:has(.headersm .logosm:hover) .border-right > table > tbody > tr > td:not(.modules-heading) > a img {
    margin: 0 !important;
    flex: 0 0 auto !important;
    max-width: 44px !important;
    max-height: 44px !important;
}

/* Text has a real transition instead of appearing after a timeout. */
body .border-right > table > tbody > tr > td:not(.modules-heading) > a::after,
body.collapse-menu .border-right > table > tbody > tr > td:not(.modules-heading) > a::after {
    content: attr(title) !important;
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    max-width: 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: 15px !important;
    line-height: 22px !important;
    color: var(--eb-text) !important;
    transition: opacity 140ms ease,
                max-width var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                visibility 0s linear 140ms !important;
}

body .border-right:hover > table > tbody > tr > td:not(.modules-heading) > a::after,
body.collapse-menu .border-right:hover > table > tbody > tr > td:not(.modules-heading) > a::after,
body:has(.headersm .logosm:hover) .border-right > table > tbody > tr > td:not(.modules-heading) > a::after {
    opacity: 1 !important;
    visibility: visible !important;
    max-width: 190px !important;
    transition: opacity 150ms ease 45ms,
                max-width var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                visibility 0s linear !important;
}

/* Direct text-only links are hidden without reserving extra rows. */
body .border-right > table > tbody > tr > td:not(.modules-heading) > a:not(:has(img)),
body.collapse-menu .border-right > table > tbody > tr > td:not(.modules-heading) > a:not(:has(img)) {
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    overflow: hidden !important;
}
body .border-right:hover > table > tbody > tr > td:not(.modules-heading) > a:not(:has(img)),
body.collapse-menu .border-right:hover > table > tbody > tr > td:not(.modules-heading) > a:not(:has(img)),
body:has(.headersm .logosm:hover) .border-right > table > tbody > tr > td:not(.modules-heading) > a:not(:has(img)) {
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 27px !important;
    max-height: none !important;
    padding: 2px 16px 2px 24px !important;
    font-size: 15px !important;
}

/* Reports/Admin headings and child lists follow the same hover. */
body .border-right .modules-heading:not([style*="font-size: 0"]),
body.collapse-menu .border-right .modules-heading:not([style*="font-size: 0"]) {
    min-height: 52px !important;
    height: 52px !important;
    justify-content: flex-start !important;
    padding: 0 0 0 24px !important;
    overflow: hidden !important;
}

body .border-right:hover .modules-heading:not([style*="font-size: 0"]),
body.collapse-menu .border-right:hover .modules-heading:not([style*="font-size: 0"]),
body:has(.headersm .logosm:hover) .border-right .modules-heading:not([style*="font-size: 0"]) {
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 0 0 24px !important;
    overflow: hidden !important;
}

body .border-right .modules-heading strong,
body.collapse-menu .border-right .modules-heading strong,
body .border-right:not(:hover) .modules-heading strong,
body.collapse-menu .border-right:not(:hover) .modules-heading strong {
    display: inline-block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    max-width: 0 !important;
    width: auto !important;
    overflow: hidden !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    transition: opacity 140ms ease,
                max-width var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                visibility 0s linear 140ms !important;
}

body .border-right:hover .modules-heading strong,
body.collapse-menu .border-right:hover .modules-heading strong,
body:has(.headersm .logosm:hover) .border-right .modules-heading strong {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 190px !important;
    transition: opacity 150ms ease 45ms,
                max-width var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                visibility 0s linear !important;
}

/* Keep Reports/Admin icons consistent in both states. */
body .border-right .modules-heading img,
body.collapse-menu .border-right .modules-heading img,
body .border-right .modules-heading .module-heading-icon,
body.collapse-menu .border-right .modules-heading .module-heading-icon {
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    margin: 0 10px 0 0 !important;
    flex: 0 0 38px !important;
    object-fit: contain !important;
}

body .border-right .modules-heading:not([style*="font-size: 0"])::before,
body.collapse-menu .border-right .modules-heading:not([style*="font-size: 0"])::before {
    flex: 0 0 38px !important;
    margin-right: 10px !important;
}
body .border-right:hover .modules-heading:not([style*="font-size: 0"])::before,
body.collapse-menu .border-right:hover .modules-heading:not([style*="font-size: 0"])::before,
body:has(.headersm .logosm:hover) .border-right .modules-heading:not([style*="font-size: 0"])::before {
    /* Existing heading images remain; the fallback glyph fades out. */
    content: "" !important;
    flex-basis: 0 !important;
    width: 0 !important;
    margin: 0 !important;
}

body .border-right:not(:hover) .listing,
body .border-right:not(:hover) .listicon,
body.collapse-menu .border-right:not(:hover) .listing,
body.collapse-menu .border-right:not(:hover) .listicon,
body .border-right .listing,
body .border-right .listicon {
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    transition: opacity 140ms ease,
                max-height var(--eb-sidebar-motion) ease,
                visibility 0s linear 140ms !important;
}
body .border-right:hover .listing,
body .border-right:hover .listicon,
body.collapse-menu .border-right:hover .listing,
body.collapse-menu .border-right:hover .listicon,
body:has(.headersm .logosm:hover) .border-right .listing,
body:has(.headersm .logosm:hover) .border-right .listicon {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 1600px !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: auto !important;
    transition: opacity 150ms ease 45ms,
                max-height var(--eb-sidebar-motion) ease,
                visibility 0s linear !important;
}

body .border-right .search-form {
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: opacity 140ms ease, max-height var(--eb-sidebar-motion) ease !important;
}
body .border-right:hover .search-form,
body:has(.headersm .logosm:hover) .border-right .search-form {
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 120px !important;
    transition: opacity 150ms ease 45ms, max-height var(--eb-sidebar-motion) ease !important;
}

/* Keep logo art present so opacity can crossfade smoothly. */
body .headersm .logosm .retail-logo-small,
body.collapse-menu .headersm .logosm .retail-logo-small,
body .headersm .logosm .retail-logo-full,
body.collapse-menu .headersm .logosm .retail-logo-full {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: opacity 160ms ease !important;
}
body .headersm .logosm .retail-logo-small,
body.collapse-menu .headersm .logosm .retail-logo-small {
    opacity: 1 !important;
    max-width: 88px !important;
}
body .headersm .logosm .retail-logo-full,
body.collapse-menu .headersm .logosm .retail-logo-full {
    opacity: 0 !important;
    pointer-events: none !important;
    max-width: 250px !important;
}
body:has(.listing-table > tbody > tr > td.border-right:hover) .headersm .logosm .retail-logo-small,
body .headersm .logosm:hover .retail-logo-small,
body:has(.headersm .logosm:hover) .headersm .logosm .retail-logo-small {
    display: block !important;
    opacity: 0 !important;
}
body:has(.listing-table > tbody > tr > td.border-right:hover) .headersm .logosm .retail-logo-full,
body .headersm .logosm:hover .retail-logo-full,
body:has(.headersm .logosm:hover) .headersm .logosm .retail-logo-full {
    display: block !important;
    opacity: 1 !important;
}

/* Keep the 0.75s hover delay without restoring the old text lag.
   Only opening waits; closing continues immediately. */
body .listing-table > tbody > tr > td.border-right:hover,
body.collapse-menu .listing-table > tbody > tr > td.border-right:hover,
body:has(.headersm .logosm:hover) .listing-table > tbody > tr > td.border-right {
    transition-delay: var(--eb-sidebar-hover-delay) !important;
}

/* Delay the connected header, navigation and page shift together. */
body:is(
    :has(.listing-table > tbody > tr > td.border-right:hover),
    :has(.headersm .logosm:hover)
) :is(.headersm, .navigation, .listing-table, .headersm .logosm, .headersm .page_heading_sm) {
    transition-delay: var(--eb-sidebar-hover-delay) !important;
}

/* Reveal labels, expanded groups and the logo with the panel. */
body:is(
    :has(.listing-table > tbody > tr > td.border-right:hover),
    :has(.headersm .logosm:hover)
) .border-right :is(.modules-heading strong, .listing, .listicon, .search-form),
body:is(
    :has(.listing-table > tbody > tr > td.border-right:hover),
    :has(.headersm .logosm:hover)
) .border-right > table > tbody > tr > td:not(.modules-heading) > a::after,
body:is(
    :has(.listing-table > tbody > tr > td.border-right:hover),
    :has(.headersm .logosm:hover)
) .headersm .logosm :is(.retail-logo-small, .retail-logo-full) {
    transition-delay: var(--eb-sidebar-hover-delay) !important;
}

/* Accessibility: respect users who request reduced motion. */
@media (prefers-reduced-motion: reduce) {
    body .listing-table > tbody > tr > td.border-right,
    body .headersm,
    body .headersm .logosm,
    body .headersm .page_heading_sm,
    body .navigation,
    body .listing-table,
    body .border-right *,
    body .border-right *::after,
    body .headersm .logosm img {
        transition: none !important;
    }
}

/* Restore original sidebar loading strip.
   It fills during the retained 0.75s hover wait; the smooth
   sidebar expansion begins immediately afterward. */
body .listing-table > tbody > tr > td.border-right::after,
body.collapse-menu .listing-table > tbody > tr > td.border-right::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 4px !important;
    height: 100% !important;
    background: #FEEE57 !important;
    transform: scaleY(0) !important;
    transform-origin: top center !important;
    pointer-events: none !important;
    z-index: 999 !important;
    transition: transform 0s linear !important;
}

body .listing-table > tbody > tr > td.border-right:hover::after,
body.collapse-menu .listing-table > tbody > tr > td.border-right:hover::after,
body:has(.headersm .logosm:hover) .listing-table > tbody > tr > td.border-right::after {
    transform: scaleY(1) !important;
    transition: transform var(--eb-sidebar-hover-delay) linear !important;
}

/* =========================================================
   Reports sidebar accordion - only Reports navigation
   Works with the report-toggle/report-children classes
   generated by form_helper.php.
   ========================================================= */
/* Only affect the four groups inside the Reports sidebar. */
body .border-right.reports-nav tr.report-children {
    display: none !important;
}
body .border-right.reports-nav:hover tr.report-children.report-open,
body:has(.headersm .logosm:hover) .border-right.reports-nav tr.report-children.report-open {
    display: table-row !important;
}
body .border-right.reports-nav td.report-toggle {
    cursor: pointer !important;
    user-select: none;
}
body .border-right.reports-nav td.report-toggle:focus-visible {
    outline: 2px solid #4775be !important;
    outline-offset: -2px;
}
/* Report headings remain clickable, but have no chevron arrows. */
body .border-right.reports-nav td.report-toggle::after {
    content: none !important;
    display: none !important;
}
/* Active report: match Administration > Hotel Setup (yellow underline only). */
body .border-right.reports-nav .report-children .listing ul li a.report-active,
body.collapse-menu .border-right.reports-nav .report-children .listing ul li a.report-active,
body .border-right.reports-nav .report-children .listing ul li a.report-active:hover {
    color: var(--eb-brand-black, #171717) !important;
    background: transparent !important;
    font-weight: bold !important;
    text-decoration-line: underline !important;
    text-decoration-color: var(--eb-brand-yellow, #FEEE57) !important;
    text-decoration-thickness: 3px !important;
    text-underline-offset: 4px !important;
    text-decoration-skip-ink: none !important;
    border-radius: 0 !important;
}
/* No background highlight on report links, including hover. */
body .border-right.reports-nav:hover .report-children .listing ul li a:not(.report-active):hover,
body:has(.headersm .logosm:hover) .border-right.reports-nav .report-children .listing ul li a:not(.report-active):hover {
    color: var(--eb-brand-black, #171717) !important;
    background: transparent !important;
    text-decoration: none !important;
}

/* Reports: only reveal submenu rows after the full 0.75s hover wait.
   The yellow loading strip and the original width transition remain untouched. */
body .border-right.reports-nav:hover:not(.sidebar-ready) tr.report-children.report-open,
body:has(.headersm .logosm:hover) .border-right.reports-nav:not(.sidebar-ready) tr.report-children.report-open {
    display: none !important;
}

/* Sidebar heading icons: synchronize resize with 0.75s hover delay. */
body .listing-table > tbody > tr > td.border-right .modules-heading .module-heading-icon,
body.collapse-menu .listing-table > tbody > tr > td.border-right .modules-heading .module-heading-icon {
    display: block !important;
    visibility: visible !important;
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    flex: 0 0 38px !important;
    margin: 0 10px 0 0 !important;
    transition: width var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                height var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                max-width var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                max-height var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                flex-basis var(--eb-sidebar-motion) var(--eb-sidebar-easing),
                margin-right var(--eb-sidebar-motion) var(--eb-sidebar-easing) !important;
    transition-delay: 0s !important;
}
body .listing-table > tbody > tr > td.border-right:hover .modules-heading .module-heading-icon,
body.collapse-menu .listing-table > tbody > tr > td.border-right:hover .modules-heading .module-heading-icon,
body:has(.headersm .logosm:hover) .listing-table > tbody > tr > td.border-right .modules-heading .module-heading-icon {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    flex: 0 0 22px !important;
    margin: 0 8px 0 0 !important;
    transition-delay: var(--eb-sidebar-hover-delay) !important;
}

/* Administration sidebar: selected link matches Reports/Hotel Setup style. */
body .border-right.admin-nav .listing ul li a.admin-active,
body.collapse-menu .border-right.admin-nav .listing ul li a.admin-active,
body .border-right.admin-nav .listing ul li a.admin-active:hover {
    color: var(--eb-brand-black, #171717) !important;
    background: transparent !important;
    font-weight: bold !important;
    text-decoration-line: underline !important;
    text-decoration-color: var(--eb-brand-yellow, #FEEE57) !important;
    text-decoration-thickness: 3px !important;
    text-underline-offset: 4px !important;
    text-decoration-skip-ink: none !important;
    border-radius: 0 !important;
}


/* My Settings: selected Profile link matches Reports and Administration. */
body .border-right.mysettings-nav .listing ul li a.mysettings-active,
body.collapse-menu .border-right.mysettings-nav .listing ul li a.mysettings-active,
body .border-right.mysettings-nav .listing ul li a.mysettings-active:hover {
    color: var(--eb-brand-black, #171717) !important;
    background: transparent !important;
    font-weight: bold !important;
    text-decoration-line: underline !important;
    text-decoration-color: var(--eb-brand-yellow, #FEEE57) !important;
    text-decoration-thickness: 3px !important;
    text-underline-offset: 4px !important;
    text-decoration-skip-ink: none !important;
    border-radius: 0 !important;
}

/* Item Bundle Setup: balanced table columns (page-specific). */
body:has(#new_button a[href*="item_kits/view"]) #table_holder #sortable_table {
    width: 100% !important;
    table-layout: fixed !important;
}
body:has(#new_button a[href*="item_kits/view"]) #table_holder #sortable_table :is(th, td):first-child {
    width: 48px !important;
    text-align: center !important;
}
body:has(#new_button a[href*="item_kits/view"]) #table_holder #sortable_table :is(th, td):nth-child(2) {
    width: 40% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}
body:has(#new_button a[href*="item_kits/view"]) #table_holder #sortable_table :is(th, td):nth-child(3) {
    width: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}
body:has(#new_button a[href*="item_kits/view"]) #table_holder #sortable_table :is(th, td):last-child {
    width: 80px !important;
    text-align: center !important;
}

/* Item Kit popup: dimensions and alignment only. */
body #TB_window:has(#item_kit_form) {
    position: fixed !important;
    width: min(640px, calc(100vw - 32px)) !important;
    height: min(580px, calc(100dvh - 32px)) !important;
    top: 50% !important;
    left: 50% !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    box-sizing: border-box !important;
}
body #TB_window:has(#item_kit_form) #TB_ajaxContent {
    width: 100% !important;
    height: calc(100% - 46px) !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
#item_kit_form,
#item_kit_info,
#item_kit_items {
    width: 100% !important;
    box-sizing: border-box !important;
}
#item_kit_form .field_row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
#item_kit_form .field_row label {
    flex: 0 0 170px;
    width: 170px !important;
    float: none !important;
}
#item_kit_form .form_field {
    flex: 1;
    min-width: 0;
    margin: 0 !important;
    float: none !important;
}
#item_kit_form #name,
#item_kit_form #item,
#item_kit_form #description {
    width: 100% !important;
    box-sizing: border-box !important;
}
#item_kit_items {
    table-layout: fixed;
}
#item_kit_items th:first-child,
#item_kit_items td:first-child {
    width: 65px;
    text-align: center;
}
#item_kit_items th:last-child,
#item_kit_items td:last-child {
    width: 100px;
    text-align: center;
}
#item_kit_items input.quantity {
    width: 65px;
    max-width: 100%;
    box-sizing: border-box;
}
