/* 
  Scrollbar 
*/
::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}
::-webkit-scrollbar-thumb {
  background-color: #bbbbbb;
  border-radius: 12px;
  border: 4px solid #f1f1f1;
}
::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #a0a0a0;
}

/*
  Set Class Theme ให้รองรับ Font Sarabun
*/
.p-inputtext,
.p-multiselect .p-multiselect-label {
  padding: 0.4375rem 0.675rem;
  line-height: 1.5rem;
  text-indent: 1px;
}

/*
  small
*/
small.p-error {
  display: inline-block;
  font-weight: 400;
  font-size: var(--font-size);
}

/*
  Font Size
*/
.text-10px {
  font-size: 10px !important;
}
.text-11px {
  font-size: 11px !important;
}
.text-12px {
  font-size: 12px !important;
}
.text-13px {
  font-size: 13px !important;
}
.text-14px {
  font-size: 14px !important;
}
.text-15px {
  font-size: 15px !important;
}
.text-16px {
  font-size: 16px !important;
}
.text-17px {
  font-size: 17px !important;
}
.text-18px {
  font-size: 18px !important;
}
.text-19px {
  font-size: 19px !important;
}
.text-20px {
  font-size: 20px !important;
}
.text-22px {
  font-size: 22px !important;
}
.text-24px {
  font-size: 24px !important;
}
.text-26px {
  font-size: 26px !important;
}
.text-28px {
  font-size: 28px !important;
}
.text-30px {
  font-size: 30px !important;
}
.text-32px {
  font-size: 32px !important;
}

.text-80pc {
  font-size: 80% !important;
}
.text-85pc {
  font-size: 85% !important;
}
.text-90pc {
  font-size: 90% !important;
}
.text-95pc {
  font-size: 95% !important;
}

/* 
  Font Weight
*/
.text-bold-sm {
  font-weight: 400 !important;
}
.text-bold-md {
  font-weight: 500 !important;
}
.text-bold-lg {
  font-weight: 600 !important;
}
.text-bold-xl {
  font-weight: 700 !important;
}

/*
  Text Star
*/
.text-star {
  color: red !important;
  margin-left: 2px;
}

/*
  Text Link
*/
.text-link {
  color: var(--blue-500) !important;
  cursor: pointer;
}
.text-link:hover {
  color: var(--blue-600) !important;
}

/* 
  Text Approve
 */
.text-approve-waiting {
  color: #a4a4a4 !important;
}
.text-approve-sending {
  color: #ffac21 !important;
}
.text-approve-complete {
  color: #009933 !important;
}
.text-approve-failure {
  color: #ff0000 !important;
}

/*
  Text Break
*/
.text-break {
  word-break: break-word !important;
  word-wrap: break-word !important;
}

/*
  Text Overflow
*/
.text-overflow-ellipsis-1 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.text-overflow-ellipsis-2 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.text-overflow-ellipsis-3 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/*
  Button
*/
.button-order-list {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  font-weight: 500;
}

