/*Start Date time */
span[type='button'].datetimepicker-icon,
span[type='button'].datetimepicker-icon:active {
  border: 1px solid #ffd7b6 !important;
  background: #ffd7b6 !important;
}

.datetimepicker {
  background-color: #faebd7;
  padding: 10px;
  font-family: Arial, sans-serif;
  height: 100%;
}

.datetimepicker .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  color: #555;
}

.datetimepicker .header .navigation {
  cursor: pointer;
  color: #ff7f50;
}

.datetimepicker .header .navigation:hover {
  color: #ff4500;
}

.datetimepicker .weekdays {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  font-size: 16px;
  color: #777;
}

.datetimepicker .days {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 10px;
}

.datetimepicker .day {
  width: 14.2%;
  text-align: center;
  padding: 5px 0;
  margin: 2px 0;
  font-size: 16px;
  color: #777;
  cursor: pointer;
}

.datetimepicker .day:hover,
.datetimepicker .month:hover,
.datetimepicker .year:hover {
  background-color: var(--background-light);
  border-radius: 5px;
}

.datetimepicker .day.today {
  border: 1px solid #ff7f50;
  border-radius: 50%;
  color: #000;
  font-weight: bold;
}

.datetimepicker .day.active,
.datetimepicker .month.active,
.datetimepicker .year.active {
  background-image: linear-gradient(to bottom, #ff7f50, #ff4500);
  color: #fff;
  border-radius: 5px;
}

.datetimepicker .day.inactive,
.datetimepicker .year.inactive,
.datetimepicker .month.inactive,
.datetimepicker .day.disabled,
.datetimepicker .month.disabled,
.datetimepicker .year.disabled {
  color: #ddd;
  pointer-events: none;
}

/* End datetime */

/* Start time */
/* End time */

.box {
  background-color: white;
  border-radius: 8px;
  padding: 10px;
  max-width: 900px;
  height: 85vh;
}

/*Start Left */
.box-left {
  background-color: #ea6a12;
  color: white;
  border-radius: 4px;
  height: 100%;
  overflow-y: scroll;
}

.tab-list {
  list-style: none;
  padding-left: 3.5rem;
}

.tab-item {
  position: relative;
}

.tab-item:before {
  background-color: #ea6a12;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-6 -6 12 12'%3E%3Ccircle r='2' fill='%23fff'/%3E%3C/svg%3E");
  border: 1px solid;
  border-color: var(--bs-white);
  border-radius: 50%;
  content: "";
  height: 10px;
  left: -48px;
  padding: 8px;
  position: absolute;
  top: 10px;
  transition: background-color 0.4s ease-in-out;
  width: 10px;
}

.tab-item:not(.active)[data-check="true"]:before {
  background-color: #1aa053;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3E%3C/svg%3E");
  transition: background-color 0.4s ease-in-out;
}

.tab-item.active:before {
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-6 -6 12 12'%3E%3Ccircle r='2' fill='%237093E5'/%3E%3C/svg%3E");
  transition: background-color 0.4s ease-in-out;
}

.tab-item:not(:last-child):after {
  background-color: white;
  content: "";
  height: calc(100% - 25px);
  left: -40px;
  position: absolute;
  top: 40px;
  width: 1px;
}

/* End Left */
/* right */
.box-right {
  border: 1px solid #efefef;
  border-radius: 4px;
  height: 100%;
}

.box-right-title {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  padding-top: 10px;
  height: 48px;
}

.box-branch,
.box-yard,
.box-time-frame {
  height: calc(100% - 90px);
  overflow-y: scroll;
}

.branch-img {
  width: 40px;
  height: 40px;
}

.box-branch-detail,
.box-yard-detail,
.box-time-frame-detail {
  background-color: white;
  border-radius: 4px;
  padding: 5px;
}

.box-time-frame-detail {
  height: 100%;
  padding: 0;
}

.box-branch-detail-content:hover,
.box-yard-detail-content:hover {
  border: 1px solid #ea6a12;
  cursor: pointer;
  transform: translateY(-5px);
  z-index: 99999;
}

.box-branch-detail-content,
.box-yard-detail-content {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #eee;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.03);
  transition: all 0.5s ease-in-out;
  position: relative;
}

.box-branch-detail-content_select::after,
.box-yard-detail-content_select::after {
  content: "";
  width: 15px;
  position: absolute;
  border-radius: 50%;
  top: -5%;
  left: 96%;
  height: 15px;
  background: #ea6a12 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3E%3C/svg%3E");
}

.box-branch-detail-content_select,
.box-yard-detail-content_select {
  background-color: #fdf0e6;
  border: 1px solid #ea6a12;
}

.box-branch-detail-content_text,
.box-yard-detail-content_text {
  color: #8a92a6;
}

.box-branch-detail-content_border,
.box-yard-detail-content_border {
  margin-top: 4px;
  border-bottom: 1px solid #e7e7e7;
  width: 100%;
  margin-bottom: 10px;
}

.btn-next,
.btn-back {
  color: white;
  border-radius: 4px;
}

.btn-next {
  background-color: #ea6a12;
}

.btn-back {
  background-color: #19235a;
}

.btn-next:hover,
.btn-back:hover {
  opacity: 0.9;
  color: white;
}

.box-left::-webkit-scrollbar {
  border-radius: 0;
  width: 8px;
  border-radius: 0;
  width: 8px;
}

.box-left::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(238, 135, 65, 1);
  border-radius: 4px;
}

