@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,700");
/*
@mixin mobile {

}

@mixin tablet {

}

@mixin lg {
  @media (min-width: 992px) and (max-width: 1199px) {
    @content;
  }
}

@mixin md {
  @media (min-width: 768px) and (max-width: 991px) {
    @content;
  }
}

@mixin sm {
  @media (max-width:767px) { //(min-width: 480px) and 
    @content;
  }
}

@mixin sx {
  @media (max-width: 480px) { // (max-width: 479px) 
    @content;
  }
}

*/
.isdebug.hide, .isdebug.hidden,
.debug.hide,
.debug.hidden {
  display: none !important;
}

html {
  background: white;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

h1 {
  font-size: 22px;
  margin: 10px 0;
  font-weight: 300;
  text-transform: uppercase;
}

h2 {
  font-size: 18px;
  font-weight: 300;
  margin: 10px 0;
}

h3 {
  font-size: 20px;
  font-weight: 400;
  margin: 10px 0;
}

img {
  border: 0px;
}

#main {
  margin-right: auto;
  margin-left: auto;
  width: 772px;
}

#topmargin {
  height: 15px;
}

.panel {
  border-width: 2px;
}

.bodydiv {
  width: 800px;
  background-image: url(images/bg_body.png);
  height: 340px;
}

.tailaddress {
  width: 286px;
  position: absolute;
  color: #6a3b3b;
  font-size: 14px;
  font-family: Times New Roman;
  right: 50px;
  bottom: 30px;
}

form {
  border: 0px;
  margin: 0;
  padding: 0;
}

/*
input[type=text], textarea, select
{
	margin:0px;
	border:solid 1px #666;
	padding:3px;
}
*/
select {
  padding: 0;
}

a {
  color: rgb(24, 188, 156);
  text-decoration: none;
}
a.btn, a.btn:visited, a.btn:active, a.btn:focus, a.btn:hover, a.btn.btn-success {
  color: white !important;
}

a:visited {
  text-decoration: none;
  color: rgb(24, 188, 156);
}

a:hover {
  color: rgb(18.2264150943, 142.7735849057, 118.4716981132);
  text-decoration: none;
  /* background-color: #ffff00; */
}

a:active {
  color: rgb(18.2264150943, 142.7735849057, 118.4716981132);
  text-decoration: none;
}

.logoimg {
  width: 90px;
  float: left;
  padding-right: 10px;
}

.r {
  text-align: right;
}

.l {
  text-align: left;
}

.c {
  text-align: center;
}

.efield {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: #aaa;
}

.soap-content .efield {
  color: #18bc9c;
}

#errmsg {
  color: Red;
  font-weight: bold;
}

/*div[ng-app] {
  margin: 10px;
}*/
form[name=editableForm] > div,
.field-detail > div {
  height: auto;
  padding: 5px 0;
}
form[name=editableForm] .title,
.field-detail .title {
  display: inline-block;
  font-weight: bold;
  padding-top: 5px;
  vertical-align: top;
  min-width: 20%;
}
form[name=editableForm] .editable,
.field-detail .editable {
  width: 70%;
  display: inline-block;
  padding-top: 5px;
  vertical-align: top;
}
form[name=editableForm] .editable-wrap,
.field-detail .editable-wrap {
  width: 70%;
}
form[name=editableForm],
.field-detail {
  /*select {
    width: 120px;
  }*/
}
form[name=editableForm].usereditform select,
.field-detail.usereditform select {
  width: 100%;
  height: 200px;
}

/* temporary workaround for display editable-bstime in bs3 - up/down symbols not shown */
.editable-bstime .editable-input i.icon-chevron-up:before {
  content: "\e113";
}
.editable-bstime .editable-input i.icon-chevron-down:before {
  content: "\e114";
}
.editable-bstime .editable-input i.icon-chevron-up,
.editable-bstime .editable-input i.icon-chevron-down {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: "Glyphicons Halflings";
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}

.menu:after {
  content: "";
  display: table;
  clear: both;
}

.main:after {
  content: "";
  display: table;
  clear: both;
}

.errormsg {
  color: #fba0a0 !important;
}

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

.ng-submitted .form-control.ng-invalid {
  border-color: red;
}

.margin-10 {
  margin: 10px;
}

.voucher-body {
  border: 1px solid #dddddd;
  padding: 5px;
}