.button-template .p-button i {
  line-height: 2.25rem;
}
.button-template .p-button.warning {
  background: linear-gradient(to left, var(--orange-400) 50%, var(--orange-500) 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: background-position 0.5s ease-out;
  color: #fff;
  border-color: var(--orange-500);
}
.button-template .p-button.warning:hover {
  background-position: left bottom;
}
.button-template .p-button.warning i {
  background-color: var(--orange-500);
}
.button-template .p-button.warning:focus {
  box-shadow: 0 0 0 1px var(--orange-200);
}

/*
  Background
*/
.bg-inherit {
  background: inherit;
}

/*
  Border
*/
.border-element {
  border: 1px solid #ced4da;
  border-radius: 3px;
  transition: border-color 0.2s;
}
.border-element.p-invalid {
  border-color: #f44336 !important;
}
.border-element:hover {
  border-color: #2196f3;
}

/*
  Line Through
*/
.line-through-primary {
  text-decoration: line-through;
  text-decoration-color: var(--blue-500);
}
.line-through-danger {
  text-decoration: line-through;
  text-decoration-color: var(--red-500);
}
.line-through-success {
  text-decoration: line-through;
  text-decoration-color: var(--green-500);
}
.line-through-warn {
  text-decoration: line-through;
  text-decoration-color: var(--orange-500);
}
.line-through-info {
  text-decoration: line-through;
  text-decoration-color: var(--cyan-500);
}
.line-through-help {
  text-decoration: line-through;
  text-decoration-color: var(--purple-500);
}
.line-through-secondary {
  text-decoration: line-through;
  text-decoration-color: var(--bluegray-500);
}
.line-through-light {
  text-decoration: line-through;
  text-decoration-color: var(--gray-500);
}

/*
  Dot
*/
.dot-status {
  height: 8px;
  width: 8px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

/*
  Chip
*/
.chip-plantype {
  border: 1px solid var(--gray-300);
  background-color: var(--gray-200);
  color: var(--gray-600);
  font-size: 85%;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px white;
}
.chip-emergency {
  border: 1px solid var(--red-100);
  background-color: #ffe1e1;
  color: var(--red-500);
  font-size: 85%;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px white;
}

/*
	Flag Icon
*/
.flag-icon {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  display: inline-block;
  width: 1.375em;
  height: 1.375em;
  /* line-height: 5em; */
}
.flag-icon:before {
  content: "\00a0";
}
.flag-icon-en {
  background-image: url(../images/flags/eng.png);
}
.flag-icon-th {
  background-image: url(../images/flags/tha.png);
}

/*
  Draggable
*/
.ghost-group {
  opacity: 0.5;
}
.ghost-card {
  opacity: 0.5 !important;
  background: var(--blue-50) !important;
}

/*
  Box Image
*/
.img-box {
  display: inline-block;
  border-radius: 0.375rem;
  border: 1px solid var(--bluegray-100);
  margin: 0.5rem 0.5rem 0 0;
  padding: 1px;
  background: #ffffff;
}
.img-upload-type {
  box-shadow: none !important;
  border-radius: var(--border-radius) !important;
}
.img-upload-type:hover {
  border: 1px solid #2196f3 !important;
}
.img-upload-type.p-invalid {
  border: 1px solid #f44336 !important;
}
.img-upload-desc {
  box-shadow: none !important;
  border-radius: var(--border-radius) !important;
  margin-bottom: -3px !important;
  resize: none !important;
}
.img-upload-desc:hover {
  border: 1px solid #2196f3 !important;
}
.img-upload-desc.p-invalid {
  border: 1px solid #f44336 !important;
}
.img-upload-desc:disabled {
  pointer-events: none;
}
.img-view-type {
  overflow-y: auto;
  overflow-x: hidden;
  border-top: 1px solid var(--bluegray-100);
  background-color: white;
  padding: 0.5rem;
  height: 2.6rem;
  line-height: 1.525rem;
  font-size: var(--font-size);
}
.img-view-desc {
  overflow-y: auto;
  overflow-x: hidden;
  border-top: 1px solid var(--bluegray-100);
  background-color: white;
  padding: 0.5rem;
  height: 4.075rem;
  font-size: var(--font-size);
}
.img-icon-close {
  position: absolute;
  right: 0;
  cursor: pointer;
  z-index: 1;
  margin: 0.25rem;
}
.img-icon-close:hover {
  color: red !important;
}
.img-w-xs {
  width: 90px;
}
.img-w-sm {
  width: 110px;
}
.img-w-md {
  width: 120px;
}
.img-w-lg {
  width: 150px;
}
.img-w-xl {
  width: 200px;
}

.btn-add {
  display: block;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem !important;
  border: none;
  background-color: var(--bluegray-50);
  color: var(--bluegray-200);
  width: 100% !important;
}
.btn-add:hover {
  background-color: var(--blue-50) !important;
  color: var(--blue-500) !important;
}

.btn-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem !important;
  border: none;
  border-radius: 0.375rem;
  background-color: var(--bluegray-50);
  color: var(--bluegray-200);
  width: calc(110px + 4px); /* เพิ่ม 4px จากขนาด file scope */
  height: calc(85px + 97.5px); /* เพิ่ม 97.5px จากขนาด file scope */
}
.btn-upload.p-invalid {
  border: 1px solid #f44336;
  background-color: var(--red-50);
  color: var(--red-300);
}
.btn-upload:hover {
  background-color: var(--blue-50) !important;
  color: var(--blue-500) !important;
}
.btn-upload.btn-xs {
  width: calc(90px + 4px); /* เพิ่ม 4px จากขนาด file scope */
  height: calc(75px + 97.5px); /* เพิ่ม 97.5px จากขนาด file scope */
}
.btn-upload.btn-sm {
  width: calc(110px + 4px); /* เพิ่ม 4px จากขนาด file scope */
  height: calc(85px + 97.5px); /* เพิ่ม 97.5px จากขนาด file scope */
}
.btn-upload.btn-md {
  width: calc(120px + 4px); /* เพิ่ม 4px จากขนาด file scope */
  height: calc(95px + 97.5px); /* เพิ่ม 97.5px จากขนาด file scope */
}
.btn-upload.btn-lg {
  width: calc(150px + 4px); /* เพิ่ม 4px จากขนาด file scope */
  height: calc(125px + 97.5px); /* เพิ่ม 97.5px จากขนาด file scope */
}
.btn-upload.btn-xl {
  width: calc(200px + 4px); /* เพิ่ม 4px จากขนาด file scope */
  height: calc(175px + 97.5px); /* เพิ่ม 97.5px จากขนาด file scope */
}

/*
  Input Numer Hidden Spin
*/
.input-no-spin::-webkit-inner-spin-button,
.input-no-spin::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.input-no-spin {
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

/*
  Label Empty
*/
.msg-empty {
  display: flex;
  align-items: center;
  border-radius: 0.375rem;
  background-color: #f5f5f5;
  padding: 0.75rem;
  font-weight: 400;
  color: var(--gray-500);
}
.msg-approve {
  border: 1px solid #ced4da;
  border-radius: var(--border-radius);
  padding: 0.575rem 0.5rem;
  line-height: 1.25rem;
  color: var(--gray-900);
  font-weight: 400;

  &.p-invalid {
    color: #b5b9bd;
  }
}
.msg-primary {
  display: flex;
  align-items: center;
  border-radius: 0.375rem;
  background-color: #edf8fe;
  padding: 0.75rem;
  font-weight: 400;
  color: var(--blue-500);
}
.msg-error {
  display: flex;
  align-items: center;
  border-radius: 0.375rem;
  background-color: #fff2f2;
  padding: 0.75rem;
  font-weight: 400;
  color: var(--red-500);
}
.msg-warn {
  display: flex;
  align-items: center;
  border-radius: 0.375rem;
  background-color: #fff5ec;
  padding: 0.75rem;
  font-weight: 400;
  color: var(--orange-500);
}
.msg-info {
  display: flex;
  align-items: center;
  border-radius: 0.375rem;
  background-color: #e9fafc;
  padding: 0.75rem;
  font-weight: 400;
  color: var(--cyan-500);
}
.msg-success {
  display: flex;
  align-items: center;
  border-radius: 0.375rem;
  background-color: #ebfcef;
  padding: 0.75rem;
  font-weight: 400;
  color: var(--green-500);
}
.msg-help {
  display: flex;
  align-items: center;
  border-radius: 0.375rem;
  background-color: #f9effa;
  padding: 0.75rem;
  font-weight: 400;
  color: var(--purple-500);
}
.msg-secondary {
  display: flex;
  align-items: center;
  border-radius: 0.375rem;
  background-color: #f3f5f5;
  padding: 0.75rem;
  font-weight: 400;
  color: var(--bluegray-500);
}

/*
  Flex
*/
.flex-box-border {
  border-left: 0.25rem solid var(--bluegray-200);
  border-radius: 0.3rem;
  padding: 0 0.75rem;
}
.flex-box-border label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 300;
  color: var(--gray-500);
}
.flex-box-icon {
  display: flex;
}
.flex-box-icon > div > i {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: var(--blue-100);
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 0.75rem;
  font-size: 14px;
  color: var(--blue-900);
}
.flex-box-icon > div > label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 300;
  color: var(--gray-500);
}
.flex-box-icon > div > div {
  line-height: 1.5;
}
/*
  Keysearch
*/
.keysearch-autocomplete {
  list-style: none;
  display: none;
  margin: 0;
  padding: 0;
  z-index: 2;
  position: absolute;
  overflow: auto;
  width: 66.6667%;
  max-height: 200px;
  background: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 2px 4px -1px rgba(0, 0, 0, 0.2);
  animation: fadein 0.15s linear;
  @keyframes fadein {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
}
.keysearch-header {
  padding: 0.5rem;
  font-weight: 400;
  color: var(--text-color);
  background: #f8f9fa;
}
.keysearch-list {
  padding: 0.5rem;
  font-weight: 300;
  font-size: var(--font-size);
  color: var(--text-color);
  cursor: pointer;
  border-top: 1px dotted var(--surface-border);
}
.keysearch-list:hover {
  background: #e9ecef;
}
.keysearch-close {
  color: var(--text-color) !important;
  cursor: pointer;
  margin-left: 0.5rem;
}
.keysearch-close:hover {
  color: red !important;
}
.keysearch-empty {
  padding: 0.5rem;
  font-weight: 300;
  color: var(--bluegray-400);
  border-top: 1px dotted var(--surface-border);
}

/*
  Multiselect
*/
/* ::v-deep(.select-company .p-multiselect-label) {
  white-space: normal;
}
::v-deep(.select-company .p-multiselect-token) {
  margin-top: 2px;
  margin-bottom: 2px;
} */

/*
  Speeddial
*/
.p-speeddial-table.p-speeddial {
  position: relative;
  display: flex;
  justify-content: flex-start;
}
.p-speeddial-table .p-speeddial-list {
  position: absolute;
  left: 2.75rem;
}

/*
 OverlayPanel
*/
.p-overlaypanel-arrow-hidden::before,
.p-overlaypanel-arrow-hidden::after {
  display: none;
}

/*
  Tooltip
*/
.tooltip-nowrap.p-tooltip {
  max-width: 700px;
}

.tooltip-approve.p-tooltip {
  max-width: 350px;
}
.tooltip-approve .p-tooltip-text {
  background-color: var(--gray-50);
  font-size: var(--font-size);
  font-weight: 400;
  color: var(--text-color);
  padding: 0.75rem;
  line-height: 1.25rem;
}
.tooltip-approve.p-tooltip-top .p-tooltip-arrow {
  border-top-color: var(--gray-50);
}
.tooltip-approve.p-tooltip-bottom .p-tooltip-arrow {
  border-bottom-color: var(--gray-50);
}
.tooltip-approve.p-tooltip-left .p-tooltip-arrow {
  border-left-color: var(--gray-50);
}
.tooltip-approve.p-tooltip-right .p-tooltip-arrow {
  border-right-color: var(--gray-50);
}

.tooltip-primary .p-tooltip-text {
  background-color: var(--blue-500);
  color: rgb(255, 255, 255);
}
.tooltip-primary.p-tooltip-top .p-tooltip-arrow {
  border-top-color: var(--blue-500);
}
.tooltip-primary.p-tooltip-bottom .p-tooltip-arrow {
  border-bottom-color: var(--blue-500);
}
.tooltip-primary.p-tooltip-left .p-tooltip-arrow {
  border-left-color: var(--blue-500);
}
.tooltip-primary.p-tooltip-right .p-tooltip-arrow {
  border-right-color: var(--blue-500);
}

.tooltip-success .p-tooltip-text {
  background-color: var(--green-500);
  color: rgb(255, 255, 255);
}
.tooltip-success.p-tooltip-top .p-tooltip-arrow {
  border-top-color: var(--green-500);
}
.tooltip-success.p-tooltip-bottom .p-tooltip-arrow {
  border-bottom-color: var(--green-500);
}
.tooltip-success.p-tooltip-left .p-tooltip-arrow {
  border-left-color: var(--green-500);
}
.tooltip-success.p-tooltip-right .p-tooltip-arrow {
  border-right-color: var(--green-500);
}

.tooltip-warn .p-tooltip-text {
  background-color: var(--orange-500);
  color: rgb(255, 255, 255);
}
.tooltip-warn.p-tooltip-top .p-tooltip-arrow {
  border-top-color: var(--orange-500);
}
.tooltip-warn.p-tooltip-bottom .p-tooltip-arrow {
  border-bottom-color: var(--orange-500);
}
.tooltip-warn.p-tooltip-left .p-tooltip-arrow {
  border-left-color: var(--orange-500);
}
.tooltip-warn.p-tooltip-right .p-tooltip-arrow {
  border-right-color: var(--orange-500);
}

.tooltip-danger .p-tooltip-text {
  background-color: var(--red-500);
  color: rgb(255, 255, 255);
}
.tooltip-danger.p-tooltip-top .p-tooltip-arrow {
  border-top-color: var(--red-500);
}
.tooltip-danger.p-tooltip-bottom .p-tooltip-arrow {
  border-bottom-color: var(--red-500);
}
.tooltip-danger.p-tooltip-left .p-tooltip-arrow {
  border-left-color: var(--red-500);
}
.tooltip-danger.p-tooltip-right .p-tooltip-arrow {
  border-right-color: var(--red-500);
}

.tooltip-help .p-tooltip-text {
  background-color: var(--purple-500);
  color: rgb(255, 255, 255);
}
.tooltip-help.p-tooltip-top .p-tooltip-arrow {
  border-top-color: var(--purple-500);
}
.tooltip-help.p-tooltip-bottom .p-tooltip-arrow {
  border-bottom-color: var(--purple-500);
}
.tooltip-help.p-tooltip-left .p-tooltip-arrow {
  border-left-color: var(--purple-500);
}
.tooltip-help.p-tooltip-right .p-tooltip-arrow {
  border-right-color: var(--purple-500);
}

.tooltip-info .p-tooltip-text {
  background-color: var(--cyan-500);
  color: rgb(255, 255, 255);
}
.tooltip-info.p-tooltip-top .p-tooltip-arrow {
  border-top-color: var(--cyan-500);
}
.tooltip-info.p-tooltip-bottom .p-tooltip-arrow {
  border-bottom-color: var(--cyan-500);
}
.tooltip-info.p-tooltip-left .p-tooltip-arrow {
  border-left-color: var(--cyan-500);
}
.tooltip-info.p-tooltip-right .p-tooltip-arrow {
  border-right-color: var(--cyan-500);
}

.tooltip-secondary .p-tooltip-text {
  background-color: var(--bluegray-500);
  color: rgb(255, 255, 255);
}
.tooltip-secondary.p-tooltip-top .p-tooltip-arrow {
  border-top-color: var(--bluegray-500);
}
.tooltip-secondary.p-tooltip-bottom .p-tooltip-arrow {
  border-bottom-color: var(--bluegray-500);
}
.tooltip-secondary.p-tooltip-left .p-tooltip-arrow {
  border-left-color: var(--bluegray-500);
}
.tooltip-secondary.p-tooltip-right .p-tooltip-arrow {
  border-right-color: var(--bluegray-500);
}

.tooltip-light .p-tooltip-text {
  background-color: var(--gray-50);
  color: rgb(0, 0, 0);
}
.tooltip-light.p-tooltip-top .p-tooltip-arrow {
  border-top-color: var(--gray-50);
}
.tooltip-light.p-tooltip-bottom .p-tooltip-arrow {
  border-bottom-color: var(--gray-50);
}
.tooltip-light.p-tooltip-left .p-tooltip-arrow {
  border-left-color: var(--gray-50);
}
.tooltip-light.p-tooltip-right .p-tooltip-arrow {
  border-right-color: var(--gray-50);
}

/*
  Popper
*/
.popper-dark {
  --popper-theme-background-color: #333333;
  --popper-theme-background-color-hover: #333333;
  --popper-theme-text-color: white;
  --popper-theme-border-width: 1px;
  --popper-theme-border-radius: var(--border-radius);
  --popper-theme-padding: 0.5rem;
  --popper-theme-box-shadow: 0 6px 10px -6px rgba(0, 0, 0, 0.25);
}
.popper-light {
  --popper-theme-background-color: #ffffff;
  --popper-theme-background-color-hover: #ffffff;
  --popper-theme-text-color: #333333;
  --popper-theme-border-width: 1px;
  --popper-theme-border-style: solid;
  --popper-theme-border-color: #eeeeee;
  --popper-theme-border-radius: var(--border-radius);
  --popper-theme-padding: 0.5rem;
  --popper-theme-box-shadow: 0 6px 10px -6px rgba(0, 0, 0, 0.25);
}
.popper-gray {
  --popper-theme-background-color: var(--gray-50);
  --popper-theme-background-color-hover: var(--gray-100);
  --popper-theme-text-color: #000000;
  --popper-theme-border-width: 1px;
  --popper-theme-border-style: solid;
  --popper-theme-border-color: var(--gray-300);
  --popper-theme-border-radius: var(--border-radius);
  --popper-theme-padding: 0.5rem;
  --popper-theme-box-shadow: 0 6px 10px -6px rgba(0, 0, 0, 0.25);
}
.popper-danger {
  --popper-theme-background-color: var(--red-600);
  --popper-theme-background-color-hover: var(--red-600);
  --popper-theme-text-color: #ffffff;
  --popper-theme-border-width: 1px;
  --popper-theme-border-style: solid;
  --popper-theme-border-color: var(--red-700);
  --popper-theme-border-radius: var(--border-radius);
  --popper-theme-padding: 0.5rem;
  --popper-theme-box-shadow: 0 6px 10px -6px rgba(0, 0, 0, 0.25);
}

/*
  Elements
*/
.elements-modified {
  opacity: 1 !important;
  border-color: var(--yellow-500);
  background-color: var(--yellow-50);
}

/* 
  Multi Step
 */
/* .multisteps {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
} */
.multisteps-progress {
  transition-property: all;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  transition-delay: 0s;
  position: relative;
  padding-top: 20px;
  color: rgba(108, 117, 125, 0.7);
  text-indent: 0;
  border: none;
  background-color: transparent;
  outline: none !important;
  cursor: pointer;
  font-family: var(--font-family);
}
/* @media (min-width: 500px) {
  .multisteps-progress {
    text-indent: 0;
  }
} */
.multisteps-progress:before {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 1rem;
  height: 1rem;
  content: "";
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  transition: all 0.15s linear 0s, -webkit-transform 0.15s cubic-bezier(0.05, 1.09, 0.16, 1.4) 0s;
  transition: all 0.15s linear 0s, transform 0.15s cubic-bezier(0.05, 1.09, 0.16, 1.4) 0s;
  transition: all 0.15s linear 0s, transform 0.15s cubic-bezier(0.05, 1.09, 0.16, 1.4) 0s,
    -webkit-transform 0.15s cubic-bezier(0.05, 1.09, 0.16, 1.4) 0s;
  border: 2px solid currentColor;
  border-radius: 50%;
  background-color: #fff;
  box-sizing: border-box;
  z-index: 3;
}
.multisteps-progress:after {
  position: absolute;
  top: 5px;
  left: calc(-50% - 1rem / 5);
  transition-property: all;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  transition-delay: 0s;
  display: block;
  width: 100%;
  height: 2px;
  content: "";
  background-color: currentColor;
  z-index: 1;
}
.multisteps-progress:first-child:after {
  display: none;
}
.multisteps-progress.steps-active {
  color: var(--primary-color);
}
.multisteps-progress.steps-active:before {
  -webkit-transform: translateX(-50%) scale(1.2);
  transform: translateX(-50%) scale(1.2);
  background-color: currentColor;
}

/* 
  Progress Indicator
 */
.flexer,
.progress-indicator {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}
.no-flexer,
.progress-indicator.stacked {
  display: block;
}
.no-flexer-element {
  -ms-flex: 0;
  -webkit-flex: 0;
  -moz-flex: 0;
  flex: 0;
}
.flexer-element,
.progress-indicator > li {
  -ms-flex: 1;
  -webkit-flex: 1;
  -moz-flex: 1;
  flex: 1;
}
.progress-indicator {
  margin: 0;
  padding: 0;
  /* font-size: 80%; */
  /* text-transform: uppercase; */
  /* margin-bottom: 1em; */
}
.progress-indicator > li {
  list-style: none;
  text-align: center;
  width: auto;
  padding: 0;
  margin: 0;
  position: relative;
  text-overflow: ellipsis;
  color: #cccccc;
  display: block;
}
.progress-indicator > li:not(.active):hover {
  color: #8d8d8d;
  cursor: pointer;
}
.progress-indicator > li .bubble {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background-color: #cccccc;
  display: block;
  margin: 0 auto 0.5em auto;
  /* border-bottom: 1px solid #888888; */
}
.progress-indicator > li .bubble:before,
.progress-indicator > li .bubble:after {
  display: block;
  position: absolute;
  top: 9px;
  width: 100%;
  height: 3px;
  content: "";
  background-color: #cccccc;
}
.progress-indicator > li:not(.active):hover .bubble:before,
.progress-indicator > li:not(.active):hover .bubble:after,
.progress-indicator > li:not(.active):hover .bubble {
  background-color: #aaaaaa;
  cursor: pointer;
}
.progress-indicator > li .bubble:before {
  left: 0;
}
.progress-indicator > li .bubble:after {
  right: 0;
}
.progress-indicator > li.completed {
  color: var(--green-500);
}
.progress-indicator > li.completed:not(.active):hover {
  color: var(--green-700);
}
.progress-indicator > li.completed .bubble {
  background-color: #65d074;
  color: #65d074;
  border-color: #247830;
}
.progress-indicator > li.completed .bubble:before,
.progress-indicator > li.completed .bubble:after {
  background-color: #65d074;
  border-color: #247830;
}
.progress-indicator > li.completed:not(.active):hover .bubble:before,
.progress-indicator > li.completed:not(.active):hover .bubble:after,
.progress-indicator > li.completed:not(.active):hover .bubble {
  background-color: #50af5d;
}
.progress-indicator > li a:not(.active):hover .bubble {
  background-color: #5671d0;
  color: #5671d0;
  border-color: #1f306e;
}
.progress-indicator > li a:not(.active):hover .bubble:before,
.progress-indicator > li a:not(.active):hover .bubble:after {
  background-color: #5671d0;
  border-color: #1f306e;
}
.progress-indicator > li.primary {
  color: var(--blue-500);
}
.progress-indicator > li.primary:not(.active):hover {
  color: var(--blue-700);
}
.progress-indicator > li.primary .bubble {
  background-color: var(--blue-500);
  color: var(--blue-500);
  border-color: #1f306e;
}
.progress-indicator > li.primary .bubble:before,
.progress-indicator > li.primary .bubble:after {
  background-color: var(--blue-500);
  border-color: #1f306e;
}
.progress-indicator > li.primary:not(.active):hover .bubble:before,
.progress-indicator > li.primary:not(.active):hover .bubble:after,
.progress-indicator > li.primary:not(.active):hover .bubble {
  background-color: var(--blue-600);
}
.progress-indicator > li.danger {
  color: #fb2904;
}
.progress-indicator > li.danger:not(.active):hover {
  color: #de2125;
}
.progress-indicator > li.danger .bubble {
  background-color: #fb2904;
  color: #fb2904;
  border-color: #440605;
}
.progress-indicator > li.danger .bubble:before,
.progress-indicator > li.danger .bubble:after {
  background-color: #fb2904;
  border-color: #440605;
}
.progress-indicator > li.danger:not(.active):hover .bubble:before,
.progress-indicator > li.danger:not(.active):hover .bubble:after,
.progress-indicator > li.danger:not(.active):hover .bubble {
  background-color: #de2125;
}
.progress-indicator > li.warning {
  color: #f5d101;
}
.progress-indicator > li.warning:not(.active):hover {
  color: #edb10a;
}
.progress-indicator > li.warning .bubble {
  background-color: #f5d101;
  color: #f5d101;
  border-color: #5a4304;
}
.progress-indicator > li.warning .bubble:before,
.progress-indicator > li.warning .bubble:after {
  background-color: #f5d101;
  border-color: #5a4304;
}
.progress-indicator > li.warning:not(.active):hover .bubble:before,
.progress-indicator > li.warning:not(.active):hover .bubble:after,
.progress-indicator > li.warning:not(.active):hover .bubble {
  background-color: #edb10a;
}
.progress-indicator > li.info {
  color: #0dd0f2;
}
.progress-indicator > li.info:not(.active):hover {
  color: #18b8e7;
}
.progress-indicator > li.info .bubble {
  background-color: #0dd0f2;
  color: #0dd0f2;
  border-color: #25135d;
}
.progress-indicator > li.info .bubble:before,
.progress-indicator > li.info .bubble:after {
  background-color: #0dd0f2;
  border-color: #25135d;
}
.progress-indicator > li.info:not(.active):hover .bubble:before,
.progress-indicator > li.info:not(.active):hover .bubble:after,
.progress-indicator > li.info:not(.active):hover .bubble {
  background-color: #18b8e7;
}
.progress-indicator.stacked > li {
  text-indent: -10px;
  text-align: center;
  display: block;
}
.progress-indicator.stacked > li .bubble:before,
.progress-indicator.stacked > li .bubble:after {
  left: 50%;
  margin-left: -1.5px;
  width: 3px;
  height: 100%;
}
.progress-indicator.stacked .stacked-text {
  position: relative;
  z-index: 10;
  top: 0;
  margin-left: 60% !important;
  width: 45% !important;
  display: inline-block;
  text-align: left;
  line-height: 1.2em;
}
.progress-indicator.stacked > li a {
  border: none;
}
@media handheld, screen and (max-width: 400px) {
  .progress-indicator {
    font-size: 60%;
  }
}

/*
  Box
*/
.box-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--surface-border);
  border-radius: 1.5rem;
  padding: 0.5rem;
}
.box-custom {
  border-radius: 0.75rem;
  border: 1px solid #e9ecef;
  margin-top: 1rem;
}
.box-custom .table-custom {
  margin-top: 0;
}
.box-custom .table-custom tr:first-child th {
  border-top: 0;
}
.box-custom::-webkit-scrollbar-track {
  border-radius: 0.75rem;
  margin: 2px;
}