.box-branch::-webkit-scrollbar-thumb,
.box-yard::-webkit-scrollbar-thumb,
.box-time-frame-text::-webkit-scrollbar-thumb,
.datetimepicker::-webkit-scrollbar-thumb,
.box-time-frame::-webkit-scrollbar-thumb,
.container-grid-right::-webkit-scrollbar-thumb {
  border-radius: 4px !important;
  background-color: rgba(251, 225, 208, 1) !important;
  border-radius: 4px !important;
}

.box-yard-detail-content {
  padding: 40px 10px;
}

.box-yard-detail-content_select {
  background-color: #ea6a12;
  color: white;
}

.box-yard-detail-content_select .box-yard-detail-content_text {
  color: white !important;
}

.box-yard-detail-content_select::after {
  border: 1px solid white;
  z-index: 99999;
}

.time-frame-text {
  text-align: center;
  background: white;
  font-weight: bold;
  color: #737373;
  padding: 5px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.time-frame-text:hover {
  background-color: #ea6a12;
  color: white;
}

.box-time-frame-text {
  overflow-y: scroll;
  background-color: #faebd7;
  border-radius: 8px;
  height: 100%;
}

.time-frame-text.active {
  background-color: #ea6a12;
  color: white;
}

/* Start Customer detail */
input[type="radio"]:checked {
  background-color: orange;
  border-color: orange;
}

input[type="radio"]:checked::after {
  background-color: white;
}

/* End Customer Detail */
/* Start Confirm */
.box-confirm-detail {
  background-color: #fdf0e6;
  border-radius: 4px;
  padding: 10px 20px 20px 10px;
}

.box-confirm-detail_title {
  color: #ea6a12;
  text-transform: uppercase;
  margin: 0 !important;
  margin-bottom: 8px !important;
}

.box-confirm-detail_customer_title {
  min-width: 100px;
}

/* End Confirm */
/* qr code */
.custom-uploader {
  width: 100%;
  background: #fff;
  border-radius: 6px;
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.img-area {
  cursor: pointer;
  position: relative;
  width: 100%;
  height: 200px;
  border: 2px dashed;
  background: #f2f2f2;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 6px;
}

.img {
  min-height: 300px;
  background-size: cover;
}

.img-area .icon {
  font-size: 80px;
}

.img-area h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.img-area p {
  color: #999;
}

.img-area p span {
  font-weight: 600;
}

.img-area img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.img-area::before {
  content: attr(data-img);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: 500;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 200;
}

.img-area.active:hover::before {
  opacity: 1;
}

.select-image {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 140px;
  height: 38px;
  padding: 16px 0;
  border-radius: 6px;
  background: #fb8e45;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-image:hover {
  background: #fea66b;
}

.select-image:focus {
  border: none;
}

/* Icon status pay */
.container_checkmark {
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkmark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: relative;
}

.circle {
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-radius: 50%;
  animation: rotate 1s linear forwards;
}

.circle.cross-mark {
  animation: rotate1 1s linear forwards;
}

.checkmark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-right: 3px solid #4caf50;
  border-bottom: 3px solid #4caf50;
  transform: rotate(45deg) translate(calc(-50%), calc(-50% - 3px));
  transform-origin: left top;
  animation: draw 0.5s 1s ease-in-out forwards;
  /* Starts after the circle is drawn */
  opacity: 0;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
    border-top: 3px solid #4caf50;
  }

  25% {
    transform: rotate(90deg);
    border-top: 3px solid #4caf50;
    border-right: 3px solid #4caf50;
  }

  50% {
    transform: rotate(180deg);
    border-top: 3px solid #4caf50;
    border-right: 3px solid #4caf50;
  }

  75% {
    transform: rotate(270deg);
    border-top: 3px solid #4caf50;
    border-right: 3px solid #4caf50;
    border-bottom: 3px solid #4caf50;
  }

  100% {
    transform: rotate(360deg);
    border-top: 3px solid #4caf50;
    border-right: 3px solid #4caf50;
    border-bottom: 3px solid #4caf50;
    border-left: 3px solid #4caf50;
  }
}