@media (max-width: 767px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .container .row {
    margin-left: -5px;
    margin-right: -5px;
  }
  .container .col-md-7, .container .col-md-6, .container .col-md-5, .container .col-md-4, .container .col-md-3, .container .col-md-2, .container .col-md-1,
  .container .col-sm-7, .container .col-sm-6, .container .col-sm-5, .container .col-sm-4, .container .col-sm-3, .container .col-sm-2, .container .col-sm-1,
  .container .col-xs-7, .container .col-xs-6, .container .col-xs-5, .container .col-xs-4, .container .col-xs-3, .container .col-xs-2, .container .col-xs-1 {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.container.container-left {
  margin-left: 0px;
}
@media (max-width: 767px) {
  .container.container-left {
    margin-left: auto;
  }
}

.container.container-1225px {
  max-width: 1225px;
  width: 100%;
}

section {
  display: initial;
}

.modal-document-upload .drop-box {
  background: #f8f8f8;
  border: 5px dashed #ddd;
  width: 100%;
  height: 80px;
  text-align: center;
  padding-top: 25px;
  cursor: pointer;
}
.modal-document-upload .loading {
  height: 80px;
}
.modal-document-upload .loading img {
  display: block;
  padding-top: 30px;
  margin: 0 auto 0 auto;
}

.dragover {
  border: 5px dashed blue;
}

.breadcrumb {
  margin-bottom: 10px;
}

loading.show {
  display: inline-block !important;
  margin-left: 5px;
  margin-right: 5px;
}

.form-group {
  margin-bottom: 5px;
}

.StripeElement {
  background-color: white;
  height: 40px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-shadow: 0 1px 3px 0 #e6ebf1;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.report-missed-customers .missed-chart {
  width: 100%;
  display: flex;
  align-items: stretch;
}
.report-missed-customers .missed-chart .days {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-grow: 1;
}
.report-missed-customers .missed-chart .days .times {
  align-items: stretch;
  flex-grow: 1;
}
.report-missed-customers .missed-chart .cell {
  height: 22px;
  border: 1px solid #efefef;
  text-align: center;
}

.badge.discount-badge {
  font-weight: 400;
  border-radius: 3px;
  padding: 2px 3px;
  font-size: 11px;
  background-color: #337ab7;
}

.label-value {
  display: flex;
  flex-direction: column;
  margin-bottom: 5px;
}
.label-value > label {
  font-size: 12px;
  font-weight: normal;
  color: #888;
  margin-bottom: 0;
}
.label-value > .value {
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.healthfund-badge {
  color: #1b9bd8;
}

.flex-line {
  display: flex;
  align-items: center;
  gap: 5px;
}

.flex-line-space-between {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
}

.margin-top-0 {
  margin-top: 0px;
}

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

.margin-top-2 {
  margin-top: 2px;
}

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

.margin-top-5 {
  margin-top: 5px;
}

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

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

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

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

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

.navbar-nav > li > a {
  padding: 10px 10px 5px 10px;
}

.pac-container {
  z-index: 10000 !important;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  font-family: "Roboto", sans-serif;
}
.pac-container .pac-item {
  padding: 8px 12px;
  cursor: pointer;
}
.pac-container .pac-item:hover {
  background-color: #f5f5f5;
}
.pac-container .pac-item.pac-item-selected {
  background-color: #e8f0fe;
}

/*.navbar-nav.nav-justified > li {
  float: none;
}*/
.toplogo {
  height: 36px;
  background-image: url(../img/top_bg.jpg);
}
.toplogo .logo-color-bg {
  float: left;
  width: 86px;
  height: 36px;
  background-image: url(../img/logo_color_bg.jpg);
  background-repeat: no-repeat;
}
@media (max-width: 767px) {
  .toplogo .logo-color-bg {
    margin-left: 0;
  }
}
@media (max-width: 767px) {
  .toplogo.container-fluid {
    padding-left: 3px;
    padding-right: 0;
  }
}
.toplogo .topnav {
  margin-bottom: 0;
  display: block;
  float: right;
  list-style: none;
  line-height: 36px;
  height: 36px;
}
@media (max-width: 767px) {
  .toplogo .topnav select {
    max-width: 190px;
  }
}

.navbar {
  margin-bottom: 5px;
  min-height: initial;
}
.navbar:after {
  content: "";
  display: table;
  clear: both;
}
.navbar .logo {
  height: 40px;
}
.navbar .navbar-brand {
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
}
.page-header {
  border-bottom: none;
}

/* menu */
/*.menu a {
  height: 29px;
  display: block;
}*/
@keyframes blink {
  0% {
    background-color: rgba(1, 1, 1, 0);
  }
  70% {
    background-color: #a7e4fb;
  }
  100% {
    background-colro: rgba(1, 1, 1, 0);
  }
}
.salepage {
  color-scheme: light !important;
}

@supports selector(:has(*)) {
  html:has(.salepage) {
    color-scheme: light !important;
  }
}
.salepage {
  width: 100%;
  max-width: none;
  overflow-x: hidden;
}
.salepage .shopname {
  font-size: 18px;
}
.salepage .salealert {
  font-size: 15px;
}
.salepage .timeline {
  display: block;
  width: 100%;
}
.salepage .timelinediv .op {
  margin-top: 3px;
}
.salepage .timelinediv .div-timeline {
  width: 100%;
  max-width: 1140px;
  overflow-x: auto;
}
@media (max-width: 767px) {
  .salepage .timelinediv .div-timeline {
    overflow-x: hidden;
  }
}
.salepage .timelinediv .timeline-conrol {
  width: 100%;
  max-width: none;
}
.salepage .timelinediv.timeline-fullscreen {
  max-width: none;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
  z-index: 1;
}
.salepage .timelinediv.timeline-fullscreen .div-timeline {
  max-width: none;
  width: 100%;
  overflow-x: hidden;
}
.salepage .timelinediv.timeline-fullscreen .timeline-conrol {
  max-width: none;
  width: 100%;
}
.salepage .datefield {
  font-size: 22px;
}
.salepage .salectrl .menuitem,
.salepage .salectrl .duration,
.salepage .salectrl .staff,
.salepage .salectrl .paymentmethod,
.salepage .salectrl .massagetable {
  padding-right: 5px;
}
.salepage .salectrl .menuitem input,
.salepage .salectrl .duration input,
.salepage .salectrl .staff input,
.salepage .salectrl .paymentmethod input,
.salepage .salectrl .massagetable input {
  margin-right: 2px;
}
.salepage .paymentdetail .form-group {
  margin-bottom: 3px;
}
.salepage .staffhistory {
  height: 40px;
  font-size: 14px;
  margin-bottom: 2px;
}
.salepage .staffhistory:after {
  content: "";
  display: table;
  clear: both;
}
.salepage .staffhistory .item {
  border: 1px solid #666666;
  height: 40px;
  width: 40px;
  line-height: 18px;
  float: left;
  margin-right: 2px;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
}
@media (max-width: 767px) {
  .salepage .staffhistory .item {
    width: 30px;
    font-size: 10px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .salepage .staffhistory .item {
    width: 30px;
  }
}
.salepage .staffhistory .item.active {
  background: #a7e4fb;
}
.salepage .staffhistory .staff {
  margin-top: 0px;
  margin-left: 3px;
  font-size: 14px;
}
.salepage .healthfundwarning {
  background-color: rgba(255, 255, 0, 0.3);
}
.salepage .op {
  float: right;
}
.salepage .displaynone {
  display: none;
}
.salepage .newbookingdiv {
  display: inline-block;
}
.salepage .salesline_5 {
  height: 180px;
}
.salepage .salesline_10 {
  height: 330px;
}
.salepage .salesline_15 {
  height: 480px;
}
.salepage .salesline_20 {
  height: 630px;
}
.salepage .salesline_25 {
  height: 780px;
}
.salepage .salesline_30 {
  height: 930px;
}
.salepage .salesline_0 {
  height: auto;
}
.salepage .full button span {
  background-color: limegreen;
  border-radius: 32px;
  color: black;
}
.salepage .partially button span {
  background-color: orange;
  border-radius: 32px;
  color: black;
}
.salepage .salelist {
  background: transparent;
  color: #000;
}
.salepage .salelist h2 {
  color: #000;
}
.salepage .salelist .current {
  background: #defebb;
}
.salepage .salelist .current td {
  background: #defebb;
}
.salepage .salelist .table-responsive {
  overflow-y: visible !important;
}
.salepage .salelist .salelisttable {
  margin-bottom: 0px;
}
.salepage .salelist .salelisttable tbody tr:last-child {
  border-bottom: 1px solid #ddd;
}
.salepage .salelist .salelisttable .dropdown-menu {
  left: auto;
  right: 0px;
}
.salepage .salelist .visittype1 {
  background-color: #bde8c3;
}
.salepage .salelist .visittype2 {
  background-color: #d2dbe8;
}
.salepage .salelist .sale-cards-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0px;
}
.salepage .salelist .sale-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 6px;
  transition: all 0.2s ease;
  position: relative;
}
.salepage .salelist .sale-card:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-color: #bbb;
}
.salepage .salelist .sale-card.current {
  background: #defebb;
  border-color: #5cb85c;
}
.salepage .salelist .sale-card.sale-card {
  border-left: 6px solid #ddd;
}
.salepage .salelist .sale-card.healthfundwarning {
  background-color: #fce4c3;
}
.salepage .salelist .sale-card.visittype1 {
  border-left: 6px solid #bde8c3;
}
.salepage .salelist .sale-card.visittype2 {
  border-left: 6px solid #d2dbe8;
}
.salepage .salelist .sale-card.unpaid {
  background-color: #ffb3ba !important;
  border-color: #ff9aa2 !important;
}
.salepage .salelist .sale-card.unpaid.current {
  background-color: #fff3cd !important;
  border-color: #ffeaa7 !important;
}
.salepage .salelist .sale-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.salepage .salelist .sale-time {
  font-weight: bold;
  font-size: 13px;
  color: #333;
}
.salepage .salelist .sale-time .sale-number {
  color: #666;
  font-weight: normal;
  margin-right: 4px;
}
.salepage .salelist .sale-actions {
  display: flex;
  align-items: center;
}
.salepage .salelist .sale-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.salepage .salelist .sale-menu {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.salepage .salelist .menu-name {
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.salepage .salelist .menu-price {
  font-weight: bold;
  color: #5cb85c;
  white-space: nowrap;
}
.salepage .salelist .sale-details {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.salepage .salelist .sale-payment {
  display: flex;
  align-items: center;
}
.salepage .salelist .payment-methods {
  display: flex;
  gap: 1px;
}
.salepage .salelist .payment-method {
  display: inline-block;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 3px;
  background: #f5f5f5;
  color: #333;
  min-width: 20px;
  text-align: center;
  white-space: nowrap;
}
.salepage .salelist .payment-method.cs {
  background: #5cb85c;
  color: white;
}
.salepage .salelist .payment-method.cd {
  background: #337ab7;
  color: white;
}
.salepage .salelist .payment-method.vc {
  background: #f0ad4e;
  color: white;
}
.salepage .salelist .payment-method.hf {
  background: #d9534f;
  color: white;
}
.salepage .salelist .payment-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.salepage .salelist .payment-dot:hover {
  transform: scale(1.2);
}
.salepage .salelist .payment-dot.cs {
  background: #5cb85c;
}
.salepage .salelist .payment-dot.cd {
  background: #337ab7;
}
.salepage .salelist .payment-dot.vc {
  background: #f0ad4e;
}
.salepage .salelist .payment-dot.hf {
  background: #d9534f;
}
.salepage .salelist .sale-staff {
  display: flex;
  align-items: center;
}
.salepage .salelist .staff-name {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}
.salepage .salelist .sale-customer {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
}
.salepage .salelist .sale-customer a {
  color: #337ab7;
  text-decoration: none;
}
.salepage .salelist .sale-customer a:hover {
  text-decoration: none;
}
.salepage .salelist .healthfund-indicator {
  cursor: pointer;
}
.salepage .salelist .healthfund-indicator:hover {
  r: 4;
  fill: #ff6666;
}
.salepage .salelist .timelineitemtext {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: calc(100% - 20px);
}
.salepage .salelist .no-sales {
  text-align: center;
  padding: 20px;
  color: #999;
  font-style: italic;
}
.salepage .salelist .discount-badge {
  background-color: #f0ad4e;
  color: white;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 2px;
}
@media (min-width: 768px) and (max-width: 991px) {
  .salepage .salelist .sale-card-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .salepage .salelist .sale-details {
    width: 100%;
    justify-content: space-between;
  }
  .salepage .salelist .sale-menu {
    width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .salepage .salelist .customer-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .salepage .salelist .customer-actions {
    align-self: flex-end;
  }
  .salepage .salelist .customer-contact {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .salepage .salelist .contact-item {
    flex: 1;
    min-width: 120px;
  }
}
@media (prefers-color-scheme: dark) {
  .salepage .salelist {
    background: transparent !important;
    background-color: transparent !important;
    color: #000 !important;
  }
  .salepage .salelist h2 {
    color: #000 !important;
  }
  .salepage .salelist .current {
    background: #defebb !important;
    background-color: #defebb !important;
  }
  .salepage .salelist .current td {
    background: #defebb !important;
    background-color: #defebb !important;
  }
  .salepage .salelist .visittype1 {
    background-color: #bde8c3 !important;
  }
  .salepage .salelist .visittype2 {
    background-color: #d2dbe8 !important;
  }
  .salepage .salelist .sale-card {
    background: #fff !important;
    background-color: #fff !important;
    border-color: #ddd !important;
    color: #000 !important;
  }
  .salepage .salelist .sale-card:hover {
    border-color: #bbb !important;
    background: #fff !important;
    background-color: #fff !important;
  }
  .salepage .salelist .sale-card.current {
    background: #defebb !important;
    background-color: #defebb !important;
    border-color: #5cb85c !important;
  }
  .salepage .salelist .sale-card.healthfundwarning {
    background-color: #fce4c3 !important;
    background: #fce4c3 !important;
  }
  .salepage .salelist .sale-card.visittype1 {
    border-left-color: #bde8c3 !important;
  }
  .salepage .salelist .sale-card.visittype2 {
    border-left-color: #d2dbe8 !important;
  }
  .salepage .salelist .sale-card.unpaid {
    background-color: #ffb3ba !important;
    background: #ffb3ba !important;
    border-color: #ff9aa2 !important;
  }
  .salepage .salelist .sale-card.unpaid.current {
    background-color: #fff3cd !important;
    background: #fff3cd !important;
    border-color: #ffeaa7 !important;
  }
  .salepage .salelist .sale-time {
    color: #333 !important;
  }
  .salepage .salelist .sale-time .sale-number {
    color: #666 !important;
  }
  .salepage .salelist .menu-name {
    color: #333 !important;
  }
  .salepage .salelist .menu-price {
    color: #5cb85c !important;
  }
  .salepage .salelist .staff-name {
    color: #666 !important;
  }
  .salepage .salelist .sale-customer a {
    color: #337ab7 !important;
  }
  .salepage .salelist .sale-actions .btn.btn-primary .glyphicon,
  .salepage .salelist .sale-actions .btn.btn-primary .caret,
  .salepage .salelist .sale-actions .btn.btn-primary i, .salepage .salelist .sale-actions .btn.btn-success .glyphicon,
  .salepage .salelist .sale-actions .btn.btn-success .caret,
  .salepage .salelist .sale-actions .btn.btn-success i {
    color: #fff !important;
  }
  .salepage .salelist .payment-method {
    background: #f5f5f5 !important;
    color: #333 !important;
  }
  .salepage .salelist .payment-method.cs {
    background: #5cb85c !important;
    color: white !important;
  }
  .salepage .salelist .payment-method.cd {
    background: #337ab7 !important;
    color: white !important;
  }
  .salepage .salelist .payment-method.vc {
    background: #f0ad4e !important;
    color: white !important;
  }
  .salepage .salelist .payment-method.hf {
    background: #d9534f !important;
    color: white !important;
  }
  .salepage .salelist .payment-dot.cs {
    background: #5cb85c !important;
  }
  .salepage .salelist .payment-dot.cd {
    background: #337ab7 !important;
  }
  .salepage .salelist .payment-dot.vc {
    background: #f0ad4e !important;
  }
  .salepage .salelist .payment-dot.hf {
    background: #d9534f !important;
  }
  .salepage .salelist .no-sales {
    color: #999 !important;
  }
  .salepage .salelist .discount-badge {
    background-color: #f0ad4e !important;
    color: white !important;
  }
}
.salepage .inputlabel {
  height: 35px;
  line-height: 35px;
  padding-left: 5px;
}
.salepage .bookinginput ul.customerlist {
  margin-top: 5px;
  border: 1px solid #ddd;
  max-height: 200px;
  list-style-type: none;
  padding-left: 0;
  overflow-x: hidden;
  overflow-y: scroll;
}
.salepage .bookinginput ul.customerlist li a {
  padding-left: 5px;
  display: block;
  height: 35px;
  line-height: 35px;
  border-bottom: 1px solid #ddd;
  border-collapse: collapse;
  cursor: pointer;
}
.salepage .bookingcontainer {
  padding-bottom: 50px;
}
.salepage .bookingcontainer .bookinglist {
  padding-bottom: 15px;
}
.salepage .bookingcontainer .bookinglist .current {
  background: #defebb;
}
.salepage .bookingcontainer .bookinglist .current td {
  background: #defebb;
}
.salepage .bookingcontainer .bookinglist .booking-cards-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0px;
}
.salepage .bookingcontainer .bookinglist .booking-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 6px;
  transition: all 0.2s ease;
  position: relative;
}
.salepage .bookingcontainer .bookinglist .booking-card:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-color: #bbb;
}
.salepage .bookingcontainer .bookinglist .booking-card.current {
  background: #defebb;
  border-color: #5cb85c;
}
.salepage .bookingcontainer .bookinglist .booking-card.status-booked {
  border-left: 6px solid #337ab7;
}
.salepage .bookingcontainer .bookinglist .booking-card.status-attended {
  border-left: 6px solid #5cb85c;
}
.salepage .bookingcontainer .bookinglist .booking-card.status-noshow {
  border-left: 6px solid #d9534f;
}
.salepage .bookingcontainer .bookinglist .booking-card.status-canceled {
  border-left: 6px solid #f0ad4e;
}
.salepage .bookingcontainer .bookinglist .booking-card.status-pending {
  border-left: 6px solid #5bc0de;
}
.salepage .bookingcontainer .bookinglist .booking-card.status-rejected {
  border-left: 6px solid #d9534f;
}
.salepage .bookingcontainer .bookinglist .booking-card.status-confirming {
  border-left: 6px solid #aaaaaa;
}
.salepage .bookingcontainer .bookinglist .booking-card.status-confirmed {
  border-left: 6px solid #4a90e2;
}
.salepage .bookingcontainer .bookinglist .booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}
.salepage .bookingcontainer .bookinglist .booking-time {
  font-weight: bold;
  font-size: 13px;
  color: #333;
}
.salepage .bookingcontainer .bookinglist .booking-time .booking-number {
  color: #666;
  font-weight: normal;
  margin-right: 4px;
}
.salepage .bookingcontainer .bookinglist .booking-actions .btn {
  margin-right: 3px;
}
.salepage .bookingcontainer .bookinglist .booking-actions .btn:last-child {
  margin-right: 0px;
}
.salepage .bookingcontainer .bookinglist .booking-card-body {
  display: flex;
  flex-direction: row;
  gap: 5px;
}
.salepage .bookingcontainer .bookinglist .booking-main-info {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
  font-size: 12px;
}
.salepage .bookingcontainer .bookinglist .booking-main-info .booking-people {
  background: #e7f3ff;
  color: #0066cc;
  padding: 1px 3px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 12px;
}
.salepage .bookingcontainer .bookinglist .booking-main-info .booking-duration {
  background: #f0f8ff;
  color: #0066cc;
  padding: 1px 3px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 12px;
}
.salepage .bookingcontainer .bookinglist .booking-main-info .booking-menu {
  font-weight: 500;
  color: #333;
  font-size: 12px;
}
.salepage .bookingcontainer .bookinglist .booking-main-info .booking-staff {
  color: #666;
  font-style: italic;
  font-size: 12px;
}
.salepage .bookingcontainer .bookinglist .booking-customer-line {
  display: flex;
  align-items: center;
  row-gap: 0px;
  column-gap: 5px;
  flex-wrap: wrap;
  font-size: 12px;
}
.salepage .bookingcontainer .bookinglist .booking-customer-line .mobile {
  font-size: 14px;
}
.salepage .bookingcontainer .bookinglist .customer-name {
  font-weight: 500;
  color: #333;
}
.salepage .bookingcontainer .bookinglist .customer-name a {
  color: #0066cc;
  text-decoration: none;
}
.salepage .bookingcontainer .bookinglist .customer-name a:hover {
  text-decoration: none;
}
.salepage .bookingcontainer .bookinglist .customer-contact {
  color: #666;
}
.salepage .bookingcontainer .bookinglist .booking-note {
  color: #666;
  font-style: italic;
}
.salepage .bookingcontainer .bookinglist .booking-note .glyphicon-comment {
  margin-right: 2px;
}
.salepage .bookingcontainer .bookinglist .no-bookings {
  text-align: center;
  color: #999;
  font-style: italic;
  padding: 20px;
}
@media (prefers-color-scheme: dark) {
  .salepage .bookingcontainer .bookinglist {
    background: transparent !important;
    background-color: transparent !important;
    color: #000 !important;
  }
  .salepage .bookingcontainer .bookinglist h2 {
    color: #000 !important;
  }
  .salepage .bookingcontainer .bookinglist .current {
    background: #defebb !important;
    background-color: #defebb !important;
  }
  .salepage .bookingcontainer .bookinglist .current td {
    background: #defebb !important;
    background-color: #defebb !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-card {
    background: #fff !important;
    background-color: #fff !important;
    border-color: #ddd !important;
    color: #000 !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-card:hover {
    border-color: #bbb !important;
    background: #fff !important;
    background-color: #fff !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-card.current {
    background: #defebb !important;
    background-color: #defebb !important;
    border-color: #5cb85c !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-card.status-booked {
    border-left-color: #337ab7 !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-card.status-attended {
    border-left-color: #5cb85c !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-card.status-noshow {
    border-left-color: #d9534f !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-card.status-canceled {
    border-left-color: #f0ad4e !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-card.status-pending {
    border-left-color: #5bc0de !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-card.status-rejected {
    border-left-color: #d9534f !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-card.status-confirming {
    border-left-color: #aaaaaa !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-card.status-confirmed {
    border-left-color: #4a90e2 !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-time {
    color: #333 !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-time .booking-number {
    color: #666 !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-main-info .booking-people {
    background: #e7f3ff !important;
    background-color: #e7f3ff !important;
    color: #0066cc !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-main-info .booking-duration {
    background: #f0f8ff !important;
    background-color: #f0f8ff !important;
    color: #0066cc !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-main-info .booking-menu {
    color: #333 !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-main-info .booking-staff {
    color: #666 !important;
  }
  .salepage .bookingcontainer .bookinglist .customer-name {
    color: #333 !important;
  }
  .salepage .bookingcontainer .bookinglist .customer-name a {
    color: #0066cc !important;
  }
  .salepage .bookingcontainer .bookinglist .customer-contact {
    color: #666 !important;
  }
  .salepage .bookingcontainer .bookinglist .booking-note {
    color: #666 !important;
  }
  .salepage .bookingcontainer .bookinglist .no-bookings {
    color: #999 !important;
  }
}
.salepage .bookingcontainer .customer-cards-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0px;
}
.salepage .bookingcontainer .customer-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 8px;
  transition: all 0.2s ease;
  position: relative;
}
.salepage .bookingcontainer .customer-card:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-color: #bbb;
}
.salepage .bookingcontainer .customer-card.current {
  background: #defebb;
  border-color: #5cb85c;
}
.salepage .bookingcontainer .customer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.salepage .bookingcontainer .customer-name {
  font-weight: 500;
  font-size: 14px;
  color: #333;
}
.salepage .bookingcontainer .customer-name a {
  color: #0066cc;
  text-decoration: none;
}
.salepage .bookingcontainer .customer-name a:hover {
  color: #0066cc;
  text-decoration: none;
}
.salepage .bookingcontainer .customer-name .glyphicon-flag {
  margin-left: 4px;
}
.salepage .bookingcontainer .customer-actions .btn-group .btn {
  padding: 2px 6px;
}
.salepage .bookingcontainer .customer-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.salepage .bookingcontainer .customer-contact {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.salepage .bookingcontainer .contact-item {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  color: #666;
}
.salepage .bookingcontainer .contact-item .glyphicon {
  color: #999;
  font-size: 12px;
  width: 12px;
  text-align: center;
}
.salepage .bookingcontainer .contact-item .contact-value {
  color: #333;
}
.salepage .bookingcontainer .no-customers {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 4px;
  border: 1px dashed #ddd;
}
.salepage .saleinput .staffselect .isbusy {
  color: red;
}
.salepage .saleinput .staffselect .isbusy.less10min {
  color: blue;
}
.salepage .saleinput .timebutton .current {
  background: #defebb;
}
.salepage .salecontainer {
  background: #ffffff;
  padding-bottom: 50px;
}
@media (max-width: 767px) {
  .salepage .ihour,
  .salepage .iminute {
    width: 50px;
    display: inline-block;
    padding-left: 3px;
    padding-right: 3px;
  }
}

.bookinginput .row,
.saleinput .row {
  margin-left: -2px;
  margin-right: -2px;
}
.bookinginput .col-xs-1,
.bookinginput .col-xs-2,
.bookinginput .col-xs-3,
.bookinginput .col-xs-4,
.bookinginput .col-xs-5,
.bookinginput .col-xs-6,
.bookinginput .col-xs-7,
.bookinginput .col-xs-8,
.bookinginput .col-xs-9,
.bookinginput .col-xs-10,
.bookinginput .col-xs-11,
.bookinginput .col-xs-12,
.saleinput .col-xs-1,
.saleinput .col-xs-2,
.saleinput .col-xs-3,
.saleinput .col-xs-4,
.saleinput .col-xs-5,
.saleinput .col-xs-6,
.saleinput .col-xs-7,
.saleinput .col-xs-8,
.saleinput .col-xs-9,
.saleinput .col-xs-10,
.saleinput .col-xs-11,
.saleinput .col-xs-12 {
  padding-left: 2px;
  padding-right: 2px;
}
.bookinginput .row-customer .row,
.saleinput .row-customer .row {
  margin-left: -2px;
  margin-right: -2px;
}
.bookinginput .row-customer .col-sm-6,
.saleinput .row-customer .col-sm-6 {
  padding-left: 2px;
  padding-right: 2px;
}
.bookinginput .timebutton .hour,
.bookinginput .timebutton .minute,
.saleinput .timebutton .hour,
.saleinput .timebutton .minute {
  border: 1px solid #ccc;
  padding: 3px;
  text-align: center;
  width: 30px;
  display: inline-block;
  font-size: larger;
  cursor: pointer;
}
.bookinginput .current,
.saleinput .current {
  background: #defebb;
}
.bookinginput .menuitem,
.bookinginput .duration,
.bookinginput .staffselect .staff,
.saleinput .menuitem,
.saleinput .duration,
.saleinput .staffselect .staff {
  padding-right: 5px;
}
.bookinginput .timefield,
.saleinput .timefield {
  font-size: 20px;
}

.glyphicon.glyphicon-flag.blue {
  color: blue;
}
.glyphicon.glyphicon-flag.red {
  color: red;
}
.glyphicon.glyphicon-flag.yellow {
  color: yellow;
}
.glyphicon.glyphicon-flag.green {
  color: green;
}

.saleinput .discount-apply {
  display: block;
  margin-top: 5px;
}
.saleinput .discount-label {
  color: #d9534f;
  font-weight: bold;
  font-size: 12px;
  margin-left: 5px;
}
.saleinput .input-group .input-group-btn .dropdown-toggle .glyphicon {
  margin-right: 2px;
}
.saleinput .input-group .input-group-btn .dropdown-menu {
  min-width: 150px;
  max-height: 200px;
  overflow-y: auto;
}
.saleinput .input-group .input-group-btn .dropdown-menu li a {
  padding: 5px 10px;
  white-space: nowrap;
}
.saleinput .input-group .input-group-btn .dropdown-menu li a:hover {
  background-color: #f5f5f5;
}
@media (max-width: 768px) {
  .saleinput .input-group .input-group-btn .dropdown-menu {
    min-width: 120px;
    max-height: 150px;
  }
  .saleinput .input-group .input-group-btn .dropdown-menu li a {
    padding: 8px 10px;
    font-size: 14px;
  }
}

.sale-customer-list .search-input-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
.sale-customer-list .btn-clear {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  background-color: transparent;
}
@media (max-width: 767px) {
  .sale-customer-list .div-search {
    width: 100%;
    margin-top: 10px;
  }
  .sale-customer-list .search-input-wrapper {
    width: 100%;
  }
  .sale-customer-list .search-input-wrapper input {
    width: 100%;
    padding-right: 35px;
  }
}

.legend-container {
  margin-top: 0px;
  font-size: 12px;
  text-align: right;
}
.legend-container .legend-item {
  display: inline-block;
  margin-right: 4px;
}
.legend-container .legend-item:last-child {
  margin-right: 0;
}
.legend-container .legend-item .legend-color {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid #999;
  margin-right: 0px;
  vertical-align: middle;
}
.legend-container .legend-item .legend-text {
  vertical-align: middle;
  color: #000 !important;
}
@media (prefers-color-scheme: dark) {
  .legend-container .legend-text {
    color: #000 !important;
  }
  .legend-container .legend-color {
    border-color: #999 !important;
  }
}

.legend-color-sale {
  background-color: rgb(174, 199, 232);
}

.legend-color-booking {
  background-color: rgb(255, 163, 102);
}

.legend-color-booking-with-staff {
  background-color: rgb(152, 223, 138);
}

.legend-color-booking-request {
  background-color: rgb(255, 153, 153);
}

.legend-color-break {
  background-color: #dddddd;
}

.legend-color-payment-pending {
  background-color: #ffb3ba;
}

.legend-color-new-customer {
  background-color: #bde8c3;
}

.legend-color-returning-customer {
  background-color: #d2dbe8;
}

@media (prefers-color-scheme: dark) {
  .legend-color-payment-pending {
    background-color: #ffb3ba !important;
  }
  .legend-color-new-customer {
    background-color: #bde8c3 !important;
  }
  .legend-color-returning-customer {
    background-color: #d2dbe8 !important;
  }
}
.timeline-context-menu {
  position: fixed;
  z-index: 99999;
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  min-width: 140px;
  padding: 4px 0;
  opacity: 0;
  transition: opacity 0.1s ease;
}
.timeline-context-menu.positioned {
  opacity: 1;
}
.timeline-context-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline-context-menu li {
  padding: 8px 16px;
  cursor: pointer;
}
.timeline-context-menu li:hover {
  background: #f0f0f0;
}
.timeline-context-menu li.separator {
  border-top: 1px solid #ddd;
  margin: 4px 0;
  padding: 0;
  height: 0;
  cursor: default;
}
.timeline-context-menu li.separator:hover {
  background: none;
}

.sale-missed-customer .missed-customers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 8px;
}
.sale-missed-customer .missed-customer-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 6px;
  transition: all 0.2s ease;
  position: relative;
  border-left: 3px solid #f0ad4e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
}
.sale-missed-customer .missed-customer-item:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-color: #bbb;
  border-left-color: #e6a23c;
}
.sale-missed-customer .missed-customer-time {
  font-weight: bold;
  font-size: 12px;
  color: #333;
  flex-shrink: 0;
}
.sale-missed-customer .missed-customer-people {
  flex: 1;
  text-align: center;
}
.sale-missed-customer .missed-customer-people .people-badge {
  background: #f0ad4e;
  color: white;
  padding: 1px 4px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
}
.sale-missed-customer .missed-customer-actions {
  flex-shrink: 0;
}
.sale-missed-customer .missed-customer-actions .btn {
  padding: 1px 4px;
  border-radius: 2px;
}
.sale-missed-customer .missed-customer-actions .btn .glyphicon {
  font-size: 9px;
}
.sale-missed-customer .no-missed-customers {
  grid-column: 1/-1;
  text-align: center;
  color: #999;
  font-style: italic;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 4px;
  border: 1px dashed #ddd;
  font-size: 12px;
}
.sale-missed-customer .no-missed-customers .glyphicon {
  margin-right: 4px;
  color: #bbb;
}
@media (min-width: 768px) and (max-width: 991px) {
  .sale-missed-customer .missed-customers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sale-missed-customer .missed-customer-item {
    min-height: 28px;
  }
  .sale-missed-customer .missed-customer-time {
    font-size: 11px;
  }
  .sale-missed-customer .missed-customer-people .people-badge {
    font-size: 10px;
    padding: 1px 3px;
  }
}
@media (max-width: 480px) {
  .sale-missed-customer .missed-customers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sale-missed-customer .missed-customer-item {
    min-height: 26px;
    padding: 3px 4px;
  }
  .sale-missed-customer .missed-customer-time {
    font-size: 10px;
  }
  .sale-missed-customer .missed-customer-people .people-badge {
    font-size: 9px;
    padding: 1px 2px;
  }
  .sale-missed-customer .missed-customer-actions .btn {
    padding: 1px 3px;
  }
  .sale-missed-customer .missed-customer-actions .btn .glyphicon {
    font-size: 8px;
  }
}