/*
  Table Custom
*/
.table-custom {
  border-collapse: collapse;
  min-width: 100%;
  table-layout: fixed;
  margin-top: 1rem;
}
.table-custom thead tr,
.table-custom tfoot tr {
  background: #f8f9fa;
  color: var(--text-color);
}
.table-custom thead tr th,
.table-custom tfoot tr th {
  text-align: left;
  padding: 1rem 0.5rem;
  border: 1px solid #e9ecef;
  border-width: 1px 0 0 0;
  font-weight: 400;
  font-size: var(--font-size);
}
.table-custom tbody tr.tr-group td {
  background: #ffffff;
  padding: 1rem 0.5rem;
  color: var(--orange-500);
  font-weight: 400;
}
.table-custom tbody tr.tr-empty td {
  padding: 1rem;
  color: var(--red-500);
  font-weight: 400;
}
.table-custom tbody tr:hover {
  background: #f8f9fa;
}
.table-custom tbody tr {
  background: #ffffff;
  color: var(--text-color);
}
.table-custom tbody tr td {
  text-align: left;
  border: 1px solid #e9ecef;
  border-width: 1px 0 0 0;
  padding: 0.5rem;
  font-weight: 300;
  font-size: var(--font-size);
}

.table-custom-detail {
  border-collapse: collapse;
  min-width: 100%;
  table-layout: fixed;
}
.table-custom-detail thead tr th,
.table-custom-detail tfoot tr th {
  text-align: left;
  padding: 0.5rem;
  border: 1px dashed #e7eaed;
  border-width: 0 0 0 0;
  font-weight: 400;
  font-size: var(--font-size);
  color: blue;
  background: #f5f5f5;
}
.table-custom-detail tbody tr.tr-group td {
  background: #fcfcfc;
  padding: 0.75rem 0.5rem;
  color: var(--teal-500);
  font-weight: 400;
}
.table-custom-detail tbody tr:hover {
  background: #f5f5f5;
}
.table-custom-detail tbody tr {
  background: #fcfcfc;
  color: var(--text-color);
}
.table-custom-detail tbody tr td {
  text-align: left;
  border: 1px dashed #e7eaed;
  border-width: 1px 0 0 0;
  padding: 0.5rem;
  font-weight: 300;
  font-size: var(--font-size);
}