@keyframes draw {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }

  50% {
    width: 10px;
    height: 0;
    opacity: 1;
  }

  100% {
    width: 10px;
    height: 20px;
    opacity: 1;
  }
}

.cross-mark {
  width: 50px;
  height: 50px;
  position: relative;
}

.cross-mark::before,
.cross-mark::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 100%;
  background-color: red;
  top: 25%;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  animation: draw1 1s forwards;
}

.cross-mark::after {
  transform: translateX(-50%) rotate(-45deg);
}

@keyframes draw1 {
  0% {
    height: 0;
  }

  50% {
    height: 25%;
  }

  100% {
    height: 50%;
  }
}

@keyframes rotate1 {
  0% {
    transform: rotate(0deg);
    border-top: 3px solid red;
  }

  25% {
    transform: rotate(90deg);
    border-top: 3px solid red;
    border-right: 3px solid red;
  }

  50% {
    transform: rotate(180deg);
    border-top: 3px solid red;
    border-right: 3px solid red;
  }

  75% {
    transform: rotate(270deg);
    border-top: 3px solid red;
    border-right: 3px solid red;
    border-bottom: 3px solid red;
  }

  100% {
    transform: rotate(360deg);
    border-top: 3px solid red;
    border-right: 3px solid red;
    border-bottom: 3px solid red;
    border-left: 3px solid red;
  }
}

input {
  width: 32px;
  background-color: #ff6f3d;
  color: #333;
  border: 2px solid #ff6f3d;
  padding: 5.5px;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  color: white;
}

/* Icon status pay */
.box-status-booking {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-status-booking-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
}

.input-disable {
  opacity: 0.8;
}

@media only screen and (max-width: 768px) {
  .box {
    height: auto;
  }

  .box-right-responsive {
    padding-left: 0;
    margin-top: 10px;
    height: calc(100vh - 100px) !important;
  }

  .tab-list {
    display: flex;
    gap: 50px;
    height: 20px;
  }

  .tab-item {
    padding: 0.75rem;
  }

  .tab-item h5,
  .tab-item p {
    display: none;
  }

  .tab-item::before {
    height: 5px;
    width: 5px;
  }

  .tab-item:not(:last-child)::after {
    height: 0.125rem;
    left: -18px;
    top: 21px;
    width: calc(100% + 15px);
  }

  .box-branch-detail-content_select::after,
  .box-yard-detail-content_select::after {
    top: -4%;
    left: 98%;
  }

  .datetimepicker {
    width: 100%;
  }

  .box-time-frame-text {
    margin-top: 10px;
  }

  .box-time-frame-detail,
  .box-time-frame-text {
    height: auto;
  }

  .confirm-info-yard {
    margin-top: 1.5rem;
  }

  .box-confirm-detail_customer_title {
    min-width: 150px;
  }
}

/* Start Test */
:root {
  --height-container-grid: 80vh;
  --heigth-column: 40px;
  --zoom-container-field: 60%;
  --zoom-calc: 0.6;
  --width-column: 25px;
  --default-width-column: 25px;
  --max-width-column: 50px;
  --width-progress: 250px;
  --width-content-left: 70px;
  --width-field: 35px;
  --rows-calc: 0;
  --border-style: 1px solid #cdcdcd;
  --primary-color: #ea6a12;
  --background-light: #ffddc1;
  --coral: #ff7f50;
  --antique-white: #faebd7;
  --orange-red: #ff4500;
  --background-time-header: #ffd7b6;
  --background-body: #fcf9f5;
  --height-header: 100px;
  --height-footer: 80px;
  --height-header-customer-detail: 30px;
  --height-footer-customer-detail: 60px;
  --text-size-field: 1.35rem;
  --text-line: 3;
}