.sale-day-note .note {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 8px;
  background-color: #f9f9f9;
  font-size: 12px;
  color: #333;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 5px;
}

@media (prefers-color-scheme: dark) {
  .salepage {
    background: #fff !important;
    color: #000 !important;
  }
  .salepage h1, .salepage h2, .salepage h3, .salepage h4, .salepage h5, .salepage h6 {
    color: #000 !important;
  }
  .salepage p, .salepage span, .salepage div, .salepage label {
    color: #000 !important;
  }
  .salepage a {
    color: #337ab7 !important;
  }
  .salepage .container,
  .salepage .container-left,
  .salepage .row,
  .salepage .col-md-7,
  .salepage .col-md-5,
  .salepage .col-xs-12,
  .salepage .col-sm-6 {
    background: transparent !important;
    color: #000 !important;
  }
  .salepage .form-control,
  .salepage input,
  .salepage textarea,
  .salepage select {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #ccc !important;
  }
  .salepage .btn.btn-success {
    background-color: #5cb85c !important;
    border-color: #4cae4c !important;
    color: #fff !important;
  }
  .salepage .btn.btn-success .glyphicon,
  .salepage .btn.btn-success .caret,
  .salepage .btn.btn-success i {
    color: #fff !important;
  }
  .salepage .btn.btn-primary {
    background-color: #337ab7 !important;
    border-color: #2e6da4 !important;
    color: #fff !important;
  }
  .salepage .btn.btn-primary .glyphicon,
  .salepage .btn.btn-primary .caret,
  .salepage .btn.btn-primary i {
    color: #fff !important;
  }
  .salepage .btn.btn-danger {
    background-color: #d9534f !important;
    border-color: #d43f3a !important;
    color: #fff !important;
  }
  .salepage .btn.btn-warning {
    background-color: #f0ad4e !important;
    border-color: #eea236 !important;
    color: #fff !important;
  }
  .salepage .btn.btn-info {
    background-color: #5bc0de !important;
    border-color: #46b8da !important;
    color: #fff !important;
  }
  .salepage .btn.btn-default {
    background-color: #fff !important;
    border-color: #ccc !important;
    color: #333 !important;
  }
  .salepage [class*=p-],
  .salepage [class*=prime-] {
    background: #fff !important;
    color: #000 !important;
  }
}
.sale-summary-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e8e8;
  overflow: hidden;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.sale-summary-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.sale-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.sale-summary-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 10px;
  border-bottom: none;
}
.sale-summary-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white !important;
}
.sale-summary-header h3 i {
  font-size: 16px;
  opacity: 0.9;
  color: white !important;
}
@media (prefers-color-scheme: dark) {
  .sale-summary-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
  }
  .sale-summary-header h3 {
    color: white !important;
  }
  .sale-summary-header h3 i {
    color: white !important;
  }
}