.table-card {
  border-collapse: separate;
  border-spacing: 0 0.5rem;
  min-width: 100%;
  table-layout: fixed;
}
.table-card thead tr,
.table-card tfoot tr {
  background: #f8f9fa;
  color: var(--text-color);
}
.table-card thead tr th,
.table-card tfoot tr th {
  text-align: left;
  padding: 1rem 0.75rem;
  /* border: 1px solid #e9ecef;
  border-width: 1px 0 1px 0; */
  font-weight: 400;
  font-size: var(--font-size);
}
.table-card thead tr th:nth-child(1) {
  /* border-left: 1px solid #e9ecef; */
  border-top-left-radius: 1rem;
}
.table-card thead tr th:last-child {
  /* border-right: 1px solid #e9ecef; */
  border-top-right-radius: 1rem;
}
.table-card tfoot tr th:nth-child(1) {
  /* border-left: 1px solid #e9ecef; */
  border-bottom-left-radius: 1rem;
}
.table-card tfoot tr th:last-child {
  /* border-right: 1px solid #e9ecef; */
  border-bottom-right-radius: 1rem;
}
.table-card tbody tr:hover {
  background: #f8f9fa;
}
.table-card tbody tr {
  background: #ffffff;
  color: var(--text-color);
}
.table-card tbody tr td {
  text-align: left;
  padding: 0.75rem;
  border: 1px solid #e9ecef;
  border-width: 1px 0 1px 0;
  font-weight: 300;
  font-size: var(--font-size);
}
.table-card tbody tr td:nth-child(1) {
  border-left: 1px solid #e9ecef;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}
.table-card tbody tr td:last-child {
  border-right: 1px solid #e9ecef;
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.table-op {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 100%;
}
.table-op tbody tr th {
  text-align: right;
  vertical-align: top;
  padding: 0.25rem;
  border: none;
  font-weight: 300;
  font-size: var(--font-size);
  color: var(--bluegray-500);
}
.table-op tbody tr td {
  text-align: left;
  vertical-align: top;
  padding: 0.25rem;
  border: none;
  font-weight: 400;
  font-size: var(--font-size);
}

.table-report-head {
  border-collapse: collapse;
  min-width: 100%;
  table-layout: fixed;
  margin-top: 0.25rem;
}
.table-report-head thead tr th,
.table-report-head tbody tr th,
.table-report-head tfoot tr th {
  text-align: left;
  padding: 0.125rem 0.5rem;
  border: 0;
  color: var(--text-color);
  font-weight: 400;
}
.table-report-head tbody tr td {
  text-align: left;
  padding: 0.125rem 0.5rem;
  border: 0;
  color: var(--text-color);
  font-weight: 300;
}

.table-report-body {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #c8d0d7;
  border-width: 1px 0 0 1px;
  min-width: 100%;
  table-layout: fixed;
}
.table-report-body thead tr th,
.table-report-body tfoot tr th {
  text-align: left;
  padding: 0.5rem;
  border: 1px solid #c8d0d7;
  border-width: 0 1px 1px 0;
  font-weight: 400;
  font-size: var(--font-size);
  color: var(--text-color);
  background: #e9ebed;
}
.table-report-body tbody tr.tr-striped td {
  background: #f8f9fa;
}
.table-report-body tbody tr.tr-empty td {
  padding: 1rem;
  color: var(--red-500);
  font-weight: 400;
}
.table-report-body tbody tr:hover td {
  background: #fffeca !important;
}
.table-report-body tbody tr td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem;
  border: 1px solid #c8d0d7;
  border-width: 0 1px 1px 0;
  font-weight: 300;
  font-size: var(--font-size);
  background: #ffffff;
}

.table-report-summary {
  border-collapse: collapse;
  table-layout: fixed;
}
.table-report-summary thead tr th,
.table-report-summary tfoot tr th {
  text-align: left;
  padding: 0.5rem;
  border: 1px solid #c8d0d7;
  border-width: 1px 0 0 0;
  font-weight: 400;
  font-size: var(--font-size);
  background: #e9ebed;
}
.table-report-summary tbody tr.tr-striped td {
  background: #f8f9fa;
}
.table-report-summary tbody tr.tr-empty td {
  padding: 1rem;
  color: var(--red-500);
  font-weight: 400;
}
.table-report-summary tbody tr:hover td {
  background: #fffeca !important;
}
.table-report-summary tbody tr td {
  text-align: left;
  border: 1px solid #c8d0d7;
  border-width: 1px 0 0 0;
  padding: 0.5rem;
  font-weight: 300;
  font-size: var(--font-size);
}

@media (max-width: 1024px) {
  .table-report-body th,
  .table-report-body td {
    position: static !important;
  }
}

/*
  Animation Fontawesome
*/
:root {
  --fa-animation-delay: 0s;
  --fa-animation-direction: normal;
  --fa-animation-duration: 1s;
  --fa-animation-iteration-count: infinite;
  --fa-animation-timing: linear;
}

@keyframes fa-shake {
  0% {
    transform: rotate(-15deg);
  }
  4% {
    transform: rotate(15deg);
  }
  8% {
    transform: rotate(-18deg);
  }
  12% {
    transform: rotate(18deg);
  }
  16% {
    transform: rotate(-22deg);
  }
  20% {
    transform: rotate(22deg);
  }
  24% {
    transform: rotate(-18deg);
  }
  28% {
    transform: rotate(18deg);
  }
  32% {
    transform: rotate(-12deg);
  }
  36% {
    transform: rotate(12deg);
  }
  40% {
    transform: rotate(-8deg);
  }
  44% {
    transform: rotate(8deg);
  }
  48% {
    transform: rotate(-4deg);
  }
  52% {
    transform: rotate(4deg);
  }
  56%,
  100% {
    transform: rotate(0deg);
  }
}

.fa-shake,
*:hover > .hover\:fa-shake {
  animation-name: fa-shake;
  animation-duration: var(--fa-animation-duration, 1s);
  animation-timing-function: var(--fa-animation-timing, ease-in-out);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
}

/*
  Ribbon
*/
.ribbon-1 {
  --c: #ff8080;
  color: #fff;
  padding: 0.5rem;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  position: relative;
  z-index: 0;
  width: fit-content;
  box-sizing: border-box;
}
.ribbon-1:hover::after {
  background: color-mix(in srgb, var(--c), #000 5%);
}
.ribbon-1:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 50% 0 auto;
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--c), #000 30%);
  clip-path: polygon(
    calc(100% / 3) 0,
    calc(200% / 3) 0,
    100% 90%,
    80% 85%,
    calc(200% / 3) 100%,
    calc(100% / 3) 0,
    calc(200% / 3) 0,
    calc(100% / 3) 100%,
    20% 85%,
    0 90%
  );
}
.ribbon-1:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(35% 35%, #0000 96%, #0003 97% 99%, #0000) var(--c);
  clip-path: polygon(
    100% 50%,
    89.23% 57.8%,
    96.19% 69.13%,
    83.26% 72.22%,
    85.36% 85.36%,
    72.22% 83.26%,
    69.13% 96.19%,
    57.8% 89.23%,
    50% 100%,
    42.2% 89.23%,
    30.87% 96.19%,
    27.78% 83.26%,
    14.64% 85.36%,
    16.74% 72.22%,
    3.81% 69.13%,
    10.77% 57.8%,
    0% 50%,
    10.77% 42.2%,
    3.81% 30.87%,
    16.74% 27.78%,
    14.64% 14.64%,
    27.78% 16.74%,
    30.87% 3.81%,
    42.2% 10.77%,
    50% 0%,
    57.8% 10.77%,
    69.13% 3.81%,
    72.22% 16.74%,
    85.36% 14.64%,
    83.26% 27.78%,
    96.19% 30.87%,
    89.23% 42.2%
  );
}