body {
  background-color: var(--background-body) !important;
  position: relative;
  font-family: "Lora", serif;
  user-select: none;
}

.container-body-field {
  margin-top: 20px;
  padding: 0 10px 0 0;
}

.container-header,
.container-footer {
  background-color: var(--primary-color);
  color: white;
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99;
}


@media only screen and (max-device-width: 1024px) {
  :root {
    --zoom-container-field: 50%;
    --zoom-calc: 0.5;
    --width-column: 25px;
    --default-width-column: 25px;
    --max-width-column: 50px;
    --width-progress: 100vw;
    --width-content-left: 55px;
    --height-header: 0 !important;
    --heigth-column: 35px;
    --text-size-field: 1.1rem;
  }

  .container-body-field {
    padding: 0 5px 0 0;
  }

  .manage-field-left-day-of-week-text {
    font-size: 0.8rem;
  }

  .manage-field-left-day-of-week-title {
    width: 120px !important;
  }

  .container-header {
    position: unset;
    margin-bottom: 20px !important;
  }
}


.container-header {
  top: 0;
}

.container-footer {
  bottom: 0;
  padding: 10px;
}

.container-body-field-first {
  height: calc(var(--height-header) + 20px);
}

.container-body-field-last {
  margin-top: calc(var(--height-footer) + 20px);
}

.container-branch {
  padding: 10px 0;
  text-align: center;
  border-bottom: var(--border-style);
  border-top: var(--border-style);
  background-color: var(--background-time-header);
  user-select: none;
  font-weight: bold;
}

.container-grid-field {
  zoom: var(--zoom-container-field);
  font-size: 15px;
}

.date-range-manage {
  border-radius: 10px;
}

.manage-field-header {
  background-color: var(--background-time-header);
  text-align: center;
  border-bottom: var(--border-style);
  font-weight: 600;
}

.manage-field-item-header {
  position: relative;
}

.manage-field-item-header-show {
  z-index: 1;
}

.container-grid-heght {
  height: 500px;
}

.manage-field-item-header::after {
  position: absolute;
  content: "";
  height: 25%;
  bottom: 0;
  left: calc(var(--width-column) / var(--zoom-calc) / 2);
  border-left: 1px solid var(--coral);
}

.manage-field-item-header::before {
  /* position: absolute;
  content: "";
  height: calc(var(--heigth-column) * var(--rows-calc) / var(--zoom-calc));
  bottom: 0;
  top: 100%;
  left: calc(var(--width-column) / var(--zoom-calc) / 2);
  border-left: var(--border-style);
  z-index: 1; */
}

.container-manage-field {
  display: flex;
  box-sizing: border-box;
}

.drag-field {
  overflow: hidden;
  /* Ẩn thanh cuộn */
  cursor: grab;
  user-select: none;
}

.manage-field-parent {
  display: flex;
  gap: 10px;
  align-items: center;
}

.manage-field-item {
  box-sizing: border-box;
}

.manage-field-item-not-empty {
  position: relative;
}

.manage-field-item-not-empty-border {
  position: absolute;
  height: 100%;
  border-left: var(--border-style);
  /* border-right: var(--border-style); */
  top: 0;
  left: calc(var(--width-column) / var(--zoom-calc) / 2);
  width: 100%;
  background-color: white;
}

manage-field-item-not-empty-border:last-child {
  background-color: transparent;
}

.container-field-height {
  line-height: calc(var(--heigth-column) / var(--zoom-calc));
  height: calc(var(--heigth-column) / var(--zoom-calc));
}

.container-field-width {
  width: calc(var(--width-field) / var(--zoom-calc));
  /* white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden; */
}

.manage-field-row {
  display: flex;
  position: relative;
  z-index: 2;
}

.manage-field-item-size {
  width: calc(var(--width-column) / var(--zoom-calc));
  flex-shrink: 0;
}

.border-bottom-1px {
  border-bottom: var(--border-style);
}

.border-right-1px {
  border-right: var(--border-style);
}

.height-auto {
  height: auto !important;
}

.height-column {
  height: calc(var(--heigth-column) / var(--zoom-calc));
  box-sizing: content-box;
}

.border-top-1px {
  border-top: var(--border-style);
}

.border-top-none {
  border-top: none;
}

.background-color-transparent {
  background-color: transparent;
}

.content-left,
.container-grid-left {
  background-color: var(--background-light);
  border-right: var(--border-style);
  position: relative;
}