.sale-summary-content {
  padding: 0px 16px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.summary-section:last-child {
  margin-bottom: 0;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}
.summary-item:hover {
  background-color: #f8f9fa;
  margin: 0 -16px;
  padding: 8px 16px;
}
.summary-item.highlight {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 12px 16px;
  margin: 0 -16px 0px -16px;
  border-bottom: none;
  font-weight: 600;
}
.summary-item.highlight .value {
  font-size: 18px;
  color: #2c3e50;
}
.summary-item .label {
  font-weight: 500;
  color: #495057;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.summary-item .label i {
  font-size: 12px;
  opacity: 0.7;
}
.summary-item .value {
  font-weight: 600;
  color: #2c3e50;
  font-size: 16px;
}

.payment-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  padding-left: 16px;
}
.payment-breakdown .payment-item {
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 4px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
}
.payment-breakdown .payment-item.transfer {
  color: #337ab7;
  background-color: #e3f2fd;
  border-color: #bbdefb;
}
.payment-breakdown .payment-item.cash {
  color: #5cb85c;
  background-color: #e8f5e8;
  border-color: #c8e6c9;
}
.payment-breakdown .payment-item.healthfund {
  color: #d9534f;
  background-color: #fce4c3;
  border-color: #f0ad4e;
}
.payment-breakdown .payment-item.voucher {
  color: #f0ad4e;
  background-color: #fdf2e9;
  border-color: #f0ad4e;
}