.ribbon-2 {
  --c: #ff8080;
  --r: 20%;
  color: #fff;
  padding: 0.5rem;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  position: relative;
  z-index: 0;
  width: fit-content;
  box-sizing: border-box;
}
.ribbon-2:hover::after {
  background: color-mix(in srgb, var(--c), #000 5%);
}
.ribbon-2:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 60% 20% -40%;
  background: color-mix(in srgb, var(--c), #000 30%);
  clip-path: polygon(5% 0, 95% 0, 100% 100%, 50% calc(100% - var(--r)), 0 100%);
}
.ribbon-2:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(35% 35%, #0000 96%, #0003 97% 99%, #0000) var(--c);
  clip-path: polygon(
    100% 50%,
    89.23% 57.8%,
    96.19% 69.13%,
    83.26% 72.22%,
    85.36% 85.36%,
    72.22% 83.26%,
    69.13% 96.19%,
    57.8% 89.23%,
    50% 100%,
    42.2% 89.23%,
    30.87% 96.19%,
    27.78% 83.26%,
    14.64% 85.36%,
    16.74% 72.22%,
    3.81% 69.13%,
    10.77% 57.8%,
    0% 50%,
    10.77% 42.2%,
    3.81% 30.87%,
    16.74% 27.78%,
    14.64% 14.64%,
    27.78% 16.74%,
    30.87% 3.81%,
    42.2% 10.77%,
    50% 0%,
    57.8% 10.77%,
    69.13% 3.81%,
    72.22% 16.74%,
    85.36% 14.64%,
    83.26% 27.78%,
    96.19% 30.87%,
    89.23% 42.2%
  );
}

.ribbon-3 {
  --r: 0.8em;
  position: absolute;
  top: -1px;
  right: 0;
  color: #fff;
  border-inline: 0.5em solid #0000;
  padding: 0.5em 0.2em calc(var(--r) + 0.2em);
  clip-path: polygon(0 0, 100% 0, 100% 100%, calc(100% - 0.5em) calc(100% - var(--r)), 50% 100%, 0.5em calc(100% - var(--r)), 0 100%);
  background: radial-gradient(50% 0.2em at top, #000a, #0000) border-box, #ff8080 padding-box;
  width: fit-content;
}
