:root {
	--primary: #2c5d86;
	--primary-dark: #234b6d;
	--primary-light: #3a6e9c;
	--text-light: #ffffff;
	--accent: #ff6b4a;
}

.ocean-blue {
    --calendar-primary: #2c5d86;
    --calendar-primary-dark: #234b6d;
}

.emerald-green {
    --calendar-primary: #10b981;
    --calendar-primary-dark: #059669;
}

.sunset-orange {
    --calendar-primary: #f59e0b;
    --calendar-primary-dark: #d97706;
}

.royal-purple {
    --calendar-primary: #8b5cf6;
    --calendar-primary-dark: #7c3aed;
}

.crimson-red {
    --calendar-primary: #ef4444;
    --calendar-primary-dark: #dc2626;
}

.teal-cyan {
    --calendar-primary: #14b8a6;
    --calendar-primary-dark: #0d9488;
}

.midnight-blue {
    --calendar-primary: #1e3a8a;
    --calendar-primary-dark: #1e293b;
}

.rose-pink {
    --calendar-primary: #ec4899;
    --calendar-primary-dark: #db2777;
}

.forest-green {
    --calendar-primary: #16a34a;
    --calendar-primary-dark: #15803d;
}

.amber-gold {
    --calendar-primary: #f59e0b;
    --calendar-primary-dark: #b45309;
}