.section-title {
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #667eea;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title i {
  font-size: 14px;
  color: #667eea;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 25px;
  height: 2px;
  background: #764ba2;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.payment-method {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
  position: relative;
}
.payment-method:hover {
  background: #e9ecef;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.payment-method.has-amount {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-color: #667eea;
}
.payment-method.has-amount .method-value {
  color: #667eea;
  font-weight: 700;
}
.payment-method .method-label {
  font-weight: 500;
  color: #495057;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.payment-method .method-label i {
  font-size: 11px;
  opacity: 0.8;
}
.payment-method .method-value {
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.staff-item {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}
.staff-item:hover {
  background: #e9ecef;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.staff-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.staff-info .staff-name {
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.staff-info .staff-name i {
  font-size: 12px;
  color: #667eea;
  opacity: 0.8;
}
.staff-info .staff-total {
  font-weight: 700;
  color: #667eea;
  font-size: 15px;
}

.staff-payment-breakdown {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.staff-payment-breakdown .payment-item {
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 4px;
  background-color: #ffffff;
  border: 1px solid #e9ecef;
}
.staff-payment-breakdown .payment-item.transfer {
  color: #337ab7;
  background-color: #e3f2fd;
  border-color: #bbdefb;
}
.staff-payment-breakdown .payment-item.cash {
  color: #5cb85c;
  background-color: #e8f5e8;
  border-color: #c8e6c9;
}

.icon-chart:before {
  content: "📊";
}

.icon-total:before {
  content: "💰";
}

.icon-staff:before {
  content: "👥";
}

.icon-shop:before {
  content: "🏪";
}

.icon-payment:before {
  content: "💳";
}

.icon-cash:before {
  content: "💵";
}

.icon-card:before {
  content: "💳";
}

.icon-health:before {
  content: "🏥";
}

.icon-voucher:before {
  content: "🎫";
}

.icon-person:before {
  content: "👤";
}

.icon-calendar:before {
  content: "📅";
}

.icon-receipt:before {
  content: "🧾";
}

.month-summary-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e8e8;
  overflow: hidden;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
}
.month-summary-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.month-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f093fb, #f5576c, #4facfe);
}

.month-summary-header {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 15px 10px;
  border-bottom: none;
}
.month-summary-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.month-summary-header h3 i {
  font-size: 16px;
  opacity: 0.9;
}

.month-summary-content {
  padding: 0px 16px 16px 16px;
}

.month-summary-card .summary-section {
  margin-bottom: 0;
}

.month-summary-card .summary-item {
  border-bottom: none;
  padding: 8px 0;
}
.month-summary-card .summary-item:hover {
  background-color: transparent;
  margin: 0;
  padding: 8px 0;
}

.prospected-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0px 6px 0px;
  font-size: 13px;
  color: #6c757d;
}
.prospected-info .prospected-label {
  font-weight: 500;
  opacity: 0.8;
}
.prospected-info .prospected-value {
  font-weight: 600;
  color: #28a745;
}

.activitylog .row > div[class*=col-] > .row > div[class*=col-] {
  padding: 0;
}

.salebalance table th {
  text-align: center;
}
.salebalance table tr td {
  width: 33%;
}
.salebalance .saledailybargraph .bar {
  fill: #ecfcfa;
}
.salebalance .saledailybargraph .bar:hover {
  fill: #bbe8e0;
}
.salebalance .saledailybargraph .axis {
  font: 10px sans-serif;
}
.salebalance .saledailybargraph .axis path,
.salebalance .saledailybargraph .axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}
.salebalance .saledailybargraph .x.axis path {
  display: none;
}

.reportstaffwage table thead th {
  text-align: center;
}
.reportstaffwage table.staffwage th {
  font-size: 13px;
}
.reportstaffwage table.staffwage td {
  font-size: 13px;
}
.reportstaffwage table.staffwage td.m {
  font-size: 13px;
  font-weight: bold;
  width: 100px;
}
.reportstaffwage table.staffwage td {
  width: 75px;
}
.reportstaffwage table.staffwage td strong {
  font-size: 16px;
}
.reportstaffwage table.staffwage td .s {
  color: red;
}
.reportstaffwage table.staffwage td.r {
  text-align: right;
  padding-right: 10px;
}

/* autocomplete begin */
.autocomplete-custom-template li {
  border-bottom: 1px solid #ccc;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  white-space: normal;
}

.autocomplete-custom-template li:last-child {
  border-bottom-width: 0;
}

.autocomplete-custom-template .item-title,
.autocomplete-custom-template .item-metadata {
  display: block;
  line-height: 2;
}

.autocomplete-custom-template .item-title md-icon {
  height: 18px;
  width: 18px;
}

/* autocomplete end */
.stamp-card .place-row {
  display: flex;
  justify-content: space-between;
  gap: 3px;
}
.stamp-card .place-row .place {
  text-align: center;
  display: block;
  width: 100%;
  height: 90px;
  margin-bottom: 4px;
  border: 1px solid #000;
  padding: 5px;
  cursor: pointer;
}
.stamp-card .place-row .place.stamped {
  background-color: #eeeeee;
}
.stamp-card .place-row .red {
  color: red;
  font-weight: bold;
}