.ul-sport-field {
  padding: 0;
  list-style: none;
  margin: 0;
}

.ul-sport-field li>span {
  padding: 5px;
}

.li-sport-field-parent {
  display: flex;
  align-items: center;
  position: relative;
}

.li-sport-field-parent-top::after {
  content: "";
  position: absolute;
  width: 100%;
  border-top: var(--border-style);
  top: 0;
}

.li-sport-field-parent>div {
  flex: 1;
  border-left: var(--border-style);
}

.draggable-progress-slider {
  display: flex;
  justify-content: flex-end;
  margin: 10px 10px 0 10px;
}

.progress-container {
  height: 40px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  padding: 0 20px;
  width: var(--width-progress);
  touch-action: none;
  /* Ngăn hành vi cuộn mặc định */
  user-select: none;
  /* Ngăn việc chọn văn bản */
}

.manage-field-left {
  width: calc(var(--width-content-left) / var(--zoom-calc));
}

.manage-field-left-day-of-week-title {
  width: 100px;
  text-align: center;
}

.content-left-top::before,
.content-left-bottom::after {
  content: "";
  position: absolute;
  width: 100%;
  border-top: var(--border-style);
}

.content-left-field {
  white-space: nowrap;
  flex: 1;
  font-weight: 700;
}

.content-left-top::before {
  top: 0;
}

.content-left-bottom::after {
  bottom: 0;
}

.manage-field-left-day-of-week {
  font-weight: 600;
  border-right: var(--border-style);
}

.bg-pending,
.bg-success {
  color: white;
  white-space: nowrap;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  z-index: 2;
  position: relative;
}

.container-grid-right {
  position: relative;
  max-height: var(--height-container-grid);
  overflow-y: scroll;
  overflow-x: hidden;
}

.container-grid-left {
  max-height: var(--height-container-grid);
  overflow-y: hidden;
  overflow-x: hidden;
}

.bg-lock {
  background-color: #cdcdcd;
  cursor: grab;
}

.bg-lock-parent {
  background-color: #cdcdcd !important;
  cursor: grab;

}

.bg-available {
  background-color: white;
  z-index: 2;
  position: relative;
  cursor: pointer;
}

.bg-pending {
  background-color: #f4ca85 !important;
}

.bg-success {
  background-color: #74bd74 !important;
  cursor: grab;
}

.bg-parent {
  position: relative;
  z-index: 3;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 40px;
  background: transparent;
  position: relative;
  z-index: 2;
  /* Để input nằm trên cùng */
  border: none;
}

/* Style cho thanh tiến độ */
.slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(to right,
      yellow var(--value, 0%),
      rgb(235, 245, 233) var(--value, 0%));
}

.slider::-moz-range-track {
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(to right,
      yellow var(--value, 0%),
      rgb(235, 245, 233) var(--value, 0%));
}

.slider::-ms-track {
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background: transparent;
  border: none;
  color: transparent;
}

/* Thumb style */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: yellow;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  margin-top: -4px;
}

.slider::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #4caf50;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.slider::-ms-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #4caf50;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Style cho thanh tiến độ trên IE */
.slider::-ms-fill-lower {
  background: red;
  border-radius: 5px;
}

.slider::-ms-fill-upper {
  background: #e0e0e0;
  border-radius: 5px;
}

/* Context menu */

.wrapper::after {
  background: #fff;
  content: "";
  height: 280px;
  left: -90px;
  opacity: 0.2;
  position: absolute;
  top: -109px;
  transform: rotate(32deg);
  transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
  width: 60px;
  z-index: 10;
}

.wrapper:hover::after {
  left: 96%;
  top: 0px;
  transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
}

#context-menu {
  border: solid 1px #ddd;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 8px;
  pointer-events: none;
  z-index: 20 !important;
}

#context-menu div {
  pointer-events: auto;

  a {
    background-image: linear-gradient(to right, #54b3d6, #54b3d6 50%, #000 50%);
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
    font-weight: 600;
  }

  a:before {
    content: "";
    background: #54b3d6;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
  }

  a:hover {
    background-position: 0;
  }

  a:hover::before {
    width: 100%;
  }
}

#context-menu div+div {
  border-top: 1px solid rgb(148, 147, 151);
}