.apptable{border:0!important}
tr,td{border:0;}
table{border:0!important}
.td_date{padding:3px;padding-bottom:0}
.osbtdheader{text-align: left;
    padding: 15px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    border-bottom: 1px solid #edf2f7;}
.sub_header{background-color:#E4E7EE;padding-left:10px;font-weight:600;height:30px;line-height:30px;vertical-align:middle}
a.applink:link,a.applink:visited{text-decoration:none}
a.applink:hover{text-decoration:none}
.header_calendar{text-align:center;font-weight:600;padding:3px 0!important}
.td_calendar_date{border:1px solid #B3BED3!important;background-color:#D6E1F5;color:#212121;cursor:pointer;font-weight:400;height:25px;text-align:center;width:25px}
a.callink:link{text-decoration:none;color:#FFF!important}
a.callink:hover{text-decoration:none;color:blue!important}
a.callink:visited{text-decoration:none;color:blue!important}
a.callink:active{text-decoration:none;color:blue!important}
.infor_left_col{text-align:left;padding:2px;font-weight:600;border-bottom:1px solid #efefef!important}
.infor_right_col{text-align:left;padding:2px;border-bottom:1px solid #efefef!important}
#orderdetailstable tr:nth-child(even) td{}
#orderdetailstable tr:nth-child(odd) td{}
.field_left_td{background-color:#efefef;font-weight:600;border-bottom:1px solid #CCC!important;border-top:1px solid #fff!important;text-align:right;padding:2px;padding-right:5px}
.field_right_td{text-align:right;padding:2px;padding-right:5px}
dl.tabs{float:left;margin:5px 0 0!important;z-index:50;clear:both}
dl.tabs dt{float:left;padding:4px 10px;border-left:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;margin-right:3px;background:#f0f0f0;color:#666}
dl.tabs dt.open{background:#F9F9F9;border-bottom:1px solid #F9F9F9;z-index:100;color:#000}
div.current{clear:both;}
div.current dd{padding:0;margin:0}
dl#content-pane.tabs{margin:1px 0 0}
.td_header{background-color:#ccc;font-weight:600;border-bottom:1px solid #000!important;text-align:left;padding-left:10px;padding-top:5px;padding-bottom:5px;color:gray}
.td_data{padding-top:3px;padding-bottom:3px;padding-left:5px;text-align:left;color:gray}
/* Main container */
.div_category_details,
.div_service_details {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    margin: 0 0 32px;
    padding: 24px;
    position: relative;
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.div_category_details:hover,
.div_service_details:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Service name */
.div_category_name,
.div_service_name {
    font-weight: 600;
    font-size: 20px;
    padding-top: 0;
    padding-bottom: 16px;
    color: #333;
    line-height: 1.4;
}

/* Information box */
.div_service_information_box {
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: none;
    padding: 12px 16px;
    position: static;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.div_service_information_box_phone {
    display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
    .div_category_details,
    .div_service_details {
        padding: 16px;
        margin: 0 0 20px;
    }
    
    .div_category_name,
    .div_service_name {
        font-size: 18px;
        padding-bottom: 12px;
    }
    
    .div_service_information_box {
        display: none;
    }
    
    .div_service_information_box_phone {
        display: flex;
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px solid #e9ecef;
        padding: 12px;
        margin-top: 16px;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .div_category_details,
    .div_service_details {
        padding: 12px;
        border-radius: 8px;
    }
    
    .div_category_name,
    .div_service_name {
        font-size: 16px;
    }
}

.div_error{border:1px dotted #efefef}
.div_pass_title{font-weight:600;font-size:15px;padding-top:4px;padding-bottom:4px;border-bottom:1px solid #CCC;background-color:green;padding-left:10px;color:#fff}
.div_error_title{font-weight:600;font-size:15px;padding-top:4px;padding-bottom:4px;border-bottom:1px solid #CCC;background-color:#ffc0cb;padding-left:10px}
.div-rounded{border-radius:6px 6px 6px 6px;padding:5px;padding-bottom:10px;text-align:left;min-height:120px;margin:2px;border:1px solid #CCC!important;}
.div-rounded-rest{border-radius:6px 6px 6px 6px;padding:5px;padding-bottom:10px;text-align:left;min-height:120px;margin:2px;border:1px solid #CCC!important;background-color:#efefef}
.div-rounded-current{border-radius:6px 6px 6px 6px;padding:5px;padding-bottom:10px;text-align:left;min-height:120px;margin:2px;border:1px solid #CCC!important;background-color:#FAEBCC}
.header_rounded{border-radius:3px;color:#000;font-weight:600;text-align:center;padding:5px;display:block;margin:2px;margin-left:5px;}
.div-schedule{display:block;border-radius:3px;margin-top:10px;font-size:12px;border:1px solid #C4D3E4!important}
.osbfootercontent{width:100%;text-align:center;padding:20px}
@media (max-width: 768px) {
.nav-tabs{border-bottom:0}
.nav-tabs > li{float:none!important}
.nav-tabs > li > a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;margin-right:0}
.nav-tabs > li:first-child > a{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}
.nav-tabs > li:last-child > a,.nav-tabs > .active:last-child > a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;border-bottom:1px solid #ddd}
.nav-tabs > li > a:hover{border-color:#ddd;z-index:2}
.nav-tabs.nav-dark > li > a{border:1px solid #333}
.nav-tabs > li:last-child > a,.nav-tabs > .active:last-child > a{border-bottom:1px solid #333}
.nav-tabs.nav-dark > li > a:hover{border-color:#333}
.nav-pills > li{float:none!important}
.nav-pills > li > a{margin-right:0;margin-bottom:3px}
.nav-pills > li:last-child > a{margin-bottom:1px}
.form-search > .pull-left,.form-search > .pull-right{float:none;display:block;margin-bottom:9px}
}
.bookingformdiv{-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;border:1px solid #CCC;margin-bottom:10px;box-sizing:border-box;}
.darklayout .bookingformdiv, .darklayout{ border: 1px solid #3C3535; }
.tip{max-width:500px!important;min-width:280xp!important}
.nav-tabs > li > a,.nav-pills > li > a{text-decoration:none}
.employee_information{float:right;padding-right:5px;font-weight:norma;color:gray}
.booking_information{font-size:13px;border:1px solid #F8A1AA!important;background-color:#FCF3F4;padding:5px;color:green}
.available_information{color:#2c5d86;font-size:13px;border:1px solid #F8A1AA!important;background-color:#FCF3F4;padding:5px;margin-bottom:5px;}
.employee-email-td{padding-left:5px;font-size:13px;font-weight:400;padding-right:10px}
.service-details-td{border-right:1px solid #DBD4D4!important;border-bottom:1px solid #DBD4D4!important;border-left:1px solid #DBD4D4!important;padding:5px}
.buttonpadding10{padding:4px 10px!important}
.buttonpadding5{padding:4px 5px!important}
#calendardivleft .btn{padding:4px 10px}
@media (max-width: 480px) {
#calendardivleft .btn{padding:4px 5px}
}

.additional_timezone{font-size:13px}
#ospitem-watermark_box{display:block;position:relative;background:none repeat scroll 0 0 #FFF;border:1px solid #CCC!important;margin:5px 5px 0 0;padding:4px}
div.ospitem-leftpad,span.ospitem-leftpad{padding-left:0}
.ospitem-itemtitle, .full-caption h3{font-size:26px;font-weight:300;line-height:28px;color:#005799}
.ospitem-itemtitle a, .ospitem-toppad a {text-decoration:none;}
.btn-gray:active,.btn-gray.active{background-color:#615E5E \9}
.btn-gray .caret{border-top-color:#fff;border-bottom-color:#fff}
.btn-gray.active{color:rgba(255,255,255,0.75)}
.btn-gray{color:#fff!important;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#6E6969!important;*background-color:#6E6969!important;background-image:-moz-linear-gradient(top,#363636,#6E6969)!important;background-image:-webkit-gradient(linear,0 0,0 100%,from(#363636),to(#6E6969))!important;background-image:-webkit-linear-gradient(top,#363636,#6E6969)!important;background-image:-o-linear-gradient(top,#363636,#6E6969)!important;background-image:linear-gradient(to bottom,#363636,#6E6969)!important;background-repeat:repeat-x;border-color:#6E6969 #6E6969 #000!important;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff363636',endColorstr='#ff6E6969',GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}
.btn-gray:hover,.btn-gray:focus,.btn-gray:active,.btn-gray.active,.btn-gray.disabled,.btn-gray[disabled]{color:#fff!important;background-color:#6E6969;*background-color:#3F3E3E}
.btn-gray:active,.btn-gray.active{background-color:#615E5E \9}
.service_information_box{border-bottom:1px solid #CCC;color:#777;padding:5px;line-height:25px;background:#efefef;}
.noticeMsg{color:red;font-weight:400}
.no_available_time_slot{text-align:center;font-weight:600;padding:10px}
.divtimeslots_simple{color:#fff;padding-left:10px;cursor:pointer;cursor:hand}
.divtimecustomslots_simple{color:#fff;padding-left:5px;cursor:pointer;cursor:hand}
.divtimeslots{border:1px solid #efefef!important;padding:2px;color:#fff;}
.information_box{border:1px solid #DDD;margin-bottom:10px;min-height:350px!important}
.information_box_img{text-align:center}
.information_box .full-caption h3{padding-left:5px;padding-right:5px}
.information_box .full-caption .full-desc{padding-left:5px;padding-right:5px;padding-bottom:5px}
.payment_plugin_label{display:inline!important}
.vbstepsbarcont{display:inline-block;margin:0 0 10px;text-align:left;width:100%;padding-bottom:15px}
.vbo-stepbar{margin:0;padding:0}
.vbstepsbarcont{text-align:left}
ol.vbo-stepbar li.vbo-step-complete::before{border:medium none;border-radius:1.5em;color:#fff;content:"✓";height:1.5em;line-height:1.5em;width:1.5em}
ol.vbo-stepbar li.vbo-step-current::before{border:medium none;border-radius:1.5em;color:#fff;content:"";height:1.5em;line-height:1.5em;width:1.5em}
ol.vbo-stepbar li.vbo-step-next::before{background-color:#ddd;border:medium none;border-radius:1.5em;color:#fff;content:"";height:1.5em;line-height:1.5em;width:1.5em}
ol.vbo-stepbar li::before{bottom:-2.5em;float:left;left:50%;line-height:1em;position:relative}
ol.vbo-stepbar li::after{content:"  "}
ol.vbo-stepbar li.vbo-step-complete,ol.vbo-stepbar li.vbo-step-current{color:#000}
.darklayout ol.vbo-stepbar li.vbo-step-current, .darklayout ol.vbo-stepbar li.vbo-step-complete{color:#998a8a}
.vbo-stepbar li{display:table;float:left;line-height:3em;min-width:100px;text-align:center;width:auto}
ol.vbo-stepbar li.vbo-step-next{border-bottom:5px solid #ddd;color:#ccc}
.timeslotlabel{display:inline!important}
a.addtowaitinglistlink{color:#fff!important}
.waitinglistform .warning{background-color:#efefef;padding:10px}
.reviewsubhead{border-bottom:1px solid #DDD}
.reviewlist .row-fluid{margin-top:5px;margin-bottom:5px;border:1px solid #CCC;background:#efefef}
.reviewlist .row-fluid .span12{padding:5px}
.reviewlist .row-fluid .span12 i{margin-right:0;width:10px}
#commentdate{color:gray;font-size:13px}
.orderdetailstable td{}

.calendarview-div-rounded{border-radius:3px;padding:5px;padding-bottom:10px;text-align:left;min-height:100px;margin:2px;border:1px solid #CCC!important}
.calendarview_td_date{padding:0;padding-bottom:0;text-align:center;vertical-align:top;}
.calendarView-date{font-weight:600;font-size:14px;color:#cf135e}
.calendarView-employees{padding-top:5px; display:block;}
.calendarView-employees .calendarView-employee{display:block;background:#a0dcf8;margin-bottom:2px;border-radius:2px;padding:2px}
.calendarview_td_date .disabled{background-color:#CCC!important}
.book_employee_link{padding:5px 0;font-weight:600}
#listOrderServices{
	padding:5px;
}

.darklayout #listOrderServices .orderdetailstable{
	border:1px solid #3C3535 !important;
}

.darklayout #listOrderServices .orderdetailstabletd
{
	border-bottom:1px solid #3C3535 !important;
}


#listOrderServices .orderdetailstable{
	border:1px solid #efefef !important;
}

#listOrderServices .orderdetailstabletd
{
	border-bottom:1px solid #EFEFEF !important;
}

@media screen and (max-width: 600px) {
	#employewordstable,#orderhistorytable, #listServicesTable, #ordersTable{width:100%}
	#ordersTable td:before,#employewordstable td:before,#orderhistorytable td:before, #listServicesTable td:before{content:attr(data-label);float:left;text-transform:uppercase;font-weight:600}
	#ordersTable thead,#employewordstable thead,#orderhistorytable thead ,#listServicesTable thead{display:none}
	#ordersTable tr,#employewordstable tr,#orderhistorytable tr, #listServicesTable tr{margin-bottom:10px;display:block;border-bottom:2px solid #ddd}
	#ordersTable td,#employewordstable td,#orderhistorytable td, #listServicesTable td{display:block;text-align:right!important;font-size:13px;border-bottom:1px dotted #ccc !important;width:100%}
	#ordersTable td:last-child,#employewordstable td:last-child,#orderhistorytable td:last-child, #listServicesTable td:last-child{border-bottom:0}
}

#orderhistorytable
{
	background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 20px;
	margin-top:20px;
}

#orderhistorytable tbody td
{
	padding: 15px;
    font-size: 14px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
}

#orderhistorytable .additional-info {
    margin-top: 20px;
}

#orderhistorytable .toggle-info {
    background: none;
    border: none;
    color: #2c5282;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

#orderhistorytable .toggle-info:hover {
    text-decoration: underline;
}

#orderhistorytable .info-content {
    margin-top: 10px;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#orderhistorytable a:link
{
	text-decoration:none;
}

#orderhistorytable tbody tr td
{
	border-bottom:1px solid #efefef !important;
}

#orderhistorytable tbody tr td.td_data
{
	padding:7px 0px;
}

.osbheading
{
	font-size:16px;font-weight:600;
}

.alignright{
	text-align:right !important;
}

.div_service_information_box_phone{
	display:none;
}

@media screen and (max-width: 800px) {
	.div_service_information_box_phone{
		display:block;
	}

	.div_service_information_box{
		display:none;
	}
}

.div_service_information_box_phone img, .div_service_information_box img{
	display:inline !important;
}

.discount_td{
	background:#ec0a32;
	padding-top:5px;
	border:0px !important;
	text-align:right;
	color:#FFF;
}

.tax_explain{
	font-size:13px; 
	color:gray;
}

.service_information_box img{
	display:inline;
}

.osbtabs li a{
	display:block !important;
}

select, input{
	display:inline;
}



.employeetabs{
	margin-left:0px !important;
}

.nav-item a.nav-link{
	display:block !important;
}

.noleftrightpadding{
	padding-left:0px !important;
	padding-right:0px !important;
}

.noleftrightmargin{
	margin-left:0px !important;
	margin-right:0px !important;
}

.otherinformationform, .repeatform, .addtocartform{
	padding-bottom:10px;
}

.service_photo, .employee_photo{
	float:left;
	margin:10px;
}

.employee_timeslots, .authorizeform, .confirmationform{
	margin-left:0px !important;
	margin-right:0px !important;
}

.padding10{
	padding:10px;
}

.loginform{
	width:100%;
}

.norightleftmargin{
	margin-left:0px !important;
	margin-right:0px !important;
}

#listServicesTable tr.success th{
	background-color:#efefef;
}

.row-fluid .divtimeslots
{
	margin-left:1%;
}

.boldtext{
	font-weight:600;
}

.confirmelements{
	padding:5px;
	border-bottom:1px solid #efefef;
}

#errors{
	padding-left:10px;
}

#dial_code{
    vertical-align:top !important;
	display:inline !important;
}

#order_phone
{
	display:inline !important;
}

.header_calendar{
	font-weight:600;
	text-align:center;
	padding:5px;
	font-size:14px;
}
.td_calendar_date{
	font-size:13px;
	text-align:center;
	vertical-align:middle;
	border:1px dotted #CCC !important;
	padding:5px;
	font-weight:600;
}

.venueinformationbooking img
{
	display:inline;
}

#bookingForm .span3, #bookingForm .col-lg-3 {
	margin-left:0px;
}

#bookingForm .width100{
	width:100% !important;
	margin-left:0px !important;
}

.headercalendar{
	font-weight:600;padding:0px;border:0px !important;height:25px;text-align:center;
}

#calendardetails a{
	color:white;
	text-decoration:none;
}

#cartdiv
{
	width:100%;
	text-align:center;
}

#cartdiv table
{
	border:0px !important;
}

#cartdiv th.tdcart{
	padding:0px;
	font-size:13px;
	border:0px !important;
	text-align: left;
}

#cartdiv td.tdcart{
	padding:0px;
	font-size:13px;
	border:0px !important;
}

td.removeall
{
	border:0px !important;
}

#cartdiv .tdcart1{
	padding:0px;font-size:13px;color:red;
	border:0px !important;
}

#cartdiv .tdcart2{
	padding:0px;background-color:#efefef;font-size:13px;
	border:0px !important;
}

.apptable #ossm, .apptable #ossy, .repeatform select
{
	display:inline;
}

table.apptable tr td
{
	border:0px !important;
}

#bookingerrDiv img
{
	display:inline !important;
}

#ftForm .field-calendar
{
	display:inline-block;
}

.userbalances
{
	margin-bottom:20px;
	padding:20px;
	font-size:14px;
	font-weight:600;
	border:1px solid #DDD;
	width:50%;
}

#breaktimeForm .field-calendar
{
	display:inline;
}

#employeeSettingDiv .field-calendar, #employeeSettingDiv input
{
	display:inline;
}

.weekdaycalendarmain  .toolbar {
	  margin-bottom: 10px;
}

.weekdaycalendarmain  .toolbar-item a {
  background-color: #fff;
  border: 1px solid #c0c0c0;
  color: #333;
  padding: 8px 0px;
  width: 80px;
  border-radius: 2px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.weekdaycalendarmain .toolbar-item a.selected-button {
  background-color: #f3f3f3;
  color: #000;
}

/* context menu icons */
.weekdaycalendarmain .icon:before {
  position: absolute;
  margin-left: 0px;
  margin-top: 3px;
  width: 14px;
  height: 14px;
  content: '';
}

.icon-blue:before { background-color: #3d85c6; }
.icon-green:before { background-color: #6aa84f; }
.icon-orange:before { background-color: #e69138; }
.icon-red:before { background-color: #cc4125; }

/* active areas */
.weekdaycalendarmain .area-menu-icon {
  background-color: #333333;
  box-sizing: border-box;
  xborder: 1px solid white;
  border-radius: 10px;
  opacity: 0.7;
  color: white;
  display: flex;
  justify-content: center;
  xalign-items: center;
  font-size: 14px;
}

#osbcarttable tbody tr td.removeall
{
	padding:0 0 0 5px;
	text-align:right;
}


#osbcarttable tbody tr td.cartitem
{
	padding:5px 0 0 0;
	border-top:0px !important;
	border-left:0px !important;
	border-right:0px !important;
	border-bottom:1px dotted #D0C5C5;
}

#employewordstable thead tr th, #employewordstable tbody tr td
{
	border-bottom:1px solid gray;
}

#employewordstable thead tr th
{
	text-align:left;
}

.joomla4 .col-lg-8
{
	margin-bottom:8px;
}

.center
{
	text-align:center;
}

table.mainTable
{
	border:1px solid #CCC !important; 
	margin-top:5px;
}

table.mainTable thead tr th
{
	text-align:center;
	padding:5px;
	text-transform: uppercase;
	background-color:#efefef;
	width:14%;
	font-weight:600;
}

table.mainTable tbody tr td
{
	border-bottom:1px solid #CCC !important;
	border-right:1px solid #CCC !important;
}

.msgDivInfoBox
{
	border:1px solid #16bb0a;
	background:#c9fbc5;
	padding:5px;
	border-radius:5px;
	margin:5px 0px;
}

@media (max-width: 500px)
{
	.manageorders a.btn, .manageorders input.btn, .manageorders .input-medium
	{
		width:100% !important;
	}
}

td.calendar-left-arrow
{
	font-weight:600;
	font-size:15px;
	text-align:left !important;
	
}

td.calendar-center-arrow
{
	height:25px;font-weight:600;
	text-align:center !important;
}

td.calendar-right-arrow
{
	font-weight:600;
	font-size:15px;
	text-align:right !important;
}

td.calendar-heading1
{
	padding:3px;
	text-align:center;
}

#adminCalendarTable thead td, #employeeWorkTable thead td
{
	width:14%;
}

@media (max-width: 767px) {
	.hidden-phone {
	  display: none;
	}

	.gobutton
	{
		width:60px;
		display:inline !important;
	}

	#calendarTable, #employeeWorkTable, #adminCalendarTable, #orderHistoryCalendar , #backendCalendar{width:100%}
	#calendarTable td:before, #employeeWorkTable td:before , #adminCalendarTable td:before , #orderHistoryCalendar td:before, #backendCalendar td:before{content:attr(data-label);float:left;text-transform:uppercase;font-weight:600;font-size:18px;;padding:5px}
	#calendarTable thead, #employeeWorkTable thead , #adminCalendarTable thead, #orderHistoryCalendar thead, #backendCalendar thead{display:none}
	#calendarTable tr, #employeeWorkTable tr  , #adminCalendarTable tr , #orderHistoryCalendar tr, #backendCalendar tr{margin-bottom:10px;display:block;border-bottom:2px solid #ddd}
	#calendarTable td, #employeeWorkTable td , #adminCalendarTable td, #orderHistoryCalendar td, #backendCalendar td{display:block;text-align:right!important;font-size:13px;border-bottom:1px dotted #ccc;width:100%}
	#calendarTable td:last-child, #employeeWorkTable td:last-child, #adminCalendarTable td:last-child, #backendCalendar td:last-child , #orderHistoryCalendar td:last-child{border-bottom:0}
	td.emptytd, td.empty_td {display:none !important;}
 }

 .custom_extra_field_booking_table
 {
 	margin-top:10px;
 }

 .cart_extra_info
 {
 	padding:2px;
	border-bottom:1px dotted #D0C5C5;
 }

 .couponIsValid
 {
 	color:green;
	font-weight:600;
 }

 .couponIsInvalid
 {
 	color:red;
	font-weight:600;
 }

.bottomline{
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    margin-bottom: 1px;
    font-size: 12px;
}

.linedetails
{
	margin-top:10px !important;
}

.bottomline::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 65px;
    height: 1px;
    background-color: #f26c61;
}

.messagefield
{
	font-weight:600;
	border-bottom:1px solid #e5e5e5;
}

.messagefield::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 65px;
    height: 1px;
    background-color: #f26c61;
}

.switch-payment-gateway{
  display: flex;
  margin-bottom: 15px;
  overflow: hidden;
  margin-left:0px;
}

@media screen and (max-width: 480px) {
	.switch-payment-gateway {
	  display: inline !important;
	}
}

@media screen and (max-width: 600px) {
	
	.switch-amounts label {
		width:49%;
		margin-bottom:5px;
	}

	.switch-payment-gateway label
	{	
		width:46%;
		margin-bottom:5px;
		display: inline-block !important
	}
}

.switch-payment-gateway input {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
}

.switch-payment-gateway label {
  background-color: #efefef;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1;
  text-align: center;
  padding: 8px 16px;
  margin-right: 10px;
  border: 1px solid #d6d5d8;
  box-shadow: 0;
  transition: all 0.1s ease-in-out;
  width:31%;
  border-radius:4px;
  margin-bottom:10px;
  min-height:45px;
}

switch-payment-gateway label:hover {
  cursor: pointer;
}

.switch-payment-gateway input:checked + label {
  box-shadow: 0 0 5px;
}

.eb-colorbox-privacy-policy, .term_and_condition
{
	text-decoration:none;
}

.linedetails label
{
	min-width:100px;
	cursor:pointer;
}

.payfull
{
	text-decoration:none;
}

.orderdetailsheading
{
	display:inline;
}

#order_general_information .field-calendar
{
	max-width:300px;
	display:inline-block;
}


.darklayout .nav-tabs .nav-link.active
{
	color: #a7adb3;
}

.darklayout a.employee_link:link
{
	color:#AAA;
}

.darklayout .div_category_details, .darklayout .div_service_details
{
	background:none; 
}

.darklayout #calendarTable thead tr td.header_calendarview, .darklayout table.mainTable ,.darklayout .mainTable thead tr th, .darklayout .div-rounded
{
	border:1px solid #4A4848 !important;
}

.darklayout #orderhistorytable tbody tr td
{
	border-bottom:1px solid #4A4848 !important;
}

.darklayout .header_rounded{color:#FFF;}

.darklayout table.mainTable thead tr th {background:#000;}

.darklayout table.mainTable td.empty_td
{
	background:#000;
}

table.mainTable td.empty_td
{
	background-color:#f9f9f9;
}

.darklayout  table.mainTable tbody tr td
{
	border-bottom: 1px solid #4A4848 !important;
	border-right: 1px solid #4A4848 !important;
}

.darklayout .calendarview-div-rounded, .darklayout .div-schedule
{
	border:1px solid #4A4848 !important;
}

.header_calendarview{text-align:center;background-color:#92989b;color:#fff;font-weight:600;width:14%;padding:3px;border:1px solid #EFEFEF!important}

#deposit_value
{
	font-weight:600;
}

table.calendar_date_numbers tr td
{
	border:0px !important;
}

td.tdpaymentsummary
{
	padding-top:5px;
	text-align:right;
	border:0px !important;
}

#receive_reminder_label
{
	display:inline;
}

.visually-hidden
{
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	position: absolute !important;
}

.verticalform
{
	margin-top:15px;
}

.horizontalformphone
{
	width:150px;
}

.verticalformphone
{
	width:75%;
}

.verticalformlines
{
	margin-bottom:10px;
}

.osbpage-header h1, .component_heading, .osbheading h1
{
	font-weight:300;
	font-size:35px;
}

#ftForm h2, .osbheading, #employeeSettingDiv h2, .osbpage-header h2, h2.orderdetailsheading
{
	font-weight:300;
	font-size: 28px;
}

strong
{
	font-weight:600 !important;
}

legend
{
	font-weight:500 !important;
}

#ordersTable a
{
	text-decoration:none;
}

#ordersTable thead tr th
{
	text-transform:uppercase;
	font-weight:500;
}

table.apptable thead tr th
{
	font-weight:600;
}

.darklayout #listServicesTable tbody tr td 
{
	color:#FFF;
}

.osbspinner {
   width: 4.8px;
   height: 4.8px;
   animation: spinner-o824ag 1s infinite linear;
}

.osbspinner div {
   position: absolute;
   width: 100%;
   height: 100%;
   background: #474bff;
   border-radius: 50%;
   animation: spinner-vse6n7 1.25s infinite ease;
}

.osbspinner div:nth-child(1) {
   --rotation: 90;
}

.osbspinner div:nth-child(2) {
   --rotation: 180;
}

.osbspinner div:nth-child(3) {
   --rotation: 270;
}

.osbspinner div:nth-child(4) {
   --rotation: 360;
}

@keyframes spinner-vse6n7 {
   0%, 100% {
      transform: rotate(calc(var(--rotation) * 1deg)) translateY(0);
   }

   50% {
      transform: rotate(calc(var(--rotation) * 1deg)) translateY(300%);
   }
}

@keyframes spinner-o824ag {
   to {
      transform: rotate(360deg);
   }
}

.floatleft
{
	float:left;
}

.smallimage
{
	max-width:170px;margin-right:10px;
}


.view-toggle {
    text-align: right;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    margin: 0px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    
}

#services, #employees, #categories, #venues {
    display: grid;
    gap: 30px;
}

/* View Toggle Buttons */

.view-toggle button {
    margin: 0 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.view-toggle button.active {
    background-color: #007cba;
    color: white;
}

.view-toggle button:not(.active) {
    background-color: #f8f9fa;
    color: #333;
}

/* Default Grid view */
.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

/* List view */
.list-view {
    display: block;
}

.list-view .service-item
{
	padding:20px;
}

.list-view .service-item img
{
	max-width: 200px;
	border-radius: 10px;
}

/* Category Item Styles */
.category-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 0px;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Category Header */
.category-header {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  position: relative;
}

.category-header::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 1px;
  background: #eee;
}


.category-image {
    flex-shrink: 0;
    margin-right: 20px;
}

.category-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.category-content {
    flex: 1;
}

.category-item h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.category-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Services Section */
.services-list {
    padding: 20px;
}

.services-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 500;
    border-bottom: 2px solid #007cba;
    padding-bottom: 5px;
    display: inline-block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* Service Item Styles */
.service-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.service-info {
    padding: 12px;
}

.service-item h5 {
    font-size: 16px;
    color: #333;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.service-price {
    font-size: 14px;
    color: #007cba;
    font-weight: 600;
}

.service-item a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.service-item a:hover {
    color: #007cba;
}

/* List View Styles */
.list-view .category-item {
    margin-bottom: 0px;
}

.list-view .category-header {
    padding: 30px;
}

.list-view .category-image img {
    width: 150px;
    height: 150px;
}

.list-view .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.list-view .service-item {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border: 1px solid #eee;
}

.list-view .service-image {
    flex-shrink: 0;
    margin-right: 15px;
}

.list-view .service-image img {
    width: 80px;
    height: 80px;
}

.list-view .service-info {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .view-toggle {
        display: none;
    }

    #categories, #venues {
        grid-template-columns: 1fr;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
    }

    .category-image {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .service-image img {
        height: 100px;
    }

    /* Force grid view on mobile */
    .list-view .category-header {
        flex-direction: column;
        text-align: center;
    }

    .list-view .category-image {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .list-view .service-item {
        display: block;
    }

    .list-view .service-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .category-item {
        margin-bottom: 20px;
    }

    .category-header, .services-list {
        padding: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}



.osb-modal-popup {
    display: none; /* Ẩn mặc định */
    position: fixed;
    z-index: 1; /* Đảm bảo modal xuất hiện trên cùng */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Màu nền mờ */
    transition: opacity 0.5s ease-in-out;
}

/* Nội dung của modal */
.osb-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 400px;
    margin: 15% auto;
    text-align: center;
    transition: transform 0.3s ease-out;
	position:relative;
}

/* Nút đóng modal */
.osb-modal-popup .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.osb-modal-popup .close:hover,
.osb-modal-popup .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Hiệu ứng cho modal khi hiện lên */
.osb-modal-popup.show {
    display: block;
    opacity: 1;
}

.osb-modal-content.show {
    transform: scale(1.1);
}

.osb-modal-buttons {
	display: flex;
	justify-content: space-around;
	margin-top: 20px;
}

.osb-modal-buttons button {
	padding: 10px 20px;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.osb-modal-buttons button:hover {
	background-color: #0056b3;
}

.cancel-btn {
	background-color: #dc3545;
}

.cancel-btn:hover {
	background-color: #c82333;
}

/* Modal styles */
.osbmodal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.osbmodal-content {
    background-color: white;
    width: 90%;
    max-width: 700px;
    height: 80%; /* Chiều cao 80% khung hình */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow-y: auto; /* Thêm thanh cuộn nếu nội dung quá dài */
    padding: 20px;
    text-align: left;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}


.osbmodal-content h2 {
    margin-top: 0;
}

.osbmodal-content #modalBody {
    margin-top: 10px;
}

/* Show modal */
.osbmodal.visible {
    visibility: visible;
    opacity: 1;
}

/* Hidden modal */
.osbmodal.hidden {
    visibility: hidden;
    opacity: 0;
}



/* Form Container */
.form-container-order-item {
    width: 100%;
    padding: 20px 30px;
    background-color: #fff;
    text-align: center;
	height:100%;
}

/* Heading & Subline */
.form-container-order-item .form-heading {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.form-container-order-item .form-subline {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* Form Group */
.form-container-order-item .form-group {
    margin-bottom: 20px;
    text-align: left;
}

/* Labels */
.form-container-order-item label {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

/* Checkbox Styling */
.form-container-order-item .checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    position: relative;
    padding-left: 25px;
}

.form-container-order-item .checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.form-container-order-item .checkbox-label .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.form-container-order-item .checkbox-label input:checked ~ .checkmark {
    background-color: #6a11cb;
    border-color: #6a11cb;
}

.form-container-order-item .checkbox-label .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.form-container-order-item .checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.form-container-order-item .checkbox-label .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Textarea */
.form-container-order-item textarea {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease-in-out;
}

.form-container-order-item textarea:focus {
    border-color: #6a11cb;
    outline: none;
    box-shadow: 0 0 5px rgba(106, 17, 203, 0.5);
}

/* Submit Button */
.form-container-order-item .submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #6a11cb;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
}

.form-container-order-item .submit-btn:hover {
    background-color: #2575fc;
    transform: translateY(-2px);
}

.form-container-order-item .submit-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 600px) {
    .form-container-order-item {
        padding: 15px 20px;
    }

    .form-container-order-item .form-heading {
        font-size: 24px;
    }

    .form-container-order-item .form-subline {
        font-size: 12px;
    }

    .form-container-order-item .submit-btn {
        font-size: 14px;
    }
}


.response-message {
    margin-top: 10px;
    font-size: 14px;
    color: green;
}




.osb-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #ffffff;
	padding: 15px 20px;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
	flex-wrap: wrap; /* Đảm bảo nội dung xuống dòng trên mobile */
}

/* Title in the header */
.osb-header .title {
	font-size: 20px;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px; /* Thêm khoảng cách khi xuống dòng */
}

/* Function buttons */
.osb-header .buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap; /* Cho phép các nút xuống dòng nếu không đủ không gian */
}

.osb-header .buttons a {
	padding: 8px 15px;
	color: white;
	background-color: #007bff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	text-decoration:none;
}

.osb-header .buttons a:hover {
	background-color: #0056b3;
}

/* Filters container */
.osb-filters {
	background-color: #ffffff;
	padding: 15px 20px;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.osb-filters .filter-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.osb-filters .filter-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	flex: 1 1 200px; /* Đảm bảo các field co giãn linh hoạt */
}

.osb-filters .filter-field label {
	font-size: 14px;
	color: #555;
}


.osb-filters .filter-field select {
	padding: 8px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 5px;
	width: 100%;
}

.osb-filters .filter-field input
{
	padding: 8px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 5px;
	width: 80%;
}

.osb-filters .filter-field button {
	padding: 8px 15px;
	font-size: 14px;
	color: white;
	background-color: #28a745;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.osb-filters .filter-field button:hover {
	background-color: #218838;
}

/* Responsive Design */
@media (max-width: 768px) {
	.osb-header {
		flex-direction: column; /* Chuyển header thành dạng cột trên màn hình nhỏ */
		align-items: flex-start; /* Căn trái nội dung */
	}

	.osb-header .title {
		margin-bottom: 10px; /* Tạo khoảng cách giữa title và nút */
	}

	.osb-filters .filter-fields {
		flex-direction: column; /* Các field xếp chồng lên nhau */
	}

	.osb-filters .filter-field {
		flex: 1 1 100%; /* Field chiếm toàn bộ chiều rộng */
	}
}


.customer-data-container {
    margin: 10px auto;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.customer-data-container h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
	font-size:25px;
	font-weight:600;
}

.customer-data-container .analysis {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.customer-data-container .analysis p {
    margin: 5px 0;
    color: #555;
}

.customer-data-container .time-tree {
    margin-top: 20px;
}

.customer-data-container .year h2 {
    color: #007bff;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 10px;
	font-size:23px;
	font-weight:600;
}

.customer-data-container .month {
    margin-bottom: 20px;
}

.customer-data-container .month h3 {
    color: #333;
    margin-bottom: 10px;
	font-size:21px;
	font-weight:600;
}

/* Style cho các ngày đặt lịch */
.customer-data-container .day-cards {
    display: flex;
    flex-direction: column; /* Sắp xếp các thẻ theo chiều dọc */
    gap: 15px;
    margin-top: 10px;
}

.customer-data-container .day-card {
    display: flex;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%; /* Chiếm toàn bộ chiều rộng */
    flex-wrap: wrap; /* Cho phép nội dung xuống dòng nếu cần */
}

.customer-data-container .day-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.customer-data-container .date-circle {
    width: 60px;
    height: 60px;
    background: #007bff;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.customer-data-container .card-details {
    flex: 1; /* Chiếm toàn bộ không gian còn lại */
    min-width: 0; /* Đảm bảo không bị tràn */
}

.customer-data-container .card-details p {
    margin: 5px 0;
    color: #555;
}

.customer-data-container .card-details .note {
    font-size: 14px;
    color: #888;
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .customer-data-container .day-card {
        flex-direction: column; /* Sắp xếp nội dung theo chiều dọc trên mobile */
        align-items: flex-start;
    }

    .customer-data-container .date-circle {
        margin-bottom: 10px; /* Thêm khoảng cách giữa ngày và thông tin */
        margin-right: 0;
    }

    .customer-data-container .card-details {
        text-align: left;
    }
}


#monthly-calendar {
	width: 100%;
	background: white;
	border-radius: 10px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	padding: 20px;
	overflow: hidden;
}
.monthly-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
.monthly-header h2 {
	margin: 0;
	font-size: 24px;
	color: #333;
}
.monthly-buttons {
	display: flex;
	gap: 10px;
}
.form-filter button, .monthly-buttons button {
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 5px;
	padding: 10px 15px;
	cursor: pointer;
	transition: background 0.3s;
}
.monthly-buttons button:hover {
	background-color: #0056b3;
}
.monthly-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 5px;
	max-height: 700px; 
	overflow-y: auto; 
}
.monthly-days .monthly-day {
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	background: #fff;
	position: relative;
	text-align: center;
	padding: 10px 3px 3px 3px;
	transition: background 0.3s, transform 0.3s;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Thêm bóng cho ô ngày */
}
.monthly-days .monthly-day:hover {
	background: #f1f1f1;
	transform: scale(1.02);
}
.add-event {
	position: absolute;
	top: 5px;
	right: 5px;
	border: none;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	cursor: pointer;
	font-size: 20px;
	color: #007bff;
	background: transparent;
}
.form-filter {
	margin: 20px 0;
	display: flex;
	gap: 10px;
	flex-wrap: wrap; 
}
.form-filter select, .form-filter button {
	padding: 10px;
	flex: 1 1 200px;
}
.task-list {
	margin-top: 10px;
	font-size: 14px;
	color: #555;
}
.task {
	background-color: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 0px;
	margin: 5px 0;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s;
}
.task:hover {
	transform: scale(1.02);
}
.task-title {
	font-size: 16px;
	color: #333;
	margin: 0 0 5px 0;
	font-weight:600;
}
.task-time {
	font-size: 13px;
	color: #777;
	margin: 0 0 5px 0;
}
.task-description {
	font-size: 13px;
	color: #555;
}
.calendar-popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	padding: 20px;
	z-index: 1000;
	width: 400px;
}
.calendar-popup h3 {
	margin-top: 0;
}

 #popupHeading {
	font-size: 15px;
	font-weight: 600; 
	color: #333; 
	margin-bottom: 10px; 
	text-align: center; 
	padding: 5px; 
	background-color: #f0f0f0; 
	border-radius: 5px;
	border: 1px solid #ccc; 
}
.calendar-popup input, .calendar-popup select, .calendar-popup textarea {
	width: 100%;
	padding: 10px;
	margin: 5px 0; 
	border-radius: 5px;
	border: 1px solid #ccc;
}
.calendar-popup .button-container {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
}
.calendar-popup button {
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 5px;
	padding: 10px;
	cursor: pointer;
	width: 48%;
}
.calendar-popup button:hover {
	background-color: #0056b3;
}
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	z-index: 500;
}
@media (max-width: 600px) {
	.days {
		grid-template-columns: repeat(3, 1fr);
	}
}


.calendar-popup .time-fields {
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 10px; 
}

/** page navigation **/

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.pagination-container #limit {
    width:100px;
}

/* Page navigation styles */
.pagination {
    display: flex;
    gap: 10px;
}

.page-link {
    text-decoration: none;
    color: #fff;
    padding: 8px 12px;
    border: 1px solid #555;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.page-link:hover {
    background-color: #555;
    color: #fff;
}

.page-link.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}
/** end page navigation **/

.order_items
{
	font-size:13px;
	margin:10px 0px;
}

.passed_order_items
{
	font-size:13px;
	margin:10px 0px;
	color:#999;
}

.order-status-value
{
	color:#007bff;
	font-weight:600;
}


/** no permission **/
.alert-box {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #ff4d4d;
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.alert-box p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.form-order-status-container {
	width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.form-order-status-container h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
	font-size:25px;
	font-weight:600;
}

.form-order-status-container #orderstatus {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
	width:200px;
}

.form-order-status-container #submitButton {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-order-status-container #responseMessage {
    margin: 20px 0px;
    padding: 15px;
    background-color: #28a745;
    color: #fff;
    border-radius: 5px;
}

.hidden {
    display: none;
}


.timeslotdiv{
	width:100%;
	overflow-y: auto;
	margin:0px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
	margin: 0 auto;
	padding: 2px;
}

.timeslotdiv div{
	border-radius:5px;
	padding-top:7px;
	padding-bottom:7px;
}

@media (max-width: 900px) {
  .timeslotdiv {
	grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .timeslotdiv {
	grid-template-columns: 1fr;
  }
}


.service-card-table-booking {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	background-color: white;
	max-width: 100%;
}

.service-card-table-booking .service-info {
	display: flex;
	padding: 10px;
	border-bottom: 1px solid #e0e0e0;
}

.service-card-table-booking .service-info .service-icon {
	width: 100px;
	height: 100px;
	flex-shrink: 0;
	margin-right: 10px;
	border-radius: 6px;
	overflow: hidden;
	background-color: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.service-card-table-booking .service-info .service-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-card-table-booking .service-info .service-content {
	flex-grow: 1;
}

.service-card-table-booking .service-info .service-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 12px;
	color: #6c757d;
	font-size: 14px;
}

.service-card-table-booking .service-info .meta-item {
	display: flex;
	align-items: center;
}

.service-card-table-booking .service-info .meta-icon {
	margin-right: 5px;
	width: 16px;
	height: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.service-card-table-booking .service-info .service-content .service-description {
	font-size: 15px;
	line-height: 1.6;
	color:  #333;
}

.service-card-table-booking .service-info .service-content  .service-price {
	padding: 12px 20px;
	background-color: #f8f9fa;
	color:  #333;
	font-size: 14px;
	border-top: 1px solid #e0e0e0;
}

.service-card-table-booking .price-highlight {
	font-weight: 600;
	color: #2c5d86;
}

.service-header {
	padding: 16px 20px;
	border-bottom: 1px solid #e0e0e0;
	margin-bottom: 15px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f8f9fa;
}

.service-header::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #4a90e2;
}

.service-title {
	font-size: 18px;
	font-weight: 500;
	color: #333;
	text-align: center;
}

.service-date {
	color: #666;
	margin-left: 6px;
	font-weight: normal;
}

/* Optional: Add a subtle pattern or graphic element */
.header-graphic {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0.1;
	z-index: 0;
}

.booking-header-select-employee {
    background: linear-gradient(135deg, var(--calendar-primary, #667eea) 0%, var(--calendar-primary-dark, #764ba2) 100%);
    padding: 18px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(var(--calendar-shadow-rgb, 102, 126, 234), 0.25);
    margin-bottom: 20px;
    border: none;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.booking-header-select-employee:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--calendar-shadow-rgb, 102, 126, 234), 0.35);
}

.booking-header-select-employee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.booking-header-select-employee:hover::before {
    opacity: 0.8;
}

.booking-header-select-employee .booking-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}


.booking-header-select-employee .booking-title::before {
    content: "👥";
    margin-right: 10px;
    font-size: 22px;
}


/* Employee Card */
.employee-card {
	background-color: var(--light-bg);
	border-radius: 6px;
	padding: 16px;
	display: flex;
	gap: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	border: 1px solid var(--border);
}

.employee-thumbnail {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background-color: #e0e0e0;
	flex-shrink: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.employee-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.employee-default-avatar {
	width: 40px;
	height: 40px;
	color: #9e9e9e;
}

.employee-info {
	flex-grow: 1;
}

.employee-name {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--text-dark);
}

.employee-contact {
	display: flex;
	gap: 16px;
	margin-bottom: 8px;
}

.contact-item {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: var(--text-muted);
}

.contact-icon {
	margin-right: 5px;
	width: 16px;
	height: 16px;
	display: inline-flex;
}

.employee-description {
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-muted);
}

/* Comment form */
.commentformdiv {
    margin-top: 10px;
    max-width: 500px;
    background: #fafbfc;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 24px 18px;
    box-shadow: 0 2px 8px #0001;
    font-family: Arial, sans-serif;
}

/* Tiêu đề lớn */
.commentformdiv strong {
    font-size: 1.2em;
    display: block;
    margin-bottom: 18px;
}

/* Nhóm control */
.control-group {
    margin-bottom: 18px;
}

/* Label */
.control-label {
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    color: #222;
}

/* Input, select, textarea */
input[type="text"], select, textarea {
    width: 100%;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccd0d5;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
    background: #fff;
    transition: border 0.2s;
}
input[type="text"]:focus, select:focus, textarea:focus {
    border: 1.5px solid #007bff;
    outline: none;
}

/* Button styles */
.form-buttons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

/* Tooltip giả lập */
.hasTip {
    border-bottom: 1px dotted #aaa;
    cursor: help;
}

/* Responsive */
@media (max-width: 600px) {
    .bookingformdiv {
        padding: 12px 4px;
    }
}

/* Booking Complete */
.booking-complete-container {
	max-width: 780px;
	margin: 0 auto 48px auto;
	padding: 24px 20px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	text-align: center;
}
.booking-success-icon {
	margin-bottom: 16px;
}
.booking-complete-message {
	color: #555;
	margin-bottom: 18px;
}
.booking-summary {
	text-align: left;
	background: #f7f9fa;
	border-radius: 8px;
	padding: 16px 12px;
	margin-bottom: 24px;
	font-size: 15px;
}
.booking-summary div {
	margin-bottom: 6px;
}
.booking-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
.btn-outline-primary {
	background: #fff;
	color: #4BB543;
	border: 2px solid #4BB543;
}
.btn-outline-primary:hover, .btn-primary:hover {
	opacity: 0.85;
}

@media (max-width: 900px) {
	.main-container {
		max-width: 100%;
	}
	.order-details-container, .booking-complete-container {
		max-width: 98vw;
	}
}
@media (max-width: 600px) {
	.order-details-container, .booking-complete-container {
		padding: 14px 4px;
	}
	.order-info-grid {
		grid-template-columns: 1fr;
		gap: 10px 0;
	}
	th, td {
		font-size: 14px;
		padding: 8px 6px;
	}
}

.order-details-container {
	max-width: 98%;
	margin: 0 auto 48px auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	padding: 30px 26px;
}

.order-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #eee;
	margin-bottom: 18px;
}

.order-date {
	color: #888;
	font-size: 13px;
}
.order-section {
	margin-bottom: 22px;
}
.order-section h4 {
	margin-bottom: 10px;
	color: #4BB543;
}
.order-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 30px;
	font-size: 15px;
}

.order-details--notes {
	background: #f3f5f7;
	border-radius: 6px;
	padding: 12px 10px;
	font-size: 15px;
}

.order-actions {
	display: flex;
	gap: 16px;
	justify-content: flex-end;
	margin-top: 18px;
}

.appointments-container { margin: 0; padding: 0; }
.service-group {
    background: #f7f9fa;
    border-radius: 10px;
    margin-bottom: 22px;
    padding: 12px 14px 8px 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.service-header-order-details {
    font-size: 17px;
    font-weight: 600;
    color: #338a31;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-header-order-details .count {
    background: #4BB543;
    color: #fff;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 13px;
}
.appointment-cards-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
    max-height: 300px;
    overflow-y: auto;
}
.appointment-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    padding: 10px 13px;
    min-width: 220px;
    font-size: 15px;
    flex: 1 1 230px;
    border-left: 3px solid #4BB543;
    margin-bottom: 6px;
}
.osb-alert {
	padding: 15px;
	margin-bottom: 20px;
	border: 1px solid transparent;
	border-radius: 4px;
}
.osb-alert-danger {
	color: #721c24;
	background-color: #f8d7da;
	border-color: #f5c6cb;
}
.osb-alert-dismissible {
	position: relative;
	padding-right: 35px;
}
.osb-alert-dismissible .close {
	position: absolute;
	top: 0;
	right: 0;
	padding: 15px;
	color: inherit;
	background: transparent;
	border: 0;
	cursor: pointer;
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1;
	opacity: 0.5;
}
.osb-alert-dismissible .close:hover {
	opacity: 1;
}
.osb-alert-icon {
	margin-right: 10px;
}

.darklayout .service-header {
  border-bottom: 1px solid #333;
  background-color: #23272f;
  color: #f8f9fa;
}

.darklayout .osb-modal-content {
  background-color: #222;
  color: #f1f1f1;
}

.darklayout #cartdiv .tdcart2 {
  background-color: #222; /* Hoặc màu tối bạn muốn */
  color: #f1f1f1;         /* Đổi màu chữ cho phù hợp nền tối */
}

.darklayout input[type="text"],
.darklayout select,
.darklayout textarea {
  background: #222;              /* Nền tối */
  color: #f1f1f1;                /* Màu chữ sáng */
  border: 1px solid #444;        /* Đổi màu viền cho phù hợp */
}

.booking-complete-container.darklayout  {
  background: #222; /* Nền tối */
  color: #f1f1f1;   /* Chữ sáng */
  box-shadow: 0 4px 24px rgba(0,0,0,0.32); /* Đậm hơn cho dark mode */
}

.booking-complete-message.darklayout  {
  color: #eee; /* Màu chữ sáng hơn cho nền tối */
}

.order-details-container.darklayout  {
  background: #222; /* Nền tối */
  color: #f1f1f1;   /* Chữ sáng */
  box-shadow: 0 4px 24px rgba(0,0,0,0.32); /* Đậm hơn cho dark mode */
}

.darklayout .osb-modal-popup {
  background-color: rgba(20, 20, 20, 0.9); /* Màu nền tối hơn cho dark mode */
}

.os-credit-form-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 18px;
    width: 100%;
}

.os-credit-label {
    flex: 0 0 180px;
    font-weight: 600;
    color: #222;
    font-size: 1rem;
    margin-bottom: 6px;
}

.os-credit-label label {
    display: block;
}

.os-credit-label .required {
    color: #e74c3c;
    margin-left: 3px;
}

.os-credit-input {
    flex: 1;
    min-width: 200px;
}

.os-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccd6dd;
    border-radius: 7px;
    font-size: 1.07rem;
    transition: border 0.2s, box-shadow 0.2s;
    background: #fff;
    color: #222;
    outline: none;
    box-sizing: border-box;
}

.os-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px #3b82f630;
}

#sq-expiration-date {
    font-size: 1.07rem;
    padding: 10px 0;
    color: #333;
    letter-spacing: 2px;
}

@media (max-width: 600px) {
    .os-credit-form-row {
        flex-direction: column;
        align-items: stretch;
    }
    .os-credit-label {
        flex: none;
        margin-bottom: 4px;
    }
    .os-credit-input {
        min-width: 0;
    }
}

.service-content
{
	padding:15px;
}

/* Payment Failure Styles for OS Services Booking */
.osb-payment-failure-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    background: #f9f9f9;
}

.osb-payment-failure-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 40px 32px;
    text-align: center;
    margin: 30px 0;
}

.osb-payment-failure-icon {
    margin-bottom: 20px;
}

.osb-payment-failure-title {
    font-size: 28px;
    color: #ff4d4d;
    font-weight: bold;
    margin-bottom: 16px;
}

.osb-payment-failure-message {
    font-size: 16px;
    color: #555;
    margin-bottom: 28px;
    line-height: 1.6;
}

.osb-payment-failure-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.osb-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.osb-btn-primary {
    background: #ff4d4d;
    color: #fff;
    border: none;
}

.osb-btn-primary:hover {
    background: #e03e3e;
    color: #fff;
}

.osb-btn-secondary {
    background: #f6f6f6;
    color: #333;
    border: 1px solid #ddd;
}

.osb-btn-secondary:hover {
    background: #e9e9e9;
    color: #222;
}

/* Responsive for mobile */
@media (max-width: 600px) {
    .osb-payment-failure-card {
        padding: 24px 12px;
        max-width: 95vw;
    }
    .osb-payment-failure-title {
        font-size: 22px;
    }
    .osb-payment-failure-message {
        font-size: 14px;
    }
    .osb-payment-failure-actions {
        flex-direction: column;
        gap: 10px;
    }
}

.osb-order-details-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(44,93,134,0.07);
    padding: 32px 24px;
    margin: 40px auto;
    font-family: "Segoe UI", "Roboto", Arial, sans-serif;
}

.osb-order-details-heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary, #2c5d86);
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: 0.5px;
}

.osb-order-details-row {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 12px;
}

.osb-order-details-label {
    flex: 0 0 120px;
    font-weight: 600;
    color: #64748b;
    font-size: 15px;
    text-align: right;
    padding-right: 16px;
}

.osb-order-details-value {
    flex: 1;
    font-size: 15px;
    color: #212121;
    font-weight: 400;
    padding-left: 8px;
    word-break: break-word;
}

.osb-order-details-actions {
    margin-top: 28px;
    text-align: center;
}

.osb-order-details-submit {
    min-width: 120px;
    font-size: 16px;
    padding: 8px 24px;
    border-radius: 6px;
    background: var(--primary, #2c5d86);
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(44,93,134,0.13);
    transition: background 0.2s;
    cursor: pointer;
}
.osb-order-details-submit:hover {
    background: var(--primary-dark, #234b6d);
}


@media (max-width: 600px) {
    .osb-order-details-card {
        padding: 16px 4px;
    }
    .osb-order-details-row {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 8px;
    }
    .osb-order-details-label {
        text-align: left;
        padding-right: 0;
        margin-bottom: 4px;
    }
    .osb-order-details-value {
        padding-left: 0;
    }
}

/* Mobile Cart Button - Thêm vào cuối file style.css */
.mobile-cart-button {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--calendar-primary, #2c5d86);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-cart-button:hover {
    background: var(--calendar-primary-dark, #234b6d);
    transform: scale(1.1);
}

.mobile-cart-button.pulse {
    animation: cartPulse 0.6s ease-in-out;
}

@keyframes cartPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 6px 20px rgba(44, 93, 134, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

.mobile-cart-button svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.mobile-cart-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--accent, #ff6b4a);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-cart-badge.bounce {
    animation: badgeBounce 0.6s ease-in-out;
}

@keyframes badgeBounce {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3) rotate(-10deg);
    }
    50% {
        transform: scale(1.1) rotate(10deg);
    }
    75% {
        transform: scale(1.2) rotate(-5deg);
    }
}

/* Cart Added Notification */
.cart-added-notice {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
}

.cart-added-notice.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cart-added-notice svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Mobile Cart Overlay */
.mobile-cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-cart-overlay.active {
    opacity: 1;
}

/* Mobile Cart Panel */
.mobile-cart-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    max-height: 80vh;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    transition: bottom 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-cart-panel.active {
    bottom: 0;
}

.mobile-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--calendar-primary, #667eea) 0%, var(--calendar-primary-dark, #764ba2) 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.mobile-cart-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.mobile-cart-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mobile-cart-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden; /* Thêm dòng này */
    padding: 15px;
    -webkit-overflow-scrolling: touch; /* Thêm dòng này cho smooth scroll trên iOS */
}

.mobile-cart-content * {
    max-width: 100%;
    box-sizing: border-box;
}

.mobile-cart-content table {
    width: 100% !important;
    table-layout: fixed;
}


.darklayout .mobile-cart-panel {
    background: #222;
    color: #f1f1f1;
}

.darklayout .mobile-cart-header {
    background: #1a1a1a;
}

/* Show on mobile only */
@media (max-width: 768px) {
    .mobile-cart-button {
        display: flex !important;
    }
    
    /* Hide only the cart box on mobile, not the entire left column */
    #calendardivleft #cartbox,
    #calendardivleft .desktop-cart-container {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-cart-button,
    .mobile-cart-overlay,
    .mobile-cart-panel,
    .cart-added-notice {
        display: none !important;
    }
}

/* ========================================
   Modern Calendar Header Styles
   ======================================== */

.bookingformdiv .calendar-header-modern-rounded
{
    padding-left:0px;
    padding-right:0px;
}

/* ========================================
   Modern Calendar Header Styles with Dynamic Colors
   ======================================== */

.calendar-header-modern {
    background: linear-gradient(135deg, var(--calendar-primary, #2c5d86) 0%, var(--calendar-primary-dark, #234b6d) 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(44, 93, 134, 0.15);
}

/* Color Scheme Classes */
.calendar-header-modern.ocean-blue {
    --calendar-primary: #2c5d86;
    --calendar-primary-dark: #234b6d;
}

.calendar-header-modern.emerald-green {
    --calendar-primary: #10b981;
    --calendar-primary-dark: #059669;
}

.calendar-header-modern.sunset-orange {
    --calendar-primary: #f59e0b;
    --calendar-primary-dark: #d97706;
}

.calendar-header-modern.royal-purple {
    --calendar-primary: #8b5cf6;
    --calendar-primary-dark: #7c3aed;
}

.calendar-header-modern.crimson-red {
    --calendar-primary: #ef4444;
    --calendar-primary-dark: #dc2626;
}

.calendar-header-modern.teal-cyan {
    --calendar-primary: #14b8a6;
    --calendar-primary-dark: #0d9488;
}

.calendar-header-modern.midnight-blue {
    --calendar-primary: #1e3a8a;
    --calendar-primary-dark: #1e293b;
}

.calendar-header-modern.rose-pink {
    --calendar-primary: #ec4899;
    --calendar-primary-dark: #db2777;
}

.calendar-header-modern.forest-green {
    --calendar-primary: #16a34a;
    --calendar-primary-dark: #15803d;
}

.calendar-header-modern.amber-gold {
    --calendar-primary: #f59e0b;
    --calendar-primary-dark: #b45309;
}

.mobile-cart-header.ocean-blue {
    --calendar-primary: #2c5d86;
    --calendar-primary-dark: #234b6d;
}

.mobile-cart-header.emerald-green {
    --calendar-primary: #10b981;
    --calendar-primary-dark: #059669;
}

.mobile-cart-header.sunset-orange {
    --calendar-primary: #f59e0b;
    --calendar-primary-dark: #d97706;
}

.mobile-cart-header.royal-purple {
    --calendar-primary: #8b5cf6;
    --calendar-primary-dark: #7c3aed;
}

.mobile-cart-header.crimson-red {
    --calendar-primary: #ef4444;
    --calendar-primary-dark: #dc2626;
}

.mobile-cart-header.teal-cyan {
    --calendar-primary: #14b8a6;
    --calendar-primary-dark: #0d9488;
}

.mobile-cart-header.midnight-blue {
    --calendar-primary: #1e3a8a;
    --calendar-primary-dark: #1e293b;
}

.mobile-cart-header.rose-pink {
    --calendar-primary: #ec4899;
    --calendar-primary-dark: #db2777;
}

.mobile-cart-header.forest-green {
    --calendar-primary: #16a34a;
    --calendar-primary-dark: #15803d;
}

.mobile-cart-header.amber-gold {
    --calendar-primary: #f59e0b;
    --calendar-primary-dark: #b45309;
}

.booking-header-select-employee.ocean-blue {
    --calendar-primary: #2c5d86;
    --calendar-primary-dark: #234b6d;
}

.booking-header-select-employee.emerald-green {
    --calendar-primary: #10b981;
    --calendar-primary-dark: #059669;
}

.booking-header-select-employee.sunset-orange {
    --calendar-primary: #f59e0b;
    --calendar-primary-dark: #d97706;
}

.booking-header-select-employee.royal-purple {
    --calendar-primary: #8b5cf6;
    --calendar-primary-dark: #7c3aed;
}

.booking-header-select-employee.crimson-red {
    --calendar-primary: #ef4444;
    --calendar-primary-dark: #dc2626;
}

.booking-header-select-employee.teal-cyan {
    --calendar-primary: #14b8a6;
    --calendar-primary-dark: #0d9488;
}

.booking-header-select-employee.midnight-blue {
    --calendar-primary: #1e3a8a;
    --calendar-primary-dark: #1e293b;
}

.booking-header-select-employee.rose-pink {
    --calendar-primary: #ec4899;
    --calendar-primary-dark: #db2777;
}

.booking-header-select-employee.forest-green {
    --calendar-primary: #16a34a;
    --calendar-primary-dark: #15803d;
}

.booking-header-select-employee.amber-gold {
    --calendar-primary: #f59e0b;
    --calendar-primary-dark: #b45309;
}


.calendar-header-text
{
    flex: 1;
    text-align: center;
    color: var(--text-light, #ffffff);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size:20px;
}

/* Navigation Wrapper */
.calendar-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--text-light, #ffffff);
}

/* Navigation Buttons */
.calendar-nav-btn {
    flex: 0 0 auto;
}

.calendar-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--text-light, #ffffff);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.calendar-nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.calendar-nav-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.calendar-nav-link img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Current Date Display */
.calendar-current-date {
    flex: 1;
    text-align: center;
    color: var(--text-light, #ffffff);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.calendar-month {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.calendar-year {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
}

/* Selector Wrapper */
.calendar-selector-wrapper {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.calendar-selector-group {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

/* Select Styling */
.calendar-select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light, #ffffff);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    outline: none;
}

.calendar-select:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.calendar-select:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.calendar-select option {
    background: var(--primary, #2c5d86);
    color: var(--text-light, #ffffff);
}

.calendar-select-month {
    min-width: 120px;
}

.calendar-select-year {
    min-width: 80px;
}

/* Go Button */
.calendar-go-btn {
    padding: 8px 20px;
    background: var(--accent, #ff6b4a);
    color: var(--text-light, #ffffff);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 74, 0.3);
}

.calendar-go-btn:hover {
    background: #ff5533;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 74, 0.4);
}

.calendar-go-btn:active {
    transform: translateY(0);
}

/* Dark Layout Support */
.darklayout .calendar-header-modern {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #3C3535;
}

.darklayout .calendar-nav-link {
    background: rgba(255, 255, 255, 0.1);
}

.darklayout .calendar-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.darklayout .calendar-select {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.darklayout .calendar-select:hover {
    background: rgba(255, 255, 255, 0.15);
}



/* Responsive Design */
@media (max-width: 768px) {
.calendar-header-modern {
    padding: 15px;
}

.calendar-nav-wrapper {
    margin-bottom: 12px;
}

.calendar-nav-link {
    width: 36px;
    height: 36px;
}

.calendar-month {
    font-size: 18px;
}

.calendar-year {
    font-size: 16px;
}

.calendar-selector-group {
    flex-wrap: wrap;
}

.calendar-select-month,
.calendar-select-year {
    min-width: auto;
    flex: 1;
}

.calendar-go-btn {
    width: 100%;
    margin-top: 5px;
}
}

@media (max-width: 480px) {
.calendar-header-modern {
    padding: 12px;
}

.calendar-current-date {
    flex-direction: column;
    gap: 4px;
}

.calendar-month,
.calendar-year {
    font-size: 16px;
}

.calendar-selector-group {
    flex-direction: column;
    width: 100%;
}

.calendar-select {
    width: 100%;
}
}

.calendar_date_numbers {
        border-collapse: separate;
        border-spacing: 4px;
        width: 100%;
        background: #fff;
    }
    
    .calendar_date_numbers thead th {
        padding: 12px 5px;
        font-size: 13px;
        font-weight: 600;
        color: #555;
        text-align: center;
        background: transparent;
        border: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .calendar_date_numbers tbody td {
        padding: 2px;
        text-align: center;
        vertical-align: middle;
    }
    
    .calendar_date_numbers tbody td > div {
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 600;
    }
    
    /* Calendar container styling to match the navy header */
    .calendar-header-modern-rounded {
        border-radius: 8px 8px 0 0;
        padding: 0;
        margin-bottom: 0;
    }
    
    .calendar-header-modern {
        padding: 15px 20px;
    }
    
    .calendar-header-text {
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        text-align: center;
    }
    
    .calendar-month {
        margin-right: 8px;
    }
    
    /* Go button styling to match the orange button */
    .calendar-go-btn {
        background: #ff6b35;
        color: #fff;
        border: none;
        padding: 8px 20px;
        border-radius: 4px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .calendar-go-btn:hover {
        background: #e55a2b;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    }
    
    /* Dropdown styling */
    .calendar-select {
        background: #fff;
        border: 1px solid #ddd;
        padding: 8px 12px;
        border-radius: 4px;
        font-size: 14px;
        color: #333;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .calendar_date_numbers tbody td > div {
            min-height: 36px;
            font-size: 13px;
        }
        
        .calendar_date_numbers {
            border-spacing: 3px;
        }
        
        .calendar_date_numbers thead th {
            padding: 10px 3px;
            font-size: 12px;
        }
    }

    /* ========================================
   Add to Cart Button Styles
   ======================================== */

/* Base styles */
.addtocartbtn {
    display: inline-block;
    max-width: 160px;
    width: 100%;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.addtocartbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(0.95);
}

.addtocartbtn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.addtocartbtn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.addtocartbtn:disabled {
    background: #cbd5e1 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: 0.6;
}

/* ========================================
   Color Schemes for Button
   ======================================== */

/* Ocean Blue */
.addtocartbtn.color-ocean-blue {
    background: linear-gradient(135deg, #2c5d86 0%, #234b6d 100%);
}

.addtocartbtn.color-ocean-blue:hover {
    background: linear-gradient(135deg, #234b6d 0%, #1a3a54 100%);
}

.addtocartbtn.color-ocean-blue:focus {
    box-shadow: 0 0 0 3px rgba(44, 93, 134, 0.3);
}

/* Emerald Green */
.addtocartbtn.color-emerald-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.addtocartbtn.color-emerald-green:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.addtocartbtn.color-emerald-green:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

/* Sunset Orange */
.addtocartbtn.color-sunset-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.addtocartbtn.color-sunset-orange:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.addtocartbtn.color-sunset-orange:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}

/* Royal Purple */
.addtocartbtn.color-royal-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.addtocartbtn.color-royal-purple:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.addtocartbtn.color-royal-purple:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

/* Crimson Red */
.addtocartbtn.color-crimson-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.addtocartbtn.color-crimson-red:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.addtocartbtn.color-crimson-red:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3);
}

/* Teal Cyan */
.addtocartbtn.color-teal-cyan {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.addtocartbtn.color-teal-cyan:hover {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

.addtocartbtn.color-teal-cyan:focus {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.3);
}

/* Midnight Blue */
.addtocartbtn.color-midnight-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
}

.addtocartbtn.color-midnight-blue:hover {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.addtocartbtn.color-midnight-blue:focus {
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.3);
}

/* Rose Pink */
.addtocartbtn.color-rose-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.addtocartbtn.color-rose-pink:hover {
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
}

.addtocartbtn.color-rose-pink:focus {
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.3);
}

/* Forest Green */
.addtocartbtn.color-forest-green {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.addtocartbtn.color-forest-green:hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
}

.addtocartbtn.color-forest-green:focus {
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.3);
}

/* Amber Gold */
.addtocartbtn.color-amber-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
}

.addtocartbtn.color-amber-gold:hover {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
}

.addtocartbtn.color-amber-gold:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}

/* Custom Color Scheme */
.addtocartbtn.color-custom {
    background: linear-gradient(135deg, var(--custom-primary) 0%, var(--custom-primary-dark) 100%);
}

.addtocartbtn.color-custom:hover {
    background: linear-gradient(135deg, var(--custom-primary-dark) 0%, var(--custom-primary) 100%);
}

.addtocartbtn.color-custom:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Dark Layout Support
   ======================================== */

.darklayout .addtocartbtn {
    filter: brightness(1.1);
}

.darklayout .addtocartbtn:hover {
    filter: brightness(1.05);
}

.darklayout .addtocartbtn:disabled {
    background: #334155 !important;
    color: #64748b !important;
    filter: none;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .addtocartbtn {
        max-width: 220px;
        padding: 12px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .addtocartbtn {
        max-width: 200px;
        padding: 10px 20px;
        font-size: 14px;
    }
}


/* Discount Styles */
.order-discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    animation: pulse-discount 2s infinite;
}

@keyframes pulse-discount {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.5);
    }
}

.order-discount-info {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border-left: 4px solid #ff6b6b;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-discount-info svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    fill: #ff6b6b;
}

.order-discount-info .discount-text {
    flex: 1;
    color: #d63031;
    font-weight: 600;
    font-size: 14px;
}

.order-discount-amount {
    color: #d63031;
    font-weight: 700;
    font-size: 16px;
}

/* Timeslot Discount Styles */
.timeslot-discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    box-shadow: 0 2px 6px rgba(0, 184, 148, 0.3);
}

.appointment-card.has-discount {
    border-left: 3px solid #00b894;
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
}

.appointment-card .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    margin-right: 8px;
}

.appointment-card .discounted-price {
    color: #00b894;
    font-weight: 700;
    font-size: 15px;
}

.appointment-card .discount-percentage {
    display: inline-block;
    background: #00b894;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 5px;
}

/* Dark Layout Support */
.darklayout .order-discount-info {
    background: linear-gradient(135deg, #3a1f1f 0%, #4a2525 100%);
    border-left-color: #ff6b6b;
}

.darklayout .order-discount-info .discount-text {
    color: #ff8787;
}

.darklayout .order-discount-amount {
    color: #ff8787;
}

.darklayout .appointment-card.has-discount {
    background: linear-gradient(135deg, #1a3a2a 0%, #1f4a3a 100%);
    border-left-color: #00b894;
}

.darklayout .appointment-card .original-price {
    color: #666;
}

.darklayout .appointment-card .discounted-price {
    color: #00cec9;
}

/* Responsive */
@media (max-width: 768px) {
    .order-discount-badge {
        font-size: 11px;
        padding: 3px 10px;
        margin-left: 5px;
    }
    
    .order-discount-info {
        flex-direction: column;
        text-align: center;
    }
    
    .timeslot-discount-badge {
        font-size: 10px;
        padding: 2px 8px;
    }
}


/* ============================================
   ORDER DETAILS PAGE IMPROVEMENTS
   ============================================ */

/* Modern Card Layout */
.order-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.order-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 30px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.order-header h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.order-header .order-date {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.order-header .order-date::before {
    content: "📅";
    font-size: 16px;
}

/* Order Status Badge */
.order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.order-status-badge.pending {
    background: #ffeaa7;
    color: #d63031;
}

.order-status-badge.confirmed {
    background: #55efc4;
    color: #00b894;
}

.order-status-badge.completed {
    background: #74b9ff;
    color: #0984e3;
}

/* Section Cards */
.order-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.order-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.darklayout .order-section {
    background: #2d2d2d;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Section Headers */
.headingline {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform:uppercase;
    margin-top:10px !important;
}

.headingline::before {
    content: "";
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

.darklayout .headingline {
    color: #74b9ff;
}

.bottomline {
    display: none; /* Remove old style separator */
}

/* Customer Details Grid */
.customer-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s;
}

.detail-item:hover {
    background: #e9ecef;
    transform: translateX(3px);
}

.darklayout .detail-item {
    background: #1a1a1a;
    border-left-color: #74b9ff;
}

.darklayout .detail-item:hover {
    background: #252525;
}

.detail-item label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-item label::before {
    content: "•";
    color: var(--primary);
    font-size: 16px;
}

.detail-item strong {
    font-size: 15px;
    color: #212529;
    word-break: break-word;
}

.darklayout .detail-item strong {
    color: #e0e0e0;
}

.detail-item a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.detail-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Payment Section Enhanced */
.payment-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.darklayout .payment-summary {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.darklayout .payment-row {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-row.total {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    padding-top: 20px;
    margin-top: 10px;
    border-top: 2px solid var(--primary);
}

.payment-label {
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
}

.darklayout .payment-label {
    color: #adb5bd;
}

.payment-label .icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.payment-value {
    font-weight: 600;
    font-size: 16px;
    color: #212529;
}

.darklayout .payment-value {
    color: #e0e0e0;
}

.payment-value.discount {
    color: #d63031;
}

.payment-value.total {
    font-size: 24px;
    color: var(--primary);
}

/* Payment Method Badge */
.payment-method-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 15px;
}

.darklayout .payment-method-badge {
    background: #2d2d2d;
    border-color: #74b9ff;
    color: #74b9ff;
}

.payment-method-badge svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Tax Info */
.tax-info {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
    margin-left: 5px;
}

/* Booked Items Section */
.booked-items-container {
    margin-top: 30px;
}

.appointment-cards-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.appointment-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.appointment-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}

.appointment-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.darklayout .appointment-card {
    background: #2d2d2d;
    border-color: #3a3a3a;
}

.appointment-card > div {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.appointment-card > div:last-child {
    margin-bottom: 0;
}

.appointment-card strong {
    color: var(--primary);
    font-weight: 600;
    margin-right: 5px;
}

.darklayout .appointment-card strong {
    color: #74b9ff;
}

/* QR Code Styling */
.appointment-card img[src*="qrcode"] {
    display: block !important;
    margin: 15px auto 0;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Action Buttons */
.order-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    flex-wrap: wrap;
}

.darklayout .order-actions {
    background: #1a1a1a;
}

.order-actions .btn {
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 2px solid transparent;
}

.order-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 93, 134, 0.3);
}

.order-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 93, 134, 0.4);
}

.order-actions .btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.order-actions .btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.order-actions .btn-danger {
    background: #d63031;
    color: white;
    box-shadow: 0 4px 15px rgba(214, 48, 49, 0.3);
}

.order-actions .btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 48, 49, 0.4);
}

/* Notes Section */
.order-details--notes {
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.8;
    color: #495057;
}

.darklayout .order-details--notes {
    background: #2a2416;
    border-left-color: #ffc107;
    color: #e0e0e0;
}

/* Service Group Header */
.service-header-order-details {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 16px;
}

.service-header-order-details .count {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Loading State */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .order-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-header h2 {
        font-size: 24px;
    }
    
    .customer-details-grid {
        grid-template-columns: 1fr;
    }
    
    .appointment-cards-list {
        grid-template-columns: 1fr;
    }
    
    .payment-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .payment-value.total {
        font-size: 20px;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .order-details-container {
        padding: 10px;
    }
    
    .order-section {
        padding: 15px;
    }
    
    .detail-item {
        padding: 12px;
    }
    
    .payment-summary {
        padding: 15px;
    }
}

/* Print Styles */
@media print {
    .order-actions,
    .order-discount-badge,
    .btn {
        display: none !important;
    }
    
    .order-section {
        box-shadow: none;
        border: 1px solid #dee2e6;
        page-break-inside: avoid;
    }
    
    .order-header {
        background: white !important;
        color: black !important;
        border: 2px solid var(--primary);
    }
}

/* Accessibility Improvements */
.order-section:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus {
    outline: 3px solid rgba(44, 93, 134, 0.5);
    outline-offset: 2px;
}

/* Animation for new content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-section {
    animation: fadeInUp 0.5s ease-out;
}

.order-section:nth-child(1) { animation-delay: 0.1s; }
.order-section:nth-child(2) { animation-delay: 0.2s; }
.order-section:nth-child(3) { animation-delay: 0.3s; }
.order-section:nth-child(4) { animation-delay: 0.4s; }

/* ============================================
   SERVICES LIST (BOOKED ITEMS) IMPROVEMENTS
   ============================================ */

/* Container */
#listOrderServices {
    margin-top: 20px;
}

/* Date Group Header */
.date-group-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none !important;
}

.date-group-header td {
    padding: 15px 20px !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-group-header .date-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.darklayout .date-group-header {
    background: linear-gradient(135deg, #1a3a5a 0%, #2a4a6a 100%);
}

/* Modern Card Layout for Items */
.service-item-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-item-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 0%, rgba(44, 93, 134, 0.05) 100%);
    border-radius: 0 0 0 100%;
}

.service-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.darklayout .service-item-card {
    background: #2d2d2d;
    border-left-color: #74b9ff;
}

/* Service Item Header */
.service-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.service-item-title {
    flex: 1;
    min-width: 200px;
}

.service-item-title h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.darklayout .service-item-title h4 {
    color: #74b9ff;
}

.service-item-title .employee-name {
    font-size: 14px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.darklayout .service-item-title .employee-name {
    color: #adb5bd;
}

/* Service Item Actions */
.service-item-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.action-btn {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

.action-btn.remove {
    background: #fee;
    color: #d63031;
}

.action-btn.remove:hover {
    background: #d63031;
    color: white;
}

.action-btn.book-again {
    background: #14b8a6;
    color: #0f172a
}

.action-btn.book-again:hover {
    background: #059669;
    color: #FFF;
}

.action-btn.checkin {
    background: #e8f5e9;
    color: #00b894;
}

.action-btn.checkin:hover {
    background: #00b894;
    color: white;
}

.action-btn.checkin.checked {
    background: #00b894;
    color: white;
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Service Item Body */
.service-item-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.service-item-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-item-info .info-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-item-info .info-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary);
}

.darklayout .service-item-info .info-icon svg {
    fill: #74b9ff;
}

.service-item-info .info-content {
    flex: 1;
}

.service-item-info .info-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.darklayout .service-item-info .info-label {
    color: #adb5bd;
}

.service-item-info .info-value {
    font-size: 14px;
    color: #212529;
    font-weight: 500;
}

.darklayout .service-item-info .info-value {
    color: #e0e0e0;
}

/* Price Info with Discount */
.service-item-price {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.darklayout .service-item-price {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.price-row:last-child {
    margin-bottom: 0;
    padding-top: 8px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.darklayout .price-row:last-child {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.price-label {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.darklayout .price-label {
    color: #adb5bd;
}

.price-value {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
}

.darklayout .price-value {
    color: #e0e0e0;
}

.price-value.original {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}

.price-value.discounted {
    color: #00b894;
    font-size: 16px;
}

.price-value.total {
    color: var(--primary);
    font-size: 18px;
}

.darklayout .price-value.total {
    color: #74b9ff;
}

.discount-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #d63031;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

/* QR Code */
.service-item-qr {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.service-item-qr img {
    max-width: 150px;
    border-radius: 8px;
}

.service-item-qr .qr-label {
    font-size: 12px;
    color: #6c757d;
    margin-top: 8px;
    font-weight: 600;
}

/* Venue Info */
.venue-info {
    background: #fff9e6;
    border-left: 3px solid #ffc107;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.darklayout .venue-info {
    background: #2a2416;
}

.venue-info strong {
    color: #f39c12;
}

/* Slots Info */
.slots-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Zoom Meeting Link */
.zoom-meeting-link {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 3px solid #2196f3;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.darklayout .zoom-meeting-link {
    background: linear-gradient(135deg, #1a2a3a 0%, #2a3a4a 100%);
}

.zoom-meeting-link svg {
    width: 24px;
    height: 24px;
    fill: #2196f3;
    flex-shrink: 0;
}

.zoom-meeting-link a {
    color: #2196f3;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
}

.zoom-meeting-link a:hover {
    text-decoration: underline;
}

/* Rating Display */
.rating-display {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-display i {
    font-size: 16px;
}

.rating-display .icon-star {
    color: #ffc107;
}

.rating-display .icon-star.empty {
    color: #ccc;
}

/* Comment Button */
.comment-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.comment-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.comment-btn i {
    font-size: 14px;
}

/* Cancellation Notice */
.cancellation-notice {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #e74c3c;
    font-size: 12px;
    font-style: italic;
}

/* Status Indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.status-indicator.checked-in {
    background: #d4edda;
    color: #155724;
}

.status-indicator.not-checked-in {
    background: #f8d7da;
    color: #721c24;
}

.darklayout .status-indicator.checked-in {
    background: #1a3a2a;
    color: #00b894;
}

.darklayout .status-indicator.not-checked-in {
    background: #3a1a1a;
    color: #ff6b6b;
}

/* Empty State */
.no-bookings {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-bookings svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-bookings h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Hide old table on mobile */
@media (max-width: 768px) {
    .orderdetailstable {
        display: none;
    }
    
    .service-item-card {
        padding: 15px;
    }
    
    .service-item-header {
        flex-direction: column;
    }
    
    .service-item-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .service-item-body {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .service-item-qr {
        margin-top: 10px;
    }
    
    .date-group-header td {
        padding: 12px 15px !important;
        font-size: 14px;
    }
}

/* Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item-card {
    animation: slideInUp 0.4s ease-out;
}

/* Print Styles */
@media print {
    .service-item-actions,
    .action-btn,
    .comment-btn {
        display: none !important;
    }
    
    .service-item-card {
        box-shadow: none;
        border: 1px solid #dee2e6;
        page-break-inside: avoid;
    }
}


/* ============================================
   MODERN LOGIN POPUP
   ============================================ */

.osb-login-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.osb-login-overlay.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.osb-login-popup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.osb-login-overlay.active .osb-login-popup {
    transform: scale(1);
    opacity: 1;
}

.osb-login-header {
    background: linear-gradient(135deg, var(--primary, #2c5d86) 0%, var(--primary-dark, #234b6d) 100%);
    color: white;
    padding: 30px;
    border-radius: 20px 20px 0 0;
    position: relative;
    text-align: center;
}

.osb-login-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.osb-login-header .login-icon {
    width: 32px;
    height: 32px;
    fill: white;
}

.osb-login-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.osb-login-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.osb-login-body {
    padding: 30px;
}

.osb-login-description {
    text-align: center;
    color: #6c757d;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
}

.osb-form-group {
    margin-bottom: 20px;
}

.osb-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.osb-form-group label .required {
    color: #e74c3c;
    margin-left: 3px;
}

.osb-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.osb-form-input:focus {
    outline: none;
    border-color: var(--primary, #2c5d86);
    box-shadow: 0 0 0 3px rgba(44, 93, 134, 0.1);
}

.osb-form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.osb-form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.osb-form-checkbox label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.osb-login-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary, #2c5d86) 0%, var(--primary-dark, #234b6d) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(44, 93, 134, 0.3);
}

.osb-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 93, 134, 0.4);
}

.osb-login-submit:active {
    transform: translateY(0);
}

.osb-login-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.osb-login-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.osb-login-link {
    color: var(--primary, #2c5d86);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.osb-login-link:hover {
    color: var(--primary-dark, #234b6d);
    text-decoration: underline;
}

.osb-login-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #999;
    font-size: 13px;
}

.osb-login-divider::before,
.osb-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.osb-login-divider::before {
    margin-right: 10px;
}

.osb-login-divider::after {
    margin-left: 10px;
}

.osb-register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: var(--primary, #2c5d86);
    border: 2px solid var(--primary, #2c5d86);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.osb-register-btn:hover {
    background: var(--primary, #2c5d86);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 93, 134, 0.3);
}

.osb-login-error {
    background: #fee;
    border-left: 4px solid #e74c3c;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #721c24;
    font-size: 14px;
    display: none;
}

.osb-login-error.show {
    display: block;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Dark Layout Support */
.darklayout .osb-login-popup {
    background: #2d2d2d;
    color: #e0e0e0;
}

.darklayout .osb-login-body {
    background: #2d2d2d;
}

.darklayout .osb-form-group label {
    color: #e0e0e0;
}

.darklayout .osb-form-input {
    background: #1a1a1a;
    border-color: #3a3a3a;
    color: #e0e0e0;
}

.darklayout .osb-form-input:focus {
    border-color: #74b9ff;
    box-shadow: 0 0 0 3px rgba(116, 185, 255, 0.2);
}

.darklayout .osb-form-checkbox label {
    color: #adb5bd;
}

.darklayout .osb-login-description {
    color: #adb5bd;
}

.darklayout .osb-login-error {
    background: #3a1a1a;
    color: #ff8787;
}

.darklayout .osb-register-btn {
    background: #2d2d2d;
    color: #74b9ff;
    border-color: #74b9ff;
}

.darklayout .osb-register-btn:hover {
    background: #74b9ff;
    color: #2d2d2d;
}

/* Responsive */
@media (max-width: 768px) {
    .osb-login-popup {
        width: 95%;
        max-width: none;
        margin: 10px;
    }
    
    .osb-login-header {
        padding: 25px 20px;
    }
    
    .osb-login-header h2 {
        font-size: 24px;
    }
    
    .osb-login-body,
    .osb-login-footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .osb-login-header h2 {
        font-size: 20px;
    }
    
    .osb-login-close {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
}

/* Loading State */
.osb-login-submit.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.osb-login-submit.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* Login Later Button */
.osb-login-later {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    width: 100%;
}

.osb-login-later:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.osb-login-later svg {
    width: 18px;
    height: 18px;
}

.darklayout .osb-login-later {
    background: #495057;
    color: #e0e0e0;
}

.darklayout .osb-login-later:hover {
    background: #343a40;
}

/* Hide register section if registration disabled */
.osb-register-section {
    display: block;
}

.osb-register-section.hidden {
    display: none;
}

.osb-progress-container {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.osb-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    counter-reset: step;
}

/* Progress Line */
.osb-progress-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e0e0e0;
    z-index: 0;
    margin: 0 calc(50px / 2);
}

/* Step Item */
.osb-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 150px;
}

/* Step Circle */
.osb-step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 4px solid #e0e0e0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    margin-bottom: 12px;
}

.osb-step-circle .step-icon {
    width: 28px;
    height: 28px;
    color: #999;
    transition: all 0.3s;
}

.osb-step-circle .step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #666;
    transition: all 0.3s;
}

/* Step Title */
.osb-step-title {
    font-size: 13px;
    font-weight: 600;
    color: #999;
    text-align: center;
    transition: all 0.3s;
    line-height: 1.4;
}

.osb-progress-step.completed .step-icon {
    color: white;
}

/* Checkmark for completed */
.osb-progress-step.completed .osb-step-circle::after {
    content: '✓';
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

/* Dark Layout */
.darklayout .osb-progress-container {
    background: #2d2d2d;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.darklayout .osb-progress-steps::before {
    background: #3a3a3a;
}

.darklayout .osb-step-circle {
    background: #2d2d2d;
    border-color: #3a3a3a;
}

.darklayout .osb-step-title {
    color: #adb5bd;
}

.darklayout .osb-progress-step.current .osb-step-circle {
    background: #2d2d2d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .osb-progress-container {
        padding: 20px 15px;
    }
    
    .osb-step-circle {
        width: 50px;
        height: 50px;
    }
    
    .osb-step-circle .step-icon {
        width: 22px;
        height: 22px;
    }
    
    .osb-step-circle .step-number {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
    
    .osb-step-title {
        font-size: 11px;
    }
    
    .osb-progress-steps::before,
    .osb-progress-steps::after {
        top: 25px;
        margin: 0 calc(50px / 2);
    }
    
    .osb-progress-steps::after {
        margin-left: calc(50px / 2);
    }
}

@media (max-width: 480px) {
    .osb-progress-container {
        padding: 15px 10px;
    }
    
    .osb-progress-steps {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    .osb-progress-step {
        min-width: 80px;
    }
    
    .osb-step-circle {
        width: 44px;
        height: 44px;
    }
    
    .osb-step-circle .step-icon {
        width: 18px;
        height: 18px;
    }
    
    .osb-step-title {
        font-size: 10px;
        max-width: 80px;
    }
    
    .osb-progress-steps::before,
    .osb-progress-steps::after {
        top: 22px;
        margin: 0 calc(44px / 2);
    }
    
    .osb-progress-steps::after {
        margin-left: calc(44px / 2);
    }
}

.unavailable-box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.unavailable-box .sub_header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 15px;
}

.unavailable-content {
    padding: 20px 15px;
    background: #f8f9fa;
    text-align: center;
}

.unavailable-message {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    color: #856404;
    font-weight: 500;
    font-size: 14px;
}

.unavailable-message::before {
    content: "⚠️";
    font-size: 18px;
}

/* ========================================
   CUSTOMER CALENDAR IMPROVEMENTS
   ======================================== */

.customer-calendar-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    margin: 20px 0;
}

.darklayout .customer-calendar-wrapper {
    background: #2d2d2d;
}

/* Calendar Day Cells */
.calendar-day {
    padding: 0;
    vertical-align: top;
    border: 1px solid #e9ecef !important;
    background: #fff;
    transition: all 0.3s;
    position: relative;
}

.darklayout .calendar-day {
    background: #1a1a1a;
    border-color: #3a3a3a !important;
}

.calendar-day:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.darklayout .calendar-day:hover {
    background: #252525;
}

.calendar-day.today {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-color: #ffc107 !important;
}

.darklayout .calendar-day.today {
    background: linear-gradient(135deg, #2a2416 0%, #3a3416 100%);
}

.calendar-day.past {
    background: #f1f3f5;
    opacity: 0.6;
}

.darklayout .calendar-day.past {
    background: #1a1a1a;
    opacity: 0.5;
}

.calendar-day-wrapper {
    padding: 8px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
}

.calendar-day-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary, #2c5d86);
    margin-bottom: 8px;
    text-align: center;
}

.darklayout .calendar-day-number {
    color: #74b9ff;
}

.calendar-day.today .calendar-day-number {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.calendar-day.past .calendar-day-number {
    color: #999;
}

.calendar-day-content {
    flex: 1;
    font-size: 12px;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .customer-calendar-wrapper {
        margin: 10px 0;
    }
    
    .calendar-day-wrapper {
        min-height: 80px;
        padding: 5px;
    }
    
    .calendar-day-number {
        font-size: 14px;
    }
    
    .calendar-day.today .calendar-day-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .calendar-day-wrapper {
        min-height: 60px;
        padding: 3px;
    }
    
    .calendar-day-number {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .calendar-day.today .calendar-day-number {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .calendar-day-content {
        font-size: 10px;
    }
}

/* ========================================
   CALENDAR DAY BOOKINGS
   ======================================== */

.calendar-day-bookings {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 120px;
    overflow-y: auto;
    padding-right: 2px;
}

/* Custom Scrollbar */
.calendar-day-bookings::-webkit-scrollbar {
    width: 4px;
}

.calendar-day-bookings::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.calendar-day-bookings::-webkit-scrollbar-thumb {
    background: var(--primary, #2c5d86);
    border-radius: 10px;
}

.calendar-day-bookings::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark, #234b6d);
}

/* Booking Item */
.booking-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 3px solid var(--primary, #2c5d86);
    border-radius: 6px;
    padding: 6px 8px;
    transition: all 0.3s;
    position: relative;
}

.booking-item:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.darklayout .booking-item {
    background: linear-gradient(135deg, #2a2a2a 0%, #333 100%);
    border-left-color: #74b9ff;
}

.darklayout .booking-item:hover {
    background: linear-gradient(135deg, #333 0%, #3a3a3a 100%);
}

/* Booking Time */
.booking-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary, #2c5d86);
    margin-bottom: 4px;
}

.darklayout .booking-time {
    color: #74b9ff;
}

.booking-time svg {
    flex-shrink: 0;
    fill: currentColor;
}

.booking-time span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Booking Service */
.booking-service {
    font-size: 11px;
    color: #495057;
    line-height: 1.3;
    margin-bottom: 4px;
    padding-right: 20px;
}

.darklayout .booking-service {
    color: #adb5bd;
}

.booking-service span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}

/* Booking Actions */
.booking-actions {
    position: absolute;
    top: 6px;
    right: 6px;
}

.remove-booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(214, 48, 49, 0.1);
    border-radius: 4px;
    transition: all 0.3s;
    text-decoration: none;
}

.remove-booking-btn:hover {
    background: #d63031;
    transform: scale(1.1);
}

.remove-booking-btn svg {
    fill: #d63031;
    transition: fill 0.3s;
}

.remove-booking-btn:hover svg {
    fill: white;
}

/* Booking Count Badge */
.booking-count-badge {
    background: var(--primary, #2c5d86);
    color: white;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    padding: 4px 6px;
    border-radius: 4px;
    margin-top: 2px;
}

.darklayout .booking-count-badge {
    background: #74b9ff;
    color: #1a1a1a;
}

/* No Bookings State */
.no-bookings {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    color: #adb5bd;
    font-size: 11px;
}

.darklayout .no-bookings {
    color: #495057;
}

/* Today's Bookings Highlight */
.calendar-day.today .booking-item {
    border-left-color: #f39c12;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
}

.calendar-day.today .booking-item:hover {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
}

.darklayout .calendar-day.today .booking-item {
    background: linear-gradient(135deg, #2a2416 0%, #3a3416 100%);
}

.calendar-day.today .booking-time {
    color: #f39c12;
}

/* Past Day Bookings */
.calendar-day.past .booking-item {
    opacity: 0.7;
    filter: grayscale(50%);
}

.calendar-day.past .booking-time,
.calendar-day.past .booking-service {
    color: #999;
}

.calendar-day.past .remove-booking-btn {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .calendar-day-bookings {
        max-height: 100px;
        gap: 4px;
    }
    
    .booking-item {
        padding: 4px 6px;
    }
    
    .booking-time {
        font-size: 10px;
    }
    
    .booking-service {
        font-size: 10px;
    }
    
    .booking-time svg {
        width: 10px;
        height: 10px;
    }
    
    .remove-booking-btn {
        width: 18px;
        height: 18px;
    }
    
    .remove-booking-btn svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .calendar-day-bookings {
        max-height: 80px;
        gap: 3px;
    }
    
    .booking-item {
        padding: 3px 5px;
    }
    
    .booking-time {
        font-size: 9px;
        gap: 2px;
    }
    
    .booking-service {
        font-size: 9px;
        padding-right: 16px;
    }
    
    .booking-count-badge {
        font-size: 9px;
        padding: 3px 5px;
    }
}

/* Tooltip Enhancement */
.hasTip.hasTooltip {
    cursor: help;
    border-bottom: 1px dotted currentColor;
    text-decoration: none;
}

.hasTip.hasTooltip:hover {
    border-bottom-style: solid;
}

/* Animation */
@keyframes slideInBooking {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-item {
    animation: slideInBooking 0.3s ease-out;
}

.booking-item:nth-child(1) { animation-delay: 0s; }
.booking-item:nth-child(2) { animation-delay: 0.05s; }
.booking-item:nth-child(3) { animation-delay: 0.1s; }
.booking-item:nth-child(4) { animation-delay: 0.15s; }

.employee-settings-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.employee-settings-container .osb-form-input {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.employee-settings-container .osb-form-input:focus {
    outline: none;
    border-color: var(--primary, #2c5d86);
    box-shadow: 0 0 0 3px rgba(44, 93, 134, 0.1);
}

.employee-settings-container .table {
    margin-bottom: 0;
}

.employee-settings-container .table thead th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #495057;
}

.employee-settings-container .table tbody tr {
    transition: all 0.3s;
}

.employee-settings-container .table tbody tr:hover {
    background: #f8f9fa;
    transform: translateX(2px);
}

.darklayout .employee-settings-container .osb-form-input {
    background: #1a1a1a;
    border-color: #3a3a3a;
    color: #e0e0e0;
}

.darklayout .employee-settings-container .osb-form-input:focus {
    border-color: #74b9ff;
    box-shadow: 0 0 0 3px rgba(116, 185, 255, 0.2);
}

.darklayout .employee-settings-container .table thead th {
    background: linear-gradient(135deg, #2a2a2a 0%, #333 100%);
    color: #adb5bd;
}

.darklayout .employee-settings-container .table tbody tr:hover {
    background: #2a2a2a;
}

/* Responsive */
@media (max-width: 768px) {
    .employee-settings-container {
        padding: 10px;
    }
    
    .employee-settings-container .osb-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .employee-settings-container .osb-header .buttons {
        width: 100%;
    }
    
    .employee-settings-container .osb-header .buttons a {
        width: 100%;
        justify-content: center;
    }
    
    .employee-settings-container .service-item-card {
        padding: 12px;
    }
    
    .employee-settings-container .customer-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Fix Calendar Display */
.employee-settings-container .field-calendar {
    width: 100% !important;
    display: block !important;
}

.employee-settings-container .field-calendar .input-group,
.employee-settings-container .field-calendar .input-append {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
}

.employee-settings-container .field-calendar input[type="text"] {
    flex: 1 !important;
    border-radius: 8px 0 0 8px !important;
    border-right: none !important;
    margin: 0 !important;
}

.employee-settings-container .field-calendar .btn,
.employee-settings-container .field-calendar .add-on,
.employee-settings-container .field-calendar button {
    border-radius: 0 8px 8px 0 !important;
    background: var(--primary, #2c5d86) !important;
    border-color: var(--primary, #2c5d86) !important;
    color: white !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border-left: 1px solid rgba(255,255,255,0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.employee-settings-container .field-calendar .btn:hover,
.employee-settings-container .field-calendar button:hover {
    background: var(--primary-dark, #1e4059) !important;
}

/* Fix icon inside button */
.employee-settings-container .field-calendar .btn i,
.employee-settings-container .field-calendar button i {
    color: white !important;
    font-size: 16px !important;
}

/* Dark mode */
.darklayout .employee-settings-container .field-calendar .btn,
.darklayout .employee-settings-container .field-calendar button {
    background: #74b9ff !important;
    border-color: #74b9ff !important;
}

.darklayout .employee-settings-container .field-calendar .btn:hover,
.darklayout .employee-settings-container .field-calendar button:hover {
    background: #5fa3e8 !important;
}