.pricetable table.menuframe th {
  font-size: 13px;
}
.pricetable table.menuframe td.m {
  font-size: 13px;
  font-weight: bold;
  width: 100px;
}
.pricetable table.menuframe td {
  width: 75px;
  text-align: center;
}
.pricetable table.menuframe td strong {
  font-size: 16px;
}
.pricetable table.menuframe td .s {
  color: red;
}
.pricetable table td input {
  padding-left: 3px;
  padding-right: 3px;
}
@media (max-width: 767px) {
  .pricetable table td {
    min-width: 60px;
  }
}
.pricetable small {
  font-size: 11px;
  color: #888;
}
.pricetable .menu-name-label {
  font-size: 11px;
  font-weight: bold;
  color: #666;
  margin-bottom: 2px;
}
.pricetable .menu-name-value {
  font-size: 13px;
  margin-bottom: 8px;
  color: #333;
}
.pricetable .price-display {
  margin-bottom: 8px;
}
.pricetable .price-display strong {
  color: #2c5aa0;
  font-size: 14px;
}
.pricetable .staff-display {
  margin-bottom: 8px;
}
.pricetable .staff-display .staff-amount {
  color: #d9534f;
  font-weight: bold;
  font-size: 13px;
}
.pricetable .bookable-display .bookable-indicator {
  background-color: #5cb85c;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: bold;
}
.pricetable .form-group {
  margin-bottom: 10px;
}
.pricetable .form-group label.control-label {
  font-size: 11px;
  font-weight: bold;
  color: #666;
  margin-bottom: 3px;
  display: block;
}
.pricetable .form-group .input-sm {
  height: 28px;
  padding: 3px 6px;
  font-size: 12px;
}
.pricetable .price-per-10min {
  color: #2c5aa0;
  font-weight: bold;
}
.pricetable .staff-per-10min {
  color: #d9534f;
  font-weight: bold;
}
.pricetable .btn-toolbar {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e5e5e5;
}
.pricetable .btn-sm {
  padding: 4px 8px;
  font-size: 12px;
}
.pricetable .checkbox-inline {
  font-size: 12px;
}
.pricetable .checkbox-inline input[type=checkbox] {
  margin-right: 5px;
}
@media (max-width: 767px) {
  .pricetable .form-group {
    margin-bottom: 8px;
  }
  .pricetable .menu-name-label {
    font-size: 10px;
  }
  .pricetable .menu-name-value {
    font-size: 12px;
  }
  .pricetable .input-sm {
    height: 26px;
    font-size: 11px;
  }
}

.tabs-below > .nav-tabs,
.tabs-right > .nav-tabs,
.tabs-left > .nav-tabs {
  border-bottom: 0;
}

.tab-content > .tab-pane,
.pill-content > .pill-pane {
  display: none;
}

.tab-content > .active,
.pill-content > .active {
  display: block;
}

.tabs-below > .nav-tabs {
  border-top: 1px solid #ddd;
}

.tabs-below > .nav-tabs > li {
  margin-top: -1px;
  margin-bottom: 0;
}

.tabs-below > .nav-tabs > li > a {
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
}

.tabs-below > .nav-tabs > li > a:hover,
.tabs-below > .nav-tabs > li > a:focus {
  border-top-color: #ddd;
  border-bottom-color: transparent;
}

.tabs-below > .nav-tabs > .active > a,
.tabs-below > .nav-tabs > .active > a:hover,
.tabs-below > .nav-tabs > .active > a:focus {
  border-color: transparent #ddd #ddd #ddd;
}

.tabs-left > .nav-tabs > li,
.tabs-right > .nav-tabs > li {
  float: none;
}

.tabs-left > .nav-tabs > li > a,
.tabs-right > .nav-tabs > li > a {
  min-width: 74px;
  margin-right: 0;
  margin-bottom: 3px;
}

.tabs-left > .nav-tabs {
  float: left;
  margin-right: 19px;
  border-right: 1px solid #ddd;
}

.tabs-left > .nav-tabs > li > a {
  margin-right: -1px;
  -webkit-border-radius: 4px 0 0 4px;
  -moz-border-radius: 4px 0 0 4px;
  border-radius: 4px 0 0 4px;
}

.tabs-left > .nav-tabs > li > a:hover,
.tabs-left > .nav-tabs > li > a:focus {
  border-color: #eeeeee #dddddd #eeeeee #eeeeee;
}

.tabs-left > .nav-tabs .active > a,
.tabs-left > .nav-tabs .active > a:hover,
.tabs-left > .nav-tabs .active > a:focus {
  border-color: #ddd transparent #ddd #ddd;
  *border-right-color: #ffffff;
}

.tabs-right > .nav-tabs {
  float: right;
  margin-left: 19px;
  border-left: 1px solid #ddd;
}

.tabs-right > .nav-tabs > li > a {
  margin-left: -1px;
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius: 0 4px 4px 0;
  border-radius: 0 4px 4px 0;
}

.tabs-right > .nav-tabs > li > a:hover,
.tabs-right > .nav-tabs > li > a:focus {
  border-color: #eeeeee #eeeeee #eeeeee #dddddd;
}

.tabs-right > .nav-tabs .active > a,
.tabs-right > .nav-tabs .active > a:hover,
.tabs-right > .nav-tabs .active > a:focus {
  border-color: #ddd #ddd #ddd transparent;
  *border-left-color: #ffffff;
}

.customer .sale-history .sale-history-item {
  padding: 4px 0;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid rgb(221, 221, 221);
  justify-content: space-between;
}
.customer .sale-history .sale-history-item .date {
  max-width: 150px;
  font-weight: bold;
}
.customer .sale-history .sale-history-item .menu {
  width: 50%;
  max-width: 120px;
}
.customer .sale-history .sale-history-item .healthfund {
  width: 100%;
  padding-top: 5px;
  padding-left: 20px;
}
.customer .sale-history .sale-history-item .treatment {
  width: 100%;
}
.customer .sale-history .sale-history-item .treatment-parts {
  width: 100%;
}
.customer .sale-history .sale-history-item .note {
  width: 100%;
  padding-left: 20px;
}
.customer .sale-history .sale-history-item .soap {
  width: 50px;
}

.soap .posture-assessment .item-name {
  display: inline-block;
  width: 80px;
}

/*
@mixin mobile {

}

@mixin tablet {

}

@mixin lg {
  @media (min-width: 992px) and (max-width: 1199px) {
    @content;
  }
}

@mixin md {
  @media (min-width: 768px) and (max-width: 991px) {
    @content;
  }
}

@mixin sm {
  @media (max-width:767px) { //(min-width: 480px) and 
    @content;
  }
}

@mixin sx {
  @media (max-width: 480px) { // (max-width: 479px) 
    @content;
  }
}

*/
.time-picker2 {
  position: relative;
  width: 130px;
}
.time-picker2 .time-options {
  position: absolute;
  width: 100%;
  max-width: 230px;
  /*bottom: 0px;*/
  max-height: 220px;
  overflow-y: auto;
  z-index: 1000;
  background: white;
  border: 1px solid #ddd;
}
.time-picker2 .time-options .option-item {
  height: 30px;
  line-height: 30px;
  width: 100%;
  padding-left: 5px;
  cursor: pointer;
}
.time-picker2 .time-options .option-item:hover {
  background-color: #3498db;
}
.time-picker2 .ng-invalid {
  border-color: red;
}

.modal-booking-edit .modal-footer .footer-op-div {
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .modal-booking-edit .modal-footer .footer-op-div {
    flex-direction: column;
  }
  .modal-booking-edit .modal-footer .footer-op-div .left {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
  }
  .modal-booking-edit .modal-footer .footer-op-div .right {
    width: 100%;
    text-align: right;
  }
}
.modal-booking-edit .roster-staff-info,
.modal-booking-edit .all-staff-info {
  margin-bottom: 8px;
  padding: 4px 8px;
  background-color: #f8f9fa;
  border-radius: 4px;
  border-left: 3px solid #007bff;
}
.modal-booking-edit .efield .btn {
  margin-left: 8px;
  vertical-align: middle;
}
.modal-booking-edit .staff-section label {
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 8px;
}
.modal-booking-edit .staff-section label input[type=checkbox] {
  margin-right: 5px;
}
.modal-booking-edit .roster-staff {
  color: #000000;
}
.modal-booking-edit .non-roster-staff {
  color: #999999;
}

.modal-booking-info .modal-footer .footer-op-div {
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .modal-booking-info .modal-footer .footer-op-div {
    flex-direction: column;
  }
  .modal-booking-info .modal-footer .footer-op-div .right {
    width: 100%;
    text-align: right;
  }
}
.modal-booking-info .payment-section-header {
  color: #495057;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 5px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e9ecef;
}
.modal-booking-info .form-control-static {
  padding: 8px 0;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #495057;
  background-color: transparent;
  border: none;
  min-height: auto;
}
.modal-booking-info .table-responsive {
  margin-top: 10px;
}
.modal-booking-info .table-responsive .table {
  margin-bottom: 0;
}
.modal-booking-info .table-responsive .table th {
  background-color: #f8f9fa;
  border-top: none;
  font-weight: 600;
  font-size: 12px;
  padding: 8px;
}
.modal-booking-info .table-responsive .table td {
  padding: 8px;
  font-size: 12px;
  vertical-align: middle;
}
.modal-booking-info .table-responsive .table .text-success {
  color: #28a745 !important;
  font-weight: 600;
}
.modal-booking-info .table-responsive .table .text-danger {
  color: #dc3545 !important;
  font-weight: 600;
}
.modal-booking-info .table-responsive .table .label {
  font-size: 10px;
  padding: 2px 6px;
}
.modal-booking-info .label {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
}
.modal-booking-info .label.label-primary {
  background-color: #007bff;
  color: white;
}
.modal-booking-info .label.label-success {
  background-color: #28a745;
  color: white;
}
.modal-booking-info .label.label-danger {
  background-color: #dc3545;
  color: white;
}
.modal-booking-info .label.label-warning {
  background-color: #ffc107;
  color: #212529;
}
.modal-booking-info .label.label-info {
  background-color: #17a2b8;
  color: white;
}
.modal-booking-info .label.label-default {
  background-color: #6c757d;
  color: white;
}
.modal-booking-info .label.label-confirming {
  background-color: #aaaaaa;
  color: #000000;
}
.modal-booking-info .label.label-confirmed {
  background-color: #4A90E2;
  color: #ffffff;
}
.modal-booking-info .label.label-requested {
  background-color: #6c757d;
  color: white;
}
.modal-booking-info .label.label-request-denied {
  background-color: #dc3545;
  color: white;
}
.modal-booking-info .efield {
  font-weight: 600;
  color: #495057;
  margin-bottom: 5px;
  font-size: 13px;
}
.modal-booking-info .refund-section {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 5px;
}
.modal-booking-info .refund-section .text-info {
  color: #17a2b8 !important;
  font-weight: 600;
  font-size: 16px;
}
.modal-booking-info .refund-section .btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #212529;
  font-weight: 600;
}
.modal-booking-info .refund-section .btn-warning:hover {
  background-color: #e0a800;
  border-color: #d39e00;
}
.modal-booking-info .refund-section .btn-warning i {
  margin-right: 5px;
}