.modal-content-info-booking {
  background-image: url(../img/bg-info-booking.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgb(255 255 255 / 26%);
  min-height: 500px;
  background-blend-mode: overlay;
  background-size: cover;
}

.modal-info-booking-title,
.modal-info-booking-sub-title {
  text-transform: uppercase;
}

.modal-info-booking-title {
  font-size: 2rem;
  font-weight: bold;
}

.modal-info-booking-sub-title {
  font-size: 1.3rem;
  font-weight: 600;
}

.modal-info-booking-logo {
  height: 35px;
  width: 35px;
}

.modal-info-booking-logo-text {
  font-weight: 800;
  font-size: 1.4rem;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
}

.modal-info-booking-item {
  padding: 5px;
}

.modal-info-booking-item-label,
.modal-info-booking-item-content {
  font-size: 1.5rem;
}

.modal-info-booking-item-label {}

.modal-info-booking-item-content {
  font-style: italic;
}

/* End Test */

.container-loader {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-time-header);
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  flex-direction: column;
}

.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
  gap: 10px;
}

.flipping-cards {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.flipping-card {
  width: 30px;
  height: 40px;
  background-color: #ff5c35;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  animation: flip 2s infinite;
}

.flipping-card {
  animation: flip 4s infinite;
}

.flipping-card:nth-child(1) {
  animation-delay: 0s;
}

.flipping-card:nth-child(2) {
  animation-delay: 0.03s;
}

.flipping-card:nth-child(3) {
  animation-delay: 0.06s;
}

.flipping-card:nth-child(4) {
  animation-delay: 0.09s;
}

.flipping-card:nth-child(5) {
  animation-delay: 0.12s;
}

.flipping-card:nth-child(6) {
  animation-delay: 0.15s;
}

.flipping-card:nth-child(7) {
  animation-delay: 0.18s;
}

.flipping-card:nth-child(8) {
  animation-delay: 0.21s;
}

.flipping-card:nth-child(9) {
  animation-delay: 0.24s;
}

.flipping-card:nth-child(10) {
  animation-delay: 0.27s;
}

.flipping-card:nth-child(11) {
  animation-delay: 0.3s;
}

.flipping-card:nth-child(12) {
  animation-delay: 0.33s;
}

.flipping-card:nth-child(13) {
  animation-delay: 0.36s;
}

.flipping-card:nth-child(14) {
  animation-delay: 0.39s;
}

.flipping-card:nth-child(15) {
  animation-delay: 0.42s;
}

.flipping-card:nth-child(16) {
  animation-delay: 0.45s;
}

.flipping-card:nth-child(17) {
  animation-delay: 0.48s;
}

@keyframes flip {

  0%,
  100% {
    transform: rotateY(0deg);
  }

  50% {
    transform: rotateY(180deg);
  }
}

#settingsButton {
  position: fixed;
  top: 3px;
  right: 5px;
  background-color: #bfbbc2;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
  z-index: 99999999999;
  outline: none;
}

#settingsButton:hover {
  background-color: #8f8f8f;
}

.container-booking-field,
.container-customer-detail {
  width: 100vw;
  height: 100vh;
}

.container-customer-detail {
  box-sizing: content-box;
  color: white;
  background-color: var(--primary-color);
}

.icon-arrow-left {
  width: 30px;
  position: absolute;
  left: 10px;
  cursor: pointer;
}

.customer-detail-header {
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--height-header-customer-detail);
  background-color: var(--primary-color);
  padding: 4px;
  z-index: 10;
}

.customer-detail-body {
  padding: 10px 10px 10px 10px;
  background-color: var(--primary-color);

}

.booking-field {
  /* background-color: #bf671f; */
  color: black;
  background-color: white;
  padding: 10px;
  border-radius: 10px;
}

.customer-detail-footer {
  height: var(--height-footer-customer-detail);
  background-color: var(--primary-color);
  color: white;
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99;
  bottom: 0;
  padding: 0 10px;
}

.customer-detail-first {
  margin-top: var(--height-header-customer-detail);
}

.customer-detail-last {
  margin-top: var(--height-footer-customer-detail);
}

.booking-field_info-item {
  display: flex;
  gap: 5px;
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.booking-field_info-sub-item {
  display: flex;
  flex-direction: column;
}

.booking-field_info-label {
  width: 100px;
  font-style: italic;
  cursor: default;
  margin-right: 10px;
}

.btn-disabled {
  opacity: .7;
  cursor: not-allowed;
}

.text-wrap-field {
  white-space: normal;
  width: 100% !important;
  -webkit-line-clamp: var(--text-line);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5 !important;
  text-align: center;
  font-size: var(--text-size-field);
}