:root {
  --chef-processing-bg: #198754;
  --chef-highlight-ring: rgba(181, 52, 68, 0.45);
  --assistant-highlight-ring: rgba(25, 135, 84, 0.35);
  --table-highlight-ring: rgba(255, 193, 7, 0.45);
}

.to-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 20;
}

.ab-button {
  position: absolute;
  width: 20px;
  height: 20px;
  right: 10px;
  top: 10px;
}
#modal-holder{z-index:2000}
#table-holder {
  min-height: 600px;
}
#chef-holder {
  min-height: 200px;
}
.chef {
  margin-left: 20px;
  display: inline-block;
}

.chef:first-child {
  margin-left: 45px;
}
.custom-tooltip {
  --bs-tooltip-bg: var(--bs-success);
}
.assistant-tooltip {
  --bs-tooltip-bg: var(--bs-warning);
}
.bg-secondary2 {
  background-color: #9a9fa4 !important;
}
.bg-secondary3 {
  background-color: #767779 !important;
}
.bg-secondary4 {
  background-color: #c5c5c5 !important;
}

.chef.processing {
  background: var(--chef-processing-bg);
  color: #fff;
}

.assistant {
  position: absolute;
  width: 300px;
  right: 10px;
}

.chef.highlight {
  box-shadow: 0 0 0 0.2rem var(--chef-highlight-ring);
}
.assistant.highlight {
  box-shadow: 0 0 0 0.2rem var(--assistant-highlight-ring);
}
.draggable.highlight {
  box-shadow: 0 0 0 0.2rem var(--table-highlight-ring);
}
.food-list { min-height: 20px; }
.food-list > div {
  margin-top: 15px;
}
.food-list > div:first-child {
  margin-top: 0px;
}

.w-20 {
  width: 20%;
}

.draggable {
  touch-action: none;
  user-select: none;
  display: inline-block;
}
.draggable .card-header {cursor: move;}

#panel-action {
  width: 137px;
  position: absolute;
  z-index: 1;
  top: 10px;
  transform: translateX(-100%);
  -webkit-transform: translateX(-100%);
}
#panel-action.init {
  transform: translateX(-100%) !important;
  -webkit-transform: translateX(-100%) !important;
}

.slide-in {
  animation: slide-in 0.5s forwards;
  left: 10px;
  -webkit-animation: slide-in 0.5s forwards;
}

.slide-out {
  animation: slide-out 0.5s forwards;
  -webkit-animation: slide-out 0.5s forwards;
}
  
@keyframes slide-in {
  100% { transform: translateX(0%); }
}

@-webkit-keyframes slide-in {
  100% { -webkit-transform: translateX(0%); }
}
  
@keyframes slide-out {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

@-webkit-keyframes slide-out {
  0% { -webkit-transform: translateX(0%); }
  100% { -webkit-transform: translateX(-100%); }
}

.btn-action-main {
  position: absolute;
  top: -1px;
  right: -50px;
}

.pg-test .form-control {
  height: 24px;
}
.pg-test .progress {
  height: 100%;
}
.pg-test .btn-complete {
  line-height: 1px;
  padding: 2px 6px;
}
.progress-bar {
  -webkit-transition: width 1s ease-in-out;
    -moz-transition: width 1s ease-in-out;
    -o-transition: width 1s ease-in-out;
    transition: width 1s ease-in-out;
}
.tooltip { z-index: 11; }

.tooltip-arrow { position: absolute; }
.bs-tooltip-top .tooltip-arrow { left: 45% !important; }
.bs-tooltip-start .tooltip-arrow,.bs-tooltip-end .tooltip-arrow { top: 40% !important; }

.animate {
  max-height: 1000px;

  -webkit-transition-property: all;
  -webkit-transition-duration: .5s;
  -webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);

  -moz-transition-property: all;
  -moz-transition-duration: .5s;
  -moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);

  -ms-transition-property: all;
  -ms-transition-duration: .5s;
  -ms-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);

  transition-property: all;
  transition-duration: .5s;
  transition-timing-function: cubic-bezier(0, 1, 0.5, 1);

  height: auto; 
}

.animate.closed {
  overflow-y: hidden;
  max-height: 0;
  padding: 0 !important;
}

.assistant-log-stream {
  max-height: 320px;
  overflow-y: auto;
}