.modal-refund .modal-footer .footer-op-div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .modal-refund .modal-footer .footer-op-div {
    flex-direction: column;
    gap: 10px;
  }
  .modal-refund .modal-footer .footer-op-div .left, .modal-refund .modal-footer .footer-op-div .right {
    width: 100%;
    text-align: center;
  }
}
.modal-refund .alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}
.modal-refund .alert-info strong {
  color: #0c5460;
}
.modal-refund .form-group {
  margin-bottom: 20px;
}
.modal-refund .form-group label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  font-size: 14px;
}
.modal-refund .form-group .form-control {
  border-radius: 4px;
  border: 1px solid #ced4da;
  padding: 8px 12px;
  font-size: 14px;
}
.modal-refund .form-group .form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.modal-refund .form-group .input-group-addon {
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  color: #495057;
  font-weight: 600;
}
.modal-refund .form-group .help-block {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
}
.modal-refund .form-group textarea.form-control {
  resize: vertical;
  min-height: 80px;
}
.modal-refund .btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  font-weight: 600;
}
.modal-refund .btn-primary:hover {
  background-color: #0056b3;
  border-color: #004085;
}
.modal-refund .btn-primary:disabled {
  background-color: #6c757d;
  border-color: #6c757d;
  opacity: 0.65;
}
.modal-refund .btn-primary i {
  margin-right: 5px;
}
.modal-refund .btn-default {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
  font-weight: 600;
}
.modal-refund .btn-default:hover {
  background-color: #545b62;
  border-color: #4e555b;
}
.modal-refund .alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
  border-radius: 4px;
  padding: 12px;
  margin-top: 15px;
}
.modal-refund .alert-danger strong {
  color: #721c24;
}

.container.manual .manual-title {
  margin-bottom: 3px;
  display: flex;
  justify-content: space-between;
}
.container.manual .manual-description pre {
  padding: 3px;
  border-color: #eeeeee;
  background: #fcfcfc;
}

.new-customer-tag {
  color: #28a745;
}

.btn-confirming {
  background-color: #aaaaaa;
  border-color: #aaaaaa;
  color: #000000;
}

.btn-confirmed {
  background-color: #4A90E2;
  border-color: #4A90E2;
  color: #ffffff;
}

.signature {
  border: 1px solid #999;
}

.form-buttons {
  text-align: right;
}

hr {
  margin-top: 10px;
  margin-bottom: 10px;
}

.tnc-copy {
  font-size: 12px;
}

.div-pain-areas label {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}
.div-pain-areas label input {
  margin-top: 2px;
}

.div-medical-conditions label {
  width: 20%;
  font-size: 12px;
  margin-bottom: 2px;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .div-medical-conditions label {
    width: 25%;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .div-medical-conditions label {
    width: 25%;
  }
}
@media (max-width: 767px) {
  .div-medical-conditions label {
    width: 50%;
  }
}
.div-medical-conditions label input {
  margin-top: 2px;
}
.div-medical-conditions label.customer-edit-modal {
  width: 33%;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .div-medical-conditions label.customer-edit-modal {
    width: 33%;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .div-medical-conditions label.customer-edit-modal {
    width: 33%;
  }
}
@media (max-width: 767px) {
  .div-medical-conditions label.customer-edit-modal {
    width: 50%;
  }
}

.red {
  color: red;
}

.customer-register-form .red {
  color: red;
}
.customer-register-form.ng-submitted .ng-invalid {
  border-color: red;
}
.customer-register-form.ng-submitted input[type=checkbox].ng-invalid {
  outline: 1px solid red;
}

/* Stamp Card Styles */
.stamp-card .place-row {
  display: flex;
  justify-content: space-between;
  gap: 2px;
  margin-bottom: 2px;
}
.stamp-card .place-row .place {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 75px;
  border: 2px solid #dee2e6;
  padding: 4px;
  cursor: pointer;
  border-radius: 6px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  background-color: #ffffff;
}
.stamp-card .place-row .place:hover {
  background-color: #f8f9fa;
  border-color: #6c757d;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.stamp-card .place-row .place.stamped {
  background-color: #d4edda;
  border-color: #28a745;
  color: #155724;
}
.stamp-card .place-row .place.stamped:hover {
  background-color: #c3e6cb;
  border-color: #1e7e34;
}
.stamp-card .place-row .place.stamped .place-number {
  color: #155724;
}
.stamp-card .place-row .place.stamped .place-text {
  color: #155724;
}
.stamp-card .place-row .place .place-number {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 2px;
  color: #495057;
}
.stamp-card .place-row .place .place-text {
  font-size: 10px;
  margin-bottom: 2px;
  color: #6c757d;
  line-height: 1.2;
  word-break: break-word;
}
.stamp-card .place-row .place .place-date {
  font-size: 9px;
  color: #28a745;
  font-weight: 500;
  margin-bottom: 1px;
}
.stamp-card .place-row .place .place-time {
  font-size: 8px;
  color: #28a745;
  font-weight: 400;
}
.stamp-card .place-row .red {
  color: red;
  font-weight: bold;
}

/* Active stamp cards modal styles */
.stamp-card-container {
  background-color: #f8f9fa;
  border-radius: 8px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  border: 1px solid #ddd;
  padding: 15px;
}
.stamp-card-container .stamp-card-header {
  margin-bottom: 15px;
}
.stamp-card-container .stamp-card-header h5 {
  margin: 0;
  color: #333;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.stamp-card-container .stamp-card-header h5 .badge {
  background-color: #28a745;
  margin-left: 10px;
}
.stamp-card-container .stamp-card-header .stamp-card-info {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

/* Mobile responsive styles for stamp cards */
@media (max-width: 767px) {
  .stamp-card .place-row {
    gap: 1px;
    margin-bottom: 1px;
  }
  .stamp-card .place-row .place {
    min-height: 65px;
    padding: 3px;
  }
  .stamp-card .place-row .place .place-number {
    font-size: 12px;
    margin-bottom: 1px;
  }
  .stamp-card .place-row .place .place-text {
    font-size: 9px;
    margin-bottom: 1px;
  }
  .stamp-card .place-row .place .place-date {
    font-size: 8px;
  }
  .stamp-card .place-row .place .place-time {
    font-size: 7px;
  }
  .modal-active-stamp-cards .modal-body {
    padding: 10px;
  }
  .stamp-card-container {
    margin-bottom: 20px !important;
    padding: 10px !important;
  }
  .stamp-card-container .stamp-card-header h5 {
    font-size: 14px;
  }
  .stamp-card-container .stamp-card-header h5 .badge {
    margin-left: 5px !important;
    margin-top: 2px;
  }
}
@media (max-width: 480px) {
  .stamp-card .place-row .place {
    min-height: 55px;
    padding: 2px;
  }
  .stamp-card .place-row .place .place-number {
    font-size: 11px;
    margin-bottom: 1px;
  }
  .stamp-card .place-row .place .place-text {
    font-size: 8px;
    margin-bottom: 1px;
  }
  .stamp-card .place-row .place .place-date {
    font-size: 7px;
  }
  .stamp-card .place-row .place .place-time {
    font-size: 6px;
  }
}
/* Template Editor Styles */
.stamp-card-preview {
  margin-top: 20px;
}
.stamp-card-preview h5 {
  margin-bottom: 15px;
  color: #333;
}

.template-grid .place-row {
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}
.template-grid .place-container {
  position: relative;
}
.template-grid .place.template-place {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80px;
  min-height: 80px;
  border: 2px solid #dee2e6;
  padding: 4px;
  cursor: pointer;
  border-radius: 6px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  background-color: #ffffff;
  position: relative;
}
.template-grid .place.template-place:hover {
  background-color: #f8f9fa;
  border-color: #007bff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.template-grid .place.template-place:hover .place-actions {
  opacity: 1;
}
.template-grid .place.template-place .place-number {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 2px;
  color: #495057;
}
.template-grid .place.template-place .place-text-input {
  font-size: 10px;
  margin-bottom: 2px;
  color: #6c757d;
  line-height: 1.2;
  text-align: center;
  border: none;
  background: transparent;
  width: 100%;
  padding: 2px;
  outline: none;
}
.template-grid .place.template-place .place-text-input:focus {
  background-color: #fff;
  border: 1px solid #007bff;
  border-radius: 3px;
}
.template-grid .place.template-place .place-text-input::placeholder {
  color: #adb5bd;
  font-style: italic;
}
.template-grid .place.template-place .place-actions {
  position: absolute;
  top: 2px;
  right: 2px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.template-grid .place.template-place .place-actions .btn {
  padding: 1px 4px;
  font-size: 10px;
  line-height: 1;
  border-radius: 2px;
}

.add-place-container {
  display: flex;
  align-items: center;
}

.add-place {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80px;
  min-height: 80px;
  border: 2px dashed #adb5bd;
  cursor: pointer;
  border-radius: 6px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  background-color: #f8f9fa;
  color: #6c757d;
}
.add-place:hover {
  background-color: #e9ecef;
  border-color: #007bff;
  color: #007bff;
}
.add-place-icon {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 4px;
}
.add-place-text {
  font-size: 10px;
  text-align: center;
}

.monitoringpage .monitoring-shop-section {
  display: flex;
  flex-direction: row;
  gap: 5px;
  margin-bottom: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 5px 10px;
  background-color: #ffffff;
}
.monitoringpage .monitoring-shop-section .shop-header {
  width: 50px;
  font-size: 16px;
}
.monitoringpage .monitoring-shop-section .timeline-container {
  flex-grow: 10;
  border-left: 1px solid #e0e0e0;
  padding-left: 10px;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .monitoringpage .monitoring-shop-section {
    flex-direction: column;
  }
  .monitoringpage .monitoring-shop-section .timeline-container {
    border-left: none;
    padding-left: 0;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .monitoringpage .monitoring-shop-section {
    flex-direction: column;
  }
  .monitoringpage .monitoring-shop-section .timeline-container {
    border-left: none;
    padding-left: 0;
  }
}
@media (max-width: 767px) {
  .monitoringpage .monitoring-shop-section {
    flex-direction: column;
  }
  .monitoringpage .monitoring-shop-section .timeline-container {
    border-left: none;
    padding-left: 0;
  }
}
.monitoringpage .monitoring-shop-section .booking-sales-summary h5 {
  color: #555;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}
.monitoringpage .monitoring-shop-section .booking-sales-summary .badge {
  margin-right: 8px;
  padding: 6px 10px;
  font-size: 11px;
  border-radius: 4px;
}
.monitoringpage .monitoring-shop-section .booking-sales-summary .badge.badge-info {
  background-color: #17a2b8;
}
.monitoringpage .monitoring-shop-section .booking-sales-summary .badge.badge-success {
  background-color: #28a745;
}
.monitoringpage .monitoring-shop-section .booking-sales-summary .badge.badge-warning {
  background-color: #ffc107;
  color: #212529;
}
.monitoringpage .monitoring-shop-section .booking-sales-summary .badge.badge-primary {
  background-color: #007bff;
}
.monitoringpage .alert {
  margin-top: 20px;
  border-radius: 6px;
}
.monitoringpage .text-center {
  padding: 40px 0;
}
.monitoringpage .text-center .loading {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
}

.customer-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
}
@media (max-width: 767px) {
  .customer-select {
    flex-direction: column;
  }
}
.customer-select.clickable {
  cursor: pointer;
}
.customer-select.clickable:hover {
  background-color: #f0f0f0;
}
.customer-select:not(.clickable) {
  cursor: default !important;
}
.customer-select:not(.clickable)[role=button] {
  cursor: default !important;
}
.customer-select:not(.clickable):hover {
  background-color: transparent;
}
.customer-select .customer-info-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
.customer-select .customer-info-container .customer-details {
  flex: 1;
  margin-right: 10px;
}
.customer-select .customer-info-container .customer-details .customer-name {
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
}
.customer-select .customer-info-container .customer-details .customer-name strong {
  color: #2c3e50;
  font-weight: 600;
}
.customer-select .customer-info-container .customer-details .customer-name .glyphicon-flag {
  margin-left: 5px;
}
.customer-select .customer-info-container .customer-details .customer-contact {
  color: #666;
}
.customer-select .customer-info-container .customer-details .customer-contact .contact-item {
  display: block;
  margin-bottom: 2px;
}
.customer-select .customer-info-container .customer-details .customer-contact .contact-item:last-child {
  margin-bottom: 0;
}
.customer-select .customer-info-container .customer-details .customer-contact .contact-item .glyphicon {
  margin-right: 5px;
  text-align: center;
}
.customer-select .no-customer {
  color: #999;
}
.customer-select .no-customer .glyphicon {
  margin-right: 5px;
}

.voucher-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}
@media (max-width: 767px) {
  .voucher-select {
    flex-direction: column;
  }
}
.voucher-select:hover {
  background-color: #f0f0f0;
}
.voucher-select .voucher-info-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 10px;
}
.voucher-select .voucher-details {
  flex: 1;
}
.voucher-select .voucher-details .voucher-title {
  font-size: 14px;
  margin-bottom: 4px;
  color: #333;
}
.voucher-select .voucher-details .voucher-title strong {
  color: #2c3e50;
  font-weight: 600;
}
.voucher-select .voucher-details .voucher-meta {
  display: flex;
  gap: 5px;
  color: #666;
}
@media (max-width: 767px) {
  .voucher-select .voucher-details .voucher-meta {
    flex-direction: column;
  }
}
.voucher-select .voucher-details .voucher-meta .meta-item {
  margin-right: 10px;
}
.voucher-select .voucher-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}
@media (max-width: 767px) {
  .voucher-select .voucher-actions {
    flex-direction: row;
  }
}
.voucher-select .no-voucher {
  width: 100%;
  color: #999;
}
.voucher-select .no-voucher .glyphicon {
  margin-right: 5px;
}

.sale-staff-list2 {
  padding: 5px 0px;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 10px 0;
}
.sale-staff-list2 .head-line {
  margin: 10px 0 5px 0px;
}
.sale-staff-list2 .head-line h2 {
  margin: 0;
}
.sale-staff-list2 .head-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
@media (max-width: 767px) {
  .sale-staff-list2 .head-line {
    gap: 5px;
    flex-wrap: wrap;
  }
}
.sale-staff-list2 .staff-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sale-staff-list2 .staff-list .staff-row {
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  background: white;
}
.sale-staff-list2 .staff-list .staff-row .staff-info {
  min-width: 150px;
  max-width: 150px;
  padding-right: 20px;
  border-right: 1px solid #eee;
  margin-right: 20px;
  margin-bottom: 0px;
}
.sale-staff-list2 .staff-list .staff-row .staff-info .staff-name {
  font-size: 12px;
  font-weight: 600;
  color: #333;
}
.sale-staff-list2 .staff-list .staff-row .staff-info .staff-total {
  font-size: 12px;
  color: #666;
}
.sale-staff-list2 .staff-list .staff-row .staff-info .staff-revenue {
  font-size: 12px;
  font-weight: 500;
  color: #4A90E2;
}
.sale-staff-list2 .staff-list .staff-row .staff-info .staff-rank {
  font-size: 11px;
  font-weight: 600;
  color: #666;
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 10px;
}
.sale-staff-list2 .staff-list .staff-row .sales-blocks {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
  height: 20px;
}
.sale-staff-list2 .staff-list .staff-row .sales-blocks .block-container {
  position: relative;
  width: 100%;
  height: 8px;
  background: #f5f5f5;
  border-radius: 5px;
  overflow: hidden;
}
.sale-staff-list2 .staff-list .staff-row .sales-blocks .sale-block {
  position: absolute;
  height: 100%;
  cursor: pointer;
  transition: opacity 0.2s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.sale-staff-list2 .staff-list .staff-row .sales-blocks .sale-block:hover {
  opacity: 0.8;
  z-index: 10;
}
.sale-staff-list2 .staff-list .staff-row .sales-blocks .sale-block:first-child {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.sale-staff-list2 .staff-list .staff-row .sales-blocks .sale-block:last-child {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-right: none;
}
.sale-staff-list2 .staff-list .empty-state {
  text-align: center;
  padding: 40px;
  color: #999;
  font-style: italic;
}
.sale-staff-list2 .sale-tooltip {
  position: fixed;
  background-color: white;
  color: black;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
  z-index: 1000;
  max-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .sale-staff-list2 .staff-list .staff-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .sale-staff-list2 .staff-list .staff-row .staff-info {
    border-right: none;
    margin-right: 0;
    width: 100%;
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .sale-staff-list2 .staff-list .staff-row .sales-blocks {
    margin-top: 3px;
    width: 100%;
  }
  .sale-staff-list2 .staff-list .staff-row .sales-blocks .block-container {
    height: 5px;
  }
}
.pricetable2 .menu-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}
.pricetable2 .menu-card:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.pricetable2 .menu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.pricetable2 .menu-info {
  flex: 1;
}
.pricetable2 .menu-info h4 {
  margin-top: 5px;
  margin-bottom: 5px;
}
.pricetable2 .menu-actions {
  display: flex;
  gap: 5px;
}
.pricetable2 .detail-items {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.pricetable2 .detail-items .detail-item {
  display: block;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 8px 12px;
  margin: 4px;
  font-size: 13px;
}
.pricetable2 .detail-items .detail-item.bookable {
  background: #d4edda;
  border-color: #c3e6cb;
}
.pricetable2 .detail-price {
  font-weight: bold;
  color: #28a745;
}
.pricetable2 .detail-staff {
  color: #6c757d;
  font-size: 12px;
}
.pricetable2 .detail-per-hour {
  font-size: 11px;
  color: #868e96;
}
.pricetable2 .edit-form {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.pricetable2 .detail-edit-item {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
}
.pricetable2 .add-detail-form {
  background: #e9ecef;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 15px;
  margin-top: 15px;
  transition: all 0.3s ease;
}
.pricetable2 .add-detail-form.has-values {
  background: #fff3cd;
  border-color: #ffeaa7;
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.25);
}
.pricetable2 .menu-sort {
  display: inline-block;
  background: #e9ecef;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  margin-left: 10px;
}

:not(.no-enter)#toast-container > div.ng-enter,
:not(.no-leave)#toast-container > div.ng-leave {
  transition-duration: 0.3s;
}