body {
  font-family: "Montserrat", sans-serif;
}

.tlpl-body-layout {
  background-color: #fff;
}

.workflow-container {
  container-type: inline-size;
  flex: 2;
  padding: 0 2rem;
  font-family: "Montserrat", sans-serif;

  --workflow-scale-font: 1;
  display: flex;
  flex-direction: column;

  height: 100%;
  margin: 0 auto;
}

.workflow-container.full-width {
  max-width: unset;
}

.workflow-container .flow-header {
  position: relative;
}

.workflow-container .flow-header .flow-map {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  padding-top: calc(1rem* var(--workflow-scale-font));
}

.workflow-container .flow-header .flow-map-arrow {
  width: calc(0.4375rem* var(--workflow-scale-font));
  margin: 0 calc(1.0625rem* var(--workflow-scale-font));
}

.workflow-container .flow-header .redirect-home {
  color: #060047;
  font-size: calc(1.375rem * var(--workflow-scale-font));
  font-weight: 400;
  text-decoration: none;
}

.workflow-container .flow-header .flow-title {
  position: relative;
  margin: 0;
  color: #e90064;
  font-size: calc(1.375rem * var(--workflow-scale-font));
  font-weight: 800;
  text-transform: uppercase;
}
/* ****************** START STEP BY STEP ****************** */
/* ****************** START STEP BY STEP ****************** */
/* ****************** START STEP BY STEP ****************** */
/* ****************** START STEP BY STEP ****************** */
/* ****************** START STEP BY STEP ****************** */
.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto auto;
  width: 100%;
}

.grid-container > .item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  /* min-height: 4.375rem; */
  min-height: 3rem;
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-size: 1rem;
}

.grid-container .item-step .process-bar {
  position: absolute;
  top: 50%;
  height: 50%;
  width: 100%;
  height: 0.25rem;
  background: linear-gradient(
    to right,
    #D1D5DB 0%, #D1D5DB 50%,
    #D1D5DB 50%, #D1D5DB 100%
  );
}

.grid-container .item.hide-step {
  width: 0 !important;
  overflow: hidden;
}

.grid-container .item-step.first-step .process-bar {
  background: linear-gradient(
    to right,
    transparent 0%, transparent 50%,
    #D1D5DB 50%, #D1D5DB 100%
  );
}

.grid-container .item-step.last-step .process-bar {
  background: linear-gradient(
    to right,
    #D1D5DB 0%, #D1D5DB 50%,
    transparent 50%, transparent 100%
  );
}

.grid-container .item-step.item-active .process-bar {
  background: linear-gradient(
    to right,
    #e90064 0%, #e90064 50%,
    #D1D5DB 50%, #D1D5DB 100%
  );
}

.grid-container .item-step.item-complete .process-bar {
  background: linear-gradient(
    to right,
    #e90064 0%, #e90064 50%,
    #e90064 50%, #e90064 100%
  );
}

.grid-container .item-step.item-active.first-step .process-bar {
  background: linear-gradient(
    to right,
    transparent 0%, transparent 50%,
    #D1D5DB 50%, #D1D5DB 100%
  );
}

.grid-container .item-step.item-complete.first-step .process-bar {
  background: linear-gradient(
    to right,
    transparent 0%, transparent 50%,
    #e90064 50%, #e90064 100%
  );
}

.grid-container .item-step.item-active.last-step .process-bar,
.grid-container .item-step.item-complete.last-step .process-bar {
  background: linear-gradient(
    to right,
    #e90064 0%, #e90064 50%,
    transparent 50%, transparent 100%
  );
}

.flow-header .step {
  position: relative;
}

.flow-header .step .node-layout {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 2.875rem;
  height: 2.875rem;
  border: 0.375rem solid #D1D5DB;
  border-radius: 50%;
  background-color: #fff;
}

.flow-header .item.item-active .node-layout {
  border: 0.375rem solid #e90064;
}

.flow-header .item.item-complete .node-layout {
  border: 0.375rem solid #e90064;
  background-color: #e90064;
}

.flow-header .step .node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1rem;
  height: 1rem;
}

.flow-header .item .node-name {
  max-width: 8.5rem;
  margin: 0 auto;
  color: #D1D5DB;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2rem;
  text-align: center;
}

.flow-header .item.item-active .node-name,
.flow-header .item.item-complete .node-name {
  color: #e90064;
}

/* ****************** END STEP BY STEP ****************** */
/* ****************** END STEP BY STEP ****************** */
/* ****************** END STEP BY STEP ****************** */
/* ****************** END STEP BY STEP ****************** */
/* ****************** END STEP BY STEP ****************** */
.workflow-container .flow-body {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  border-radius: calc(0.75rem* var(--workflow-scale-font));
  box-shadow: 0 0 0.3rem 0.1rem rgba(204, 204, 204, 0.5);
  overflow: auto;
}

.workflow-container .flow-body .flow-content-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  /* background-color: rgba(255, 255, 255, 0.5); */
  background-color: #fff;
}

.workflow-container .flow-body .flow-content-loading.loading-show {
  display: flex;
}

.workflow-container .flow-body .flow-content-loading .loading {
  position: sticky;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 8px solid #f3f3f3;
  border-top: 8px solid #e90064;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: tlplspin 2s linear infinite;
}

.flow-body .flow-content {
  display: none;
  width: 100%;
  height: 100%;
  padding: calc(1.06rem* var(--workflow-scale-font));
  border-radius: calc(0.75rem* var(--workflow-scale-font));
  /* overflow: auto; */
}

.flow-body .flow-content.flow-detail-show {
  display: flex;
  justify-content: start;
}

.flow-body .flow-content .detail-step {
  width: 100%;
}

.flow-body .flow-content .detail-tilte-box,
.flow-body .flow-content .form-item-label-box,
.flow-body .flow-content .info-badge,
.flow-body .flow-content .info-badge-item {
  display: flex;
  justify-content: start;
  align-items: center;
}

.flow-body .flow-content .detail-tilte-box,
.flow-body .flow-content .form-item-label-box,
.flow-body .flow-content .info-badge {
  flex-wrap: wrap;
}

.flow-body .flow-content .info-badge {
  margin-right: auto;
}

.flow-body .flow-content .form-item-label-box {
  margin: calc(0.625rem* var(--workflow-scale-font)) 0;
}

.flow-body .flow-content .info-badge,
.flow-body .flow-content .info-badge-item {
  text-wrap: nowrap;
}

.flow-body .flow-content table .info-badge,
.flow-body .flow-content table .badge-icon {
  margin: 0;
}

.flow-body .flow-content table .note-badge {
  height: calc(1.1875rem* var(--workflow-scale-font));
  text-wrap: nowrap;
}
.flow-body .flow-content table .question-badge {
  height: calc(1.1875rem* var(--workflow-scale-font));
  text-wrap: nowrap;
}

.flow-body .flow-content .detail-step-section {
  padding-bottom: calc(1rem* var(--workflow-scale-font));
}

.flow-body .flow-content .detail-step-section.detail-step-section-hidden {
  display: none;
}

.flow-body .flow-content .detail-step-section .detail-content:has(table) {
  display: none;
  overflow-x: auto;
}

.flow-body .flow-content .detail-step-section .detail-content:has(table).detail-content-show {
  display: block;
}

.detail-content .action-col-3-btn-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: none;
}

.detail-content .action-col-3-btn-box .action-btn {
  width: calc(2.5rem* var(--workflow-scale-font));
  height: calc(2rem* var(--workflow-scale-font));
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-size: calc(1.125rem* var(--workflow-scale-font)) calc(1.125rem* var(--workflow-scale-font));
  border: 1px solid #D5D5D5;
  cursor: pointer;
}

.detail-content .action-col-3-btn-box .action-btn:first-child {
  /* border-right: 0; */
  border-top-left-radius: calc(0.5rem* var(--workflow-scale-font));
  border-bottom-left-radius: calc(0.5rem* var(--workflow-scale-font));
}

.detail-content .action-col-3-btn-box .action-btn:last-child {
  /* border-left: 0; */
  border-top-right-radius: calc(0.5rem* var(--workflow-scale-font));
  border-bottom-right-radius: calc(0.5rem* var(--workflow-scale-font));
}

.detail-content .action-col-3-btn-box .action-btn:not(:last-child) {
  border-right: none;
}

.detail-content .action-col-3-btn-box .action-btn:only-child {
  border: 1px solid #D5D5D5;
}

.detail-content .action-col-3-btn-box .action-view {
  background-image: url("../../icons/eye-black.png");
}

.detail-content .action-col-3-btn-box .action-edit {
  background-image: url("../../icons/pencil-write-black.png");
}

.detail-content .action-col-3-btn-box .action-download {
  background-image: url("../../icons/document-download-black.png");
}

.detail-content .action-col-3-btn-box .action-delete {
  background-image: url("../../icons/bin-active.png");
}

.flow-body .flow-content .info-badge {
  gap: calc(0.37rem* var(--workflow-scale-font));
}

.flow-body .flow-content .info-badge .info-badge-item {
  padding: 0 calc(0.35rem* var(--workflow-scale-font));
  border-radius: calc(0.625rem* var(--workflow-scale-font));
  border: 1px solid #E90064;
  cursor: pointer;
}

.flow-body .flow-content .info-badge .info-badge-item:hover {
  background-color: #e90064;
}

.flow-body .flow-content .info-badge .badge-icon {
  width: calc(0.75rem* var(--workflow-scale-font));
  height: calc(0.75rem* var(--workflow-scale-font));
  margin-right: calc(0.4rem* var(--workflow-scale-font));
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.flow-body .flow-content .info-badge .badge-warning {
  background-image: url("../../icons/warning-active.png");
}

.flow-body .flow-content .info-badge .badge-question {
  background-image: url("../../icons/question-active.png");
}

.flow-body .flow-content .info-badge .info-badge-item:hover .badge-warning {
  background-image: url("../../icons/warning-white.png");
}

.flow-body .flow-content .info-badge .info-badge-item:hover .badge-question {
  background-image: url("../../icons/question-white.png");
}

.flow-body .flow-content .info-badge .badge-text {
  color: #E90064;
  font-size: 0.625rem;
  font-weight: 400;
  text-align: center;
}

.flow-body .flow-content .info-badge .info-badge-item:hover .badge-text {
  color: #fff;
}

.flow-body .flow-content .detail-tilte-box {
  margin: calc(1rem * var(--workflow-scale-font)) 0;
}

.flow-body .flow-content .detail-title,
.flow-body .flow-content .detail-sub-title {
  position: relative;
  width: fit-content;
  padding-left: calc(0.875rem * var(--workflow-scale-font));
  margin: 0;
  margin-right: calc(0.37rem* var(--workflow-scale-font));
  background-color: #fff;
  color: #e90064;
  font-size: calc(0.9375rem * var(--workflow-scale-font));
  font-weight: 800;
  text-transform: uppercase;
}

.flow-body .flow-content .detail-title::before,
.flow-body .flow-content .detail-sub-title::before {
  position: absolute;
  top: calc(0.1rem* var(--workflow-scale-font));
  left: 0;
  content: "";
  width: calc(0.375rem* var(--workflow-scale-font));
  height: calc(1.1rem* var(--workflow-scale-font));
  border-radius: calc(0.75rem* var(--workflow-scale-font));
  background-color: #e90064;
}

.flow-body .flow-content .detail-sub-title {
  text-transform: lowercase;
}

.flow-body .flow-content .detail-sub-title::first-letter {
  text-transform: uppercase;
}

.flow-body .flow-content .detail-sub-title::before {
  top: calc(0.5rem* var(--workflow-scale-font));
  left: 0;
  width: calc(0.375rem* var(--workflow-scale-font));
  height: calc(0.375rem* var(--workflow-scale-font));
}

.flow-body .flow-content .error-input-layout {
  /* height: 100%; */
  flex: 1;
  display: flex;
  align-items: end;
}

.flow-body .flow-content .error-input-layout .error-input {
  height: fit-content;
  margin: 0;
  margin-top: auto;
  margin-bottom: calc(0.25rem* var(--workflow-scale-font));
  color: #E90064;
  font-size: calc(0.6rem * var(--workflow-scale-font));
  line-height: normal;
}

.error-special .error-input {
  height: fit-content;
  font-size: calc(0.8rem * var(--workflow-scale-font)) !important;
  font-style: italic;
}

/* START FORM MODAL*/
.detail-form {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  column-gap: 0.69rem;
  width: 100%;
}

.detail-form.detail-form-col-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-form .form-item {
  display: flex;
  flex-direction: column;
}

.detail-form .error-input-layout {
  /* height: 100%; */
  flex: 1;
  display: flex;
  align-items: end;
}

.detail-form .error-input-layout .error-input {
  margin: 0;
  margin-top: auto;
  margin-bottom: 0.2rem;
  color: #E90064;
  font-size: 0.7rem;
  line-height: normal;
}

.detail-form .form-item-label {
  width: fit-content;
  margin: 0;
  color: #060047;
  font-size: 0.9375rem;
  font-weight: 700;
}

.form-input-required,
.detail-form .form-input-required {
  padding-left: 0.25rem;
  color: #E90064;
  font-size: 0.9375rem;
  font-weight: 700;
}

.detail-form .form-input-select {
  height: auto;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 1.315rem;
  padding-right: 0.25rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.5rem;
  margin-top: auto;
  outline: none;
  cursor: pointer;
  color: #060047;
}

/* .form-item:has(option[value="option-hidden"]:only-of-type) {
  display: none !important;
} */

.detail-form .form-input-select:disabled {
  color: #D1D5DB;
}

.detail-form .form-input-select:has(option[value="option-hidden"]) {
  /* color: #D1D5DB; */
}

.detail-form option {
  color: #060047;
}

.detail-form .form-option-default {
  color: #D1D5DB;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 500;
}

.detail-form .form-input-date,
.detail-form .form-input-text {
  width: 100%;
  padding: 1.315rem;
  padding-right: 0.25rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.5rem;
  margin-top: auto;
  outline: none;
  color: #060047;
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-input-date {
  cursor: pointer !important;
}

.flatpickr-input:read-only {
  background-color: #fff !important;
  outline: none;
  font-weight: 500;
}

.flatpickr-input::placeholder {
  color: #D1D5DB;
}

.detail-form .form-input-text::placeholder {
  color: #D1D5DB;
  font-weight: 500;
  font-size: 0.9375rem;
}

.tlpl-modal-layout .select2.select2-container .select2-selection.select2-selection--single {
  /* .select2-selection--single */
  padding: calc(1.315rem + 1.5px) !important;
  padding-right: calc(0.25rem) !important;
}

.tlpl-modal-layout .select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
  /* .select2-selection--single */
  padding: calc(1.315rem + 1.5px) !important;
  padding-right: calc(0.25rem) !important;
}

.tlpl-modal-layout .select2.select2-container .select2-selection.select2-selection--single .select2-selection__arrow {
  /* select2-selection__arrow */
  padding: calc(1.91rem + 1px) !important;
}

.tlpl-modal-layout .select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
  /* select2-selection__arrow */
  padding: calc(1.91rem + 1px) !important;
}

.tlpl-modal-layout .select2.select2-container .select2-selection--multiple .select2-selection__rendered {
  /* .select2-selection__rendered */
  font-size: calc(0.9375rem);
}

/* END FORM MODAL*/

/* START FORM IN DETAIL STEP */
input[readonly],
select[readonly] {
  background-color: #eaeaea !important;
}

input[readonly],
select[readonly] {
  background-color: #eaeaea !important;
}

.flow-content .detail-form {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: calc(0.69rem* var(--workflow-scale-font));
  width: 100%;
  margin-top: calc(0.69rem* var(--workflow-scale-font));
}

.flow-content .detail-form.detail-form-col-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flow-content .detail-form.detail-form-space-between {
  row-gap: 0;
}

.flow-content .detail-form.detail-form-space-between .form-item-label-box {
  flex-wrap: nowrap;
  column-gap: calc(0.69rem* var(--workflow-scale-font));
}

.flow-content .detail-form.detail-form-space-between .form-item-label {
  font-weight: 500;
}

.flow-content .detail-form.detail-form-space-between .into-right {
  margin-left: auto;
}

.flow-content .detail-form.detail-sub-form-space-between {
  padding-left: calc(2rem* var(--workflow-scale-font));
  margin: 0;
}

.flow-content .detail-form.detail-sub-form-space-between .form-item-label-box {
  width: 50%;
  margin: calc(0.1rem* var(--workflow-scale-font));
}

.flow-content .detail-form.detail-sub-form-space-between .form-item-label {
  font-weight: normal;
}

.flow-content .detail-form.detail-sub-form-space-between .custom-checkbox {
  width: calc(1.5rem* var(--workflow-scale-font));
  height: calc(1.5rem* var(--workflow-scale-font));
}

.flow-content .detail-form.detail-sub-form-space-between .form-input-checkmark {
  width: calc(1.5rem* var(--workflow-scale-font));
  height: calc(1.5rem* var(--workflow-scale-font));
  border-radius: calc(0.3rem* var(--workflow-scale-font));
  background-size: calc(0.75rem* var(--workflow-scale-font)) auto;
}

.flow-content .detail-form.detail-sub-form-space-between input[type="radio"]:checked + .form-input-checkmark,
.flow-content .detail-form.detail-sub-form-space-between input[type="checkbox"]:checked + .form-input-checkmark {
  background-size: calc(0.75rem* var(--workflow-scale-font)) auto;
}

.flow-content .detail-form .form-item {
  display: flex;
  flex-direction: column;
}

.flow-content .detail-form .form-item-label {
  width: fit-content;
  margin: 0;
  color: #060047;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 700;
}

.flow-content .detail-form .form-input-required {
  padding: 0 0.25rem;
  color: #E90064;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 700;
}

.flow-content .detail-form .form-input-select {
  height: auto;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 500;
  padding: calc(1.345rem* var(--workflow-scale-font));
  padding-right: calc(0.25rem* var(--workflow-scale-font));
  border: 1px solid #D1D5DB;
  border-radius: calc(0.5rem* var(--workflow-scale-font));
  margin-top: auto;
  outline: none;
  cursor: pointer;
  color: #060047;
}

.flow-content .detail-form .form-input-select:disabled {
  color: #D1D5DB;
}

.flow-content .detail-form .form-input-select:has(option[value="option-hidden"]) {
  /* color: #D1D5DB; */
}

.flow-content .detail-form option {
  color: #060047;
}

.flow-content .detail-form .form-option-default {
  color: #D1D5DB;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 500;
}

.flow-content .detail-form .form-input-date,
.flow-content .detail-form .form-input-text {
  height: auto;
  padding: calc(1.275rem* var(--workflow-scale-font));
  padding-right: calc(0.25rem* var(--workflow-scale-font));
  border: 1px solid #D1D5DB;
  border-radius: calc(0.5rem* var(--workflow-scale-font));
  margin-top: auto;
  outline: none;
  color: #060047;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 500;
}

.flow-content .detail-form .form-input-text::placeholder {
  color: #D1D5DB;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
}

.flow-content .detail-form .form-input-tel {
  width: 100%;
}

.flow-content .minimize-form-input-checkbox {
  width: 0;
  height: 0;
}

.flow-content .custom-checkbox {
  display: inline-block;
  position: relative;
  width: calc(2.875rem* var(--workflow-scale-font));
  height: calc(2.875rem* var(--workflow-scale-font));
  cursor: pointer;
  user-select: none;
  font-size: 18px;
}

.flow-content .form-input-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(2.875rem* var(--workflow-scale-font));
  height: calc(2.875rem* var(--workflow-scale-font));
  border: 1px solid #D1D5DB;
  border-radius: calc(0.5rem* var(--workflow-scale-font));
  background-color: #fff;
}

/* Tạo kiểu khi checkbox, radio được chọn */
.flow-content .custom-checkbox input[type="radio"]:checked + .form-input-checkmark,
.flow-content .custom-checkbox input[type="checkbox"]:checked + .form-input-checkmark {
  border: 1px solid #e90064;
  background-image: url("../../icons/tick-thin-active.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: calc(1.375rem* var(--workflow-scale-font)) auto;
}

/* Tạo kiểu cho datepicker */
.flow-content .custom-date-picker {
  position: relative;
}

.flow-content .custom-date-picker .label-date-picker-layout {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: start;
  align-items: center;
  width: 100%;
  height: 100%;
  /* background-color: #fff; */
  background-color: transparent;
}

.flow-content .custom-date-picker .label-date-picker {
  flex: 1;
  /* color: #D1D5DB; */
  color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.flow-content .custom-date-picker .icon-date-picker {
  width: calc(1.5rem* var(--workflow-scale-font));
  height: calc(1.5rem* var(--workflow-scale-font));
  margin-right: calc(0.5rem* var(--workflow-scale-font));
  background-image: url("../../icons/calendar-black.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.flow-content .custom-date-picker.date-picker-has-value .label-date-picker-layout {
  background-color: transparent;
}

.flow-content .custom-date-picker.date-picker-has-value .label-date-picker {
  color: transparent;
}

.flow-content input[type="date"] {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: .75rem;
  border: none;
  outline: 0;
}

.flow-content .custom-date-picker:not(.date-picker-has-value) input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  width: auto;
  height: auto;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.flow-content .date-picker-has-value input[type="date"]::-webkit-calendar-picker-indicator {
  width: calc(1.4rem* var(--workflow-scale-font));
  height: calc(1.4rem* var(--workflow-scale-font));
  padding: 0;
  padding-right: calc(0.5rem* var(--workflow-scale-font));
  bottom: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

/* Tạo input chia đôi */
.flow-content .input-with-unit {
  display: flex;
  margin-top: auto;
}

.flow-content .input-with-unit .form-input-text {
  flex: 1;
  width: 100%;
  height: auto;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.flow-content .input-with-unit .select2.select2-container.select2-container--default,
.flow-content .input-with-unit .selection,
.flow-content .input-with-unit .select2-selection.select2-selection--single {
  width: fit-content !important;;
}

.flow-content .input-with-unit .select2.select2-container .select2-selection {
  padding-left: 0 !important;
  border-left: none;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.flow-content .input-with-unit .select2.select2-container.select2-container--open .select2-selection {
  padding-left: 0 !important;
  border-left: none;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

/* Tạo group form */
.group-form {
  display: flex;
  justify-content: space-between;
  height: auto;
  padding: calc(1.275rem* var(--workflow-scale-font));
  padding-right: calc(0.25rem* var(--workflow-scale-font));
  border: 1px solid #D1D5DB;
  border-radius: calc(0.5rem* var(--workflow-scale-font));
  margin-top: auto;
  outline: none;
  color: #060047;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 500;
}

.flow-content .detail-form .group-form .form-input-text {
  flex: 1;
  height: auto;
  padding: 0;
  padding-right: calc(0.25rem* var(--workflow-scale-font));
  border: none;
  border-radius: 0;
  outline: none;
  color: #060047;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 500;

  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flow-content .detail-form .group-form .unit-text {
  height: auto;
  padding: 0;
  padding-right: calc(1.275rem* var(--workflow-scale-font));
  color: #060047;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 500;
}

/* Start Table */
.flow-content table {
  width: 100%;
  font-size: calc(0.875rem* var(--workflow-scale-font));
  border: none;
}

.flow-content table thead {
  height: 3.75rem;
}

.flow-content table .center-head {
  text-align: center;
}

.flow-content table .left-head {
  text-align: start;
}

.flow-content table .center-td {
  text-align: center;
}

.flow-content table .left-td {
  text-align: start;
}

.flow-content table th {
  background-color: #F1F4F9;
  padding: calc(0.5rem* var(--workflow-scale-font)) calc(0.5rem* var(--workflow-scale-font));
  border: none;
  color: #060047;
}

.flow-content table th:first-child {
  border-top-left-radius: calc(0.75rem* var(--workflow-scale-font));
  border-bottom-left-radius: calc(0.75rem* var(--workflow-scale-font));
}

.flow-content table th:last-child {
  border-top-right-radius: calc(0.75rem* var(--workflow-scale-font));
  border-bottom-right-radius: calc(0.75rem* var(--workflow-scale-font));
}

.flow-content table tbody tr {
  border-bottom: 1px solid #D8D8D8;
}

.flow-content table td {
  color: #060047;
  line-height: 121.5%;
  padding: calc(1.5rem* var(--workflow-scale-font)) calc(0.5rem* var(--workflow-scale-font));
  border: none;
}

.flow-content table .form-item {
  vertical-align: top;
}

.flow-content table .form-input-text,
.flow-content table .form-input-select {
  width: 100%;
  height: auto;
  padding: calc(0.65rem* var(--workflow-scale-font));
  padding-right:calc(0.25rem* var(--workflow-scale-font));
  border: 1px solid #D1D5DB;
  border-radius: calc(0.5rem* var(--workflow-scale-font));
  margin-top: auto;
  outline: none;
  color: #060047;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 500;
  line-height: normal;
}

.flow-content table .form-input-select:disabled {
  color: #D1D5DB;
}

.flow-content table .selection {
  position: relative;
}

.flow-content table .select2.select2-container .select2-selection.select2-selection--single {
  padding: calc(0.65rem* var(--workflow-scale-font)) !important;
}
.flow-content table .select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
  padding: calc(0.65rem* var(--workflow-scale-font)) !important;
}

.flow-content table .select2.select2-container .select2-selection.select2-selection--single .select2-selection__arrow {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
  padding: 0 !important;
}
/* End Table */

/* END FORM IN DETAIL STEP */

/* ****************** START ENTERPRISE TYPE ****************** */
/* ****************** START ENTERPRISE TYPE ****************** */
/* ****************** START ENTERPRISE TYPE ****************** */
/* ****************** START ENTERPRISE TYPE ****************** */
/* ****************** START ENTERPRISE TYPE ****************** */
.flow-content-enterprise-type {
  flex-direction: column;
}

.flow-content-enterprise-type .detail-step-enterprise-type {
  
}

/* START Toggle Button Slider */
.detail-step-enterprise-type .compare-enterprise-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: calc(0.25rem* var(--workflow-scale-font));
  margin-left: auto;
}

.detail-step-enterprise-type .compare-enterprise-toggle .compare-btn-text {
  padding-left: calc(0.44rem* var(--workflow-scale-font));
  color: #060047;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 400;
}

.switch-compare {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch-compare input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-compare-enterprise-type {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider-compare-enterprise-type:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider-compare-enterprise-type {
  background-color: #e90064;
}

input:focus + .slider-compare-enterprise-type {
  box-shadow: 0 0 1px #e90064;
}

input:checked + .slider-compare-enterprise-type:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded slider-compare-enterprise-types */
.slider-compare-enterprise-type.round-compare {
  border-radius: 34px;
}

.slider-compare-enterprise-type.round-compare:before {
  border-radius: 50%;
}
/* END Toggle Button Slider */

/* START Table */
/* .detail-step-enterprise-type .about-table {
  width: 100%;
}

.detail-step-enterprise-type .about-table .about-table-tr {
  display: flex;
  flex-direction: row;
  padding: calc(1.1875rem* var(--workflow-scale-font)) 0;
}

.detail-step-enterprise-type .about-table .about-table-tr:has(.about-table-th) {
  background: #E90064;
}

.detail-step-enterprise-type .about-table-tr .about-table-th:first-child,
.detail-step-enterprise-type .about-table-tr .about-table-td:first-child {
  flex: 3;
}

.detail-step-enterprise-type .about-table .about-table-th {
  padding: 0 calc(2rem* var(--workflow-scale-font));
}

.detail-step-enterprise-type .about-table .about-table-td {
  padding: 0 calc(0.25rem* var(--workflow-scale-font)) 0 calc(2rem* var(--workflow-scale-font));
}

.detail-step-enterprise-type .about-table .about-table-th {
  color: #FFF;
  font-size: calc(0.9375rem* var(--workflow-scale-font)) 0;
  font-weight: 700;
} */

.detail-step-enterprise-type .about-table {
  width: 100%;
}

.detail-step-enterprise-type .about-table th {
  padding: calc(1.1875rem* var(--workflow-scale-font)) calc(2rem* var(--workflow-scale-font));
  border-radius: 0 !important;
  background: #E90064;
  color: #FFF;
  font-size: calc(0.9375rem* var(--workflow-scale-font)) 0;
  font-weight: 700;
  vertical-align: text-top;
}

.detail-step-enterprise-type .about-table th:first-child {
  min-width: calc(5rem* var(--workflow-scale-font));
}

.detail-step-enterprise-type .about-table td {
  padding: calc(0.6rem* var(--workflow-scale-font)) calc(0.8rem* var(--workflow-scale-font));
  border: 1px solid #E90064;
}

.detail-step-enterprise-type .about-table .about-td-label {
  min-width: calc(8rem* var(--workflow-scale-font));
  color: #060047;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 600;
  line-height: 173.333%;
}

.detail-step-enterprise-type .about-table .td-split-top {
  padding-bottom: 0;
  border-bottom: 1px solid transparent;
}
.detail-step-enterprise-type .about-table .td-split-bottom {
  padding-top: 0;
}

.detail-step-enterprise-type .about-table .about-td-content {
  padding: calc(0.6rem* var(--workflow-scale-font)) calc(0.8rem* var(--workflow-scale-font));
  color: #060047;
  text-align: justify;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 400;
  line-height: 173.333%;
}

.detail-step-enterprise-type .about-table .about-td-content a {
  color: #e90064;
  text-decoration: underline;
}

.detail-step-enterprise-type .about-table .about-td-content p:last-child,
.detail-step-enterprise-type .about-table .about-td-content ul:last-child,
.detail-step-enterprise-type .about-table .about-td-content ol:last-child {
  margin: 0;
}
/* END Table */

/* START MODAL */
.modal-layout-confirm .tlpl-modal-box {
  max-width: 400px;
}

.tlpl-modal-head-title {
  color: #060047;
  text-align: center;
  font-size: calc(1.5rem* var(--workflow-scale-font));
  font-weight: 700;
  line-height: 145.833%;
}

.tlpl-modal-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.69rem;
  margin-top: 1.75rem;
}

.tlpl-modal-foot .tlpl-foot-btn {
  max-width: 9.1875rem;
  width: 100%;
  padding: 0.625rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 150%;
  text-align: center;
}

.tlpl-modal-foot .tlpl-foot-btn.tlpl-foot-cancel {
  background: #E2E8F0;
  color: #060047;
}

.tlpl-modal-foot .tlpl-foot-btn.tlpl-foot-apply {
  background: #e90064;
  color: #fff;
}

/* END MODAL */

/* START Modal Compare Enterprise */
.modal-layout-compare-enterprise-type {
  font-family: "Montserrat", sans-serif;
}

.modal-layout-compare-enterprise-type .ml-cet-modal-title {
  color: #060047;
  text-align: center;
  font-size: calc(1.5rem* var(--workflow-scale-font));
  font-weight: 700;
  line-height: 145.833%;
}

.modal-layout-compare-enterprise-type .tlpl-modal-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.69rem;
  margin-top: 1.75rem;
}

.modal-layout-compare-enterprise-type .ml-cet-foot-btn {
  max-width: 9.1875rem;
  width: 100%;
  padding: 0.625rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 150%;
  text-align: center;
}

.modal-layout-compare-enterprise-type .tlpl-modal-foot .ml-cet-cancel-btn {
  background: #E2E8F0;
  color: #060047;
}

.modal-layout-compare-enterprise-type .ml-cet-compare-btn {
  background: #e90064;
  color: #fff;
}

/* END Modal Compare Enterprise */

/* ****************** END ENTERPRISE TYPE ****************** */
/* ****************** END ENTERPRISE TYPE ****************** */
/* ****************** END ENTERPRISE TYPE ****************** */
/* ****************** END ENTERPRISE TYPE ****************** */
/* ****************** END ENTERPRISE TYPE ****************** */

/* ****************** START ENTERPRISE INFO ****************** */
/* ****************** START ENTERPRISE INFO ****************** */
/* ****************** START ENTERPRISE INFO ****************** */
/* ****************** START ENTERPRISE INFO ****************** */
/* ****************** START ENTERPRISE INFO ****************** */
.flow-content-enterprise-info {
  flex-direction: column;
}

.flow-content-enterprise-info .detail-step-enterprise-info {
  
}

.detail-step-enterprise-info .form-company-name .unit-text{
  padding-right: 4px !important;
}
/* ****************** END ENTERPRISE INFO ****************** */
/* ****************** END ENTERPRISE INFO ****************** */
/* ****************** END ENTERPRISE INFO ****************** */
/* ****************** END ENTERPRISE INFO ****************** */
/* ****************** END ENTERPRISE INFO ****************** */

/* ****************** START BUSINESS SECTOR ****************** */
/* ****************** START BUSINESS SECTOR ****************** */
/* ****************** START BUSINESS SECTOR ****************** */
/* ****************** START BUSINESS SECTOR ****************** */
/* ****************** START BUSINESS SECTOR ****************** */
.flow-content-business-sector {
  flex-direction: column;
}

.flow-content-business-sector .detail-step-business-sector {
  
}

.textarea-auto-size-layout {
  width: 100%;
  height: auto;
  padding: calc(1.2rem* var(--workflow-scale-font) + 1.5px) !important;
  padding-right:calc(0.25rem* var(--workflow-scale-font));
  border: 1px solid #D1D5DB;
  border-radius:calc(0.5rem* var(--workflow-scale-font));
  margin-top: auto;
  outline: none;
  color: #060047;
  font-size:calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 500;
  line-height: normal;
}

.textarea-auto-size-layout .textarea-auto-size {
  width: 100%;
  max-height: calc(6rem* var(--workflow-scale-font));
  height: auto;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  margin-top: 0;
  outline: none;
  resize: none;
  overflow-x: hidden;
  overflow-y: auto;
}

table .textarea-auto-size-layout {
  padding: calc(0.415rem* var(--workflow-scale-font) + 1.5px) !important;
  padding-right: calc(0.25rem* var(--workflow-scale-font));
  border: 1px solid #D1D5DB;
  border-radius: calc(0.5rem* var(--workflow-scale-font));
  font-size: calc(0.9375rem* var(--workflow-scale-font));
}

.flow-content-business-sector .add-other-business-sector-btn,
.flow-content-business-sector .add-business-sector-btn,
.flow-content-tax .add-business-location-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(0.53rem* var(--workflow-scale-font));
  border: none;
  border-radius: calc(0.5rem* var(--workflow-scale-font));
  margin-top: calc(1.62rem* var(--workflow-scale-font));
  background: #E90064;
  color: #FFF;
  text-align: center;
  font-size: calc(0.875rem* var(--workflow-scale-font));
  font-weight: 600;
  line-height: 150%;
}


.flow-content-business-sector .add-other-business-sector-btn .add-business-sector-icon,
.flow-content-business-sector .add-business-sector-btn .add-business-sector-icon,
.flow-content-tax .add-business-location-btn .add-business-location-icon {
  width: calc(1.5rem* var(--workflow-scale-font));
  height: calc(1.5rem* var(--workflow-scale-font));
  background-image: url("../../icons/add-white.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* START business sector table */
.business-sector-table,
.business-location-table {
  width: 100%;
  font-size: calc(0.875rem* var(--workflow-scale-font));
  border: none;
}

.business-sector-table thead,
.business-location-table thead {
  height: 3.75rem;
}

.business-sector-table thead .business-sector-action-head,
.business-location-table thead .business-location-action-head {
  text-align: center;
}

.business-sector-table th,
.business-location-table th {
  background-color: #F1F4F9;
  padding: calc(0.5rem* var(--workflow-scale-font)) calc(0.5rem* var(--workflow-scale-font));
  border: none;
  color: #060047;
}

.business-sector-table th:first-child,
.business-location-table th:first-child {
  border-top-left-radius: calc(0.75rem* var(--workflow-scale-font));
  border-bottom-left-radius: calc(0.75rem* var(--workflow-scale-font));
}

.business-sector-table th:last-child,
.business-location-table th:last-child {
  border-top-right-radius: calc(0.75rem* var(--workflow-scale-font));
  border-bottom-right-radius: calc(0.75rem* var(--workflow-scale-font));
}

.business-sector-table .business-sector-main-head,
.business-location-table .business-location-main-head {
  text-align: center;
}

.business-sector-table tbody tr,
.business-location-table tbody tr {
  border-bottom: 1px solid #D8D8D8;
}

.business-sector-table td,
.business-location-table td {
  color: #060047;
  line-height: 121.5%;
  padding: calc(1.5rem* var(--workflow-scale-font)) calc(0.5rem* var(--workflow-scale-font));
  border: none;
}

.business-location-table td p {
  margin: 0;
}

.business-sector-table .business-sector-index-col,
.business-location-table .business-location-index-col {
  text-align: center;
}

.business-sector-table .business-sector-name-col {
  min-width: calc(12rem* var(--workflow-scale-font));
  text-align: justify;
}

.business-sector-table td a:hover {
  color: #E90064;
  text-decoration: underline;
}

.business-sector-table .business-sector-name {
  margin: 0;
  color: #060047;
  font-size: calc(0.875rem* var(--workflow-scale-font));
  font-weight: 500;
  line-height: 121.429%;
}

.business-sector-table .business-sector-detail {
  margin: calc(0.25rem* var(--workflow-scale-font)) 0 0 0;
  color: #D1D5DB;
  font-size: calc(0.75rem* var(--workflow-scale-font));
  font-weight: 500;
  line-height: normal;
}

.business-sector-table .business-sector-id-col {
  min-width: calc(6rem* var(--workflow-scale-font));
  color: #E90064;
  font-size: calc(0.875rem* var(--workflow-scale-font));
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.business-sector-table .business-sector-main-wrapper {
  display: flex;
  justify-content: center;
}

.business-sector-table .business-sector-main-col {
  min-width: calc(10rem* var(--workflow-scale-font));
}

.business-sector-table .business-sector-id {
  text-wrap: wrap;
  text-decoration-line: underline;
  cursor: pointer;
}

.business-sector-table .business-sector-id[data-detail-api=""] {
  color: #060047;
  text-decoration-line: none;
  cursor: default;
}

.business-sector-action-col .business-sector-action {
  display: flex;
  justify-content: center;
  min-width: calc(7rem* var(--workflow-scale-font));
  width: 100%;
}

.delete-form-represent-legal-btn,
.delete-form-represent-authorized-btn,
.business-sector-action-col .business-sector-delete,
.business-location-action-col .business-location-delete {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: calc(2.875rem* var(--workflow-scale-font));
  height: calc(2.875rem* var(--workflow-scale-font));
  box-sizing: border-box;
  padding: calc(0.375rem* var(--workflow-scale-font)) calc(0.25rem* var(--workflow-scale-font));
  border: 1px solid #D5D5D5;
  border-radius: calc(0.625rem* var(--workflow-scale-font));
  background-color: #FAFBFD;
  background-image: url("../../icons/bin-active.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: calc(1rem* var(--workflow-scale-font)) calc(1rem* var(--workflow-scale-font));
  cursor: pointer;
}

.business-sector-action-col img,
.business-location-action-col img {
  margin-bottom: 0.125rem;
}
/* END business sector table */
/* ****************** END BUSINESS SECTOR ****************** */
/* ****************** END BUSINESS SECTOR ****************** */
/* ****************** END BUSINESS SECTOR ****************** */
/* ****************** END BUSINESS SECTOR ****************** */
/* ****************** END BUSINESS SECTOR ****************** */

/* ****************** START CHARTER CAPITAL ****************** */
/* ****************** START CHARTER CAPITAL ****************** */
/* ****************** START CHARTER CAPITAL ****************** */
/* ****************** START CHARTER CAPITAL ****************** */
/* ****************** START CHARTER CAPITAL ****************** */
.detail-step-charter-capital {
  width: 100%;
}

.wrapper-chartjs {
  position: relative;
  width: 100%;
  height: 100%;
  padding: calc(0.5rem* var(--workflow-scale-font));
  border: 1px solid #D1D5DB;
  border-radius: calc(0.5rem* var(--workflow-scale-font));
}

.layout-notification-chartjs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: calc(0.5rem* var(--workflow-scale-font));
  background: #fff;
}

.capital-source-null {
  text-align: center;
  font-size: calc(2rem* var(--workflow-scale-font));
  color: #e90064;
}

.flow-content-charter-capital .charter-capital-dought-chart-layout {
  flex: 1;
  width: 100%;
  height: 100%;
}

/* START joint stock table */
.joint-stock-table {
  width: 100%;
  font-size: calc(0.875rem* var(--workflow-scale-font));
  border: none;
}

.joint-stock-table thead {
  height: 3.75rem;
}

.joint-stock-table th {
  background-color: #F1F4F9;
  padding: calc(0.5rem* var(--workflow-scale-font)) calc(0.5rem* var(--workflow-scale-font));
  border: none;
  color: #060047;
}

.joint-stock-table th:first-child {
  border-top-left-radius: calc(0.75rem* var(--workflow-scale-font));
  border-bottom-left-radius: calc(0.75rem* var(--workflow-scale-font));
}

.joint-stock-table th:last-child {
  border-top-right-radius: calc(0.75rem* var(--workflow-scale-font));
  border-bottom-right-radius: calc(0.75rem* var(--workflow-scale-font));
}

.joint-stock-table tbody tr {
  border-bottom: 1px solid #D8D8D8;
}

.joint-stock-table td {
  vertical-align: top;
  color: #060047;
  line-height: 121.5%;
  padding: calc(1.5rem* var(--workflow-scale-font)) calc(0.5rem* var(--workflow-scale-font));
  border: none;
}

.joint-stock-table td a:hover {
  color: #E90064;
  text-decoration: underline;
}

.joint-stock-table .joint-stock-value-head {
  
}
.joint-stock-table .joint-stock-total-value-head {
  
}
.joint-stock-table .joint-stock-quantity-head {
  
}
.joint-stock-table .joint-stock-percent-head {
  
}
.joint-stock-table .joint-stock-quantity-sell-head {
  
}

.joint-stock-table .joint-stock-value-col {
  min-width: calc(12rem* var(--workflow-scale-font));
}
.joint-stock-table .joint-stock-total-value-col {
  min-width: calc(12rem* var(--workflow-scale-font));
}
.joint-stock-table .joint-stock-quantity-col {
  min-width: calc(12rem* var(--workflow-scale-font));
  cursor: default;
}
.joint-stock-table .joint-stock-percent-col {
  min-width: calc(6rem* var(--workflow-scale-font));
}
.joint-stock-table .joint-stock-quantity-sell-col {
  width: calc(12rem* var(--workflow-scale-font));
}

.joint-stock-table .form-input-text {
  width: 100%;
  height: auto;
  padding: calc(0.65rem* var(--workflow-scale-font));
  padding-right:calc(0.25rem* var(--workflow-scale-font));
  border: 1px solid #D1D5DB;
  border-radius:calc(0.5rem* var(--workflow-scale-font));
  margin-top: auto;
  outline: none;
  color: #060047;
  font-size:calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 500;
  line-height: normal;
}

.joint-stock-table .form-input-text::placeholder {
  color: #D1D5DB;
}
/* END joint stock table */
/* ****************** END CHARTER CAPITAL ****************** */
/* ****************** END CHARTER CAPITAL ****************** */
/* ****************** END CHARTER CAPITAL ****************** */
/* ****************** END CHARTER CAPITAL ****************** */
/* ****************** END CHARTER CAPITAL ****************** */

/* ****************** START MEMBER ****************** */
/* ****************** START MEMBER ****************** */
/* ****************** START MEMBER ****************** */
/* ****************** START MEMBER ****************** */
/* ****************** START MEMBER ****************** */
.flow-content-member {
  flex-direction: column;
}

.flow-content-member .detail-step-member {
  
}

.flow-content-member .detail-step-member .member-menu {
  margin: 0;
  gap: 0;
}

.flow-content-member .detail-step-member .member-menu-active {
  border-bottom: 2px solid #e90064;
}

.detail-step-member .member-menu-item {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  padding: calc(0.5rem* var(--workflow-scale-font)) 0 calc(1rem* var(--workflow-scale-font)) calc(0.45rem* var(--workflow-scale-font));
  border-bottom: 2px solid #D1D5DB;
  color: #D1D5DB;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
}

.detail-step-member .member-menu-item.member-menu-active {
  color: #e90064;
}

.detail-step-member .member-menu-icon {
  width: calc(1.5rem* var(--workflow-scale-font));
  height: calc(1.5rem* var(--workflow-scale-font));
  background-size: contain;
  background-repeat: no-repeat;
}

.detail-step-member .member-add-menu .member-menu-icon {
  background-image: url("../../icons/user-add-gray.png");
}
.detail-step-member .member-list-menu .member-menu-icon {
  background-image: url("../../icons/people-group-gray.png");
}
.detail-step-member .member-add-menu.member-menu-active .member-menu-icon {
  background-image: url("../../icons/user-add-active.png");
}
.detail-step-member .member-list-menu.member-menu-active .member-menu-icon {
  background-image: url("../../icons/people-group-active.png");
}

.detail-step-member .member-menu-item p {
  padding-left: calc(0.25rem* var(--workflow-scale-font));
  margin: 0;
}

.contact-info-like-resident-info-label {
  font-weight: 500 !important;
}

.form-item-other-license-type {
  visibility: collapse;
}
.form-item-other-license-type.visibility-show {
  visibility: visible;
}

.detail-step-member .form-input-text-other-role {

}

/* Start member asset table */
.detail-step-member .member-asset-table {
  margin-top: calc(1.88rem* var(--workflow-scale-font));
}

.member-asset-table .member-asset-index-head {
  text-align: center;
}

.member-asset-table .member-asset-action-head {
  text-align: center;
}

.member-asset-index-col {
  text-align: center;
}

.member-asset-type-col {
  min-width: calc(15rem* var(--workflow-scale-font));
  max-width: calc(15rem* var(--workflow-scale-font));
}

.member-asset-quantity-col {
  min-width: calc(9rem* var(--workflow-scale-font));
}

.member-asset-cost-col {
  min-width: calc(12rem* var(--workflow-scale-font));
}

.member-asset-action-col .member-asset-action {
  display: flex;
  justify-content: center;
  min-width: calc(7rem* var(--workflow-scale-font));
  width: 100%;
}

.member-asset-action-col .member-asset-delete {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: calc(2.875rem* var(--workflow-scale-font));
  height: calc(2.875rem* var(--workflow-scale-font));
  box-sizing: border-box;
  padding: calc(0.375rem* var(--workflow-scale-font)) calc(0.25rem* var(--workflow-scale-font));
  border: 1px solid #D5D5D5;
  border-radius: calc(0.625rem* var(--workflow-scale-font));
  background-color: #FAFBFD;
  background-image: url("../../icons/bin-active.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: calc(1rem* var(--workflow-scale-font)) calc(1rem* var(--workflow-scale-font));
  cursor: pointer;
}

.member-asset-action-col img {
  margin-bottom: 0.125rem;
}

.member-asset-type-col input::placeholder {
  color: #D1D5DB;
}

.member-asset-type-col .input-text-member-asset-gold-type, 
.member-asset-type-col .input-text-member-asset-land-type,
.member-asset-type-col .input-text-member-asset-intel-type,
.member-asset-type-col .input-text-member-asset-tech-type,
.member-asset-type-col .input-text-member-asset-other-type {
  padding: 0 calc(0.65rem* var(--workflow-scale-font)) !important;
  border: none !important;
  border-bottom: 1px solid #D1D5DB !important;
  border-radius: 0 !important;
  color: #060047 !important;
}

.detail-step-member .input-text-other-role {
  padding: 0 calc(1.275rem* var(--workflow-scale-font)) !important;
  border: none !important;
  border-bottom: 1px solid #D1D5DB !important;
  border-radius: 0 !important;
}

.detail-step-member .form-input-text-other-role,
.member-asset-type-col .form-input-member-asset-gold-type,
.member-asset-type-col .form-input-member-asset-land-type,
.member-asset-type-col .form-input-member-asset-intel-type,
.member-asset-type-col .form-input-member-asset-tech-type,
.member-asset-type-col .form-input-member-asset-other-type {
  display: none;
}

.member-asset-type-col:has(option:checked[value="Vàng"]) .form-input-member-asset-gold-type,
.member-asset-type-col:has(option:checked[value="Quyền sử dụng đất"]) .form-input-member-asset-land-type,
.member-asset-type-col:has(option:checked[value="Quyền sở hữu trí tuệ, Công nghệ"]) .form-input-member-asset-intel-type,
.member-asset-type-col:has(option:checked[value="other"]) .form-input-member-asset-other-type {
  display: flex !important;
  flex-direction: column;
}

.before-form-input-text-other-role:has(option:checked[value="other"]) + .form-input-text-other-role {
  display: grid !important;
}
/* End member asset table */

.detail-step-member .member-control-panel {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.generate-docx-file-button,
.flow-content-member .add-new-btn-step-member,
.flow-content-member .member-control-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: calc(0.53rem* var(--workflow-scale-font));
  border: 1px solid #E90064;
  border-radius: calc(0.5rem* var(--workflow-scale-font));
  margin-top: calc(0.5rem* var(--workflow-scale-font));
  background: #FFF;
  color: #E90064;
  text-align: center;
  font-size: calc(0.875rem* var(--workflow-scale-font));
  font-weight: 600;
  line-height: 150%;
  cursor: pointer;
}

.flow-content-member .add-new-btn-step-member .add-new-btn-step-member-icon,
.flow-content-member .member-control-btn .member-control-icon {
  width: calc(1.5rem* var(--workflow-scale-font));
  height: calc(1.5rem* var(--workflow-scale-font));
  background-image: url("../../icons/add-active.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.flow-content-member .add-new-btn-step-member:hover {
  border: 1px solid #fff;
  background: #E90064;
  color: #fff;
}

.flow-content-member .add-new-btn-step-member:hover .add-new-btn-step-member-icon {
  background-image: url("../../icons/add-white.png");
}

/* Start member joint stock table */
.detail-step-member .member-stock-table {
  margin-top: calc(1.88rem* var(--workflow-scale-font));
}

.member-stock-table .member-stock-index-head {
  text-align: center;
}

.member-stock-table .member-stock-action-head {
  text-align: center;
}

.member-stock-index-col {
  text-align: center;
}

.member-stock-type-col,
.member-stock-value-col,
.member-stock-total-value-col,
.member-stock-quantity-col {
  min-width: calc(12rem* var(--workflow-scale-font));
}

.member-stock-value-col {
  cursor: default;
}

.member-stock-quantity-col {
  cursor: default;
}

.member-stock-action-col .member-stock-action {
  display: flex;
  justify-content: center;
  min-width: calc(7rem* var(--workflow-scale-font));
  width: 100%;
}

.member-stock-action-col .member-stock-delete {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: calc(2.875rem* var(--workflow-scale-font));
  height: calc(2.875rem* var(--workflow-scale-font));
  box-sizing: border-box;
  padding: calc(0.375rem* var(--workflow-scale-font)) calc(0.25rem* var(--workflow-scale-font));
  border: 1px solid #D5D5D5;
  border-radius: calc(0.625rem* var(--workflow-scale-font));
  background-color: #FAFBFD;
  background-image: url("../../icons/bin-active.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: calc(1rem* var(--workflow-scale-font)) calc(1rem* var(--workflow-scale-font));
  cursor: pointer;
}

.member-stock-action-col img {
  margin-bottom: 0.125rem;
}
/* End member joint stock table */

.delete-form-represent-legal-btn,
.delete-form-represent-authorized-btn {
  margin: calc(1rem* var(--workflow-scale-font)) 0 0 auto;
}

.represent-legal.first-form .delete-form-represent-legal-btn,
.represent-person.first-form .delete-form-represent-authorized-btn {
  display: none !important;
}

.flow-content-member .member-control-btn {
  border: 1px solid #E90064;
  /* margin: calc(3rem* var(--workflow-scale-font)) auto 0 auto; */
  background: #E90064;
  color: #fff;
}


.flow-content-member .cancel-member-btn {
  background-color: #fff;
  border: 1px solid #E90064;
  color: #E90064;
}

.flow-content-member .member-control-btn .member-control-icon {
  background-image: url("../../icons/user-add-white.png");
}

.flow-content-member .member-control-btn .cancel-member-icon {
  background-image: unset;
}

/* Start member list table */
.member-add-content,
.member-list-content {
  display: none;
}

.member-add-content.member-content-show {
  display: block;
}

.member-list-content.member-content-show {
  display: block;
}

.member-personal-table .member-personal-index-head,
.member-organization-table .member-organization-index-head,
.member-represent-authorized-table .member-represent-authorized-index-head {
  width: calc(3rem* var(--workflow-scale-font));
}

.member-personal-table .member-personal-capital-head,
.member-organization-table .member-organization-capital-head,
.member-represent-authorized-table .member-represent-authorized-capital-head {
  width: calc(12rem* var(--workflow-scale-font));
}

.member-personal-table .member-personal-action-head,
.member-organization-table .member-organization-action-head,
.member-represent-authorized-table .member-authorized-action-head {
  width: calc(9rem* var(--workflow-scale-font));
}

.member-personal-table .member-personal-index-col,
.member-organization-table .member-organization-index-col,
.member-represent-authorized-table .member-authorized-index-col {
  width: calc(3rem* var(--workflow-scale-font));
}

.member-personal-table .member-personal-capital-col,
.member-organization-table .member-organization-capital-col,
.member-represent-authorized-table .member-authorized-capital-col {
  width: calc(12rem* var(--workflow-scale-font));
}

.member-personal-table .member-personal-action-col,
.member-organization-table .member-organization-action-col,
.member-represent-authorized-table .member-authorized-action-col {
  width: calc(9rem* var(--workflow-scale-font));
}
/* End member list table */
/* ****************** END MEMBER ****************** */
/* ****************** END MEMBER ****************** */
/* ****************** END MEMBER ****************** */
/* ****************** END MEMBER ****************** */
/* ****************** END MEMBER ****************** */

/* ****************** START TAX ****************** */
/* ****************** START TAX ****************** */
/* ****************** START TAX ****************** */
/* ****************** START TAX ****************** */
/* ****************** START TAX ****************** */
.flow-content-tax {
  flex-direction: column;
}

.flow-content-tax .detail-step-tax {
  
}

.business-location-tbl-body tr td p {
  margin: 0;
}
/* ****************** END TAX ****************** */
/* ****************** END TAX ****************** */
/* ****************** END TAX ****************** */
/* ****************** END TAX ****************** */
/* ****************** END TAX ****************** */

/* ****************** START CHARTER ****************** */
/* ****************** START CHARTER ****************** */
/* ****************** START CHARTER ****************** */
/* ****************** START CHARTER ****************** */
/* ****************** START CHARTER ****************** */
.flow-content-enterprise-charter {
  flex-direction: column;
}

.flow-content-enterprise-charter .detail-step-enterprise-charter {
  
}
/* ****************** END CHARTER ****************** */
/* ****************** END CHARTER ****************** */
/* ****************** END CHARTER ****************** */
/* ****************** END CHARTER ****************** */
/* ****************** END CHARTER ****************** */


/* ****************** START PROFILE ****************** */
/* ****************** START PROFILE ****************** */
/* ****************** START PROFILE ****************** */
/* ****************** START PROFILE ****************** */
/* ****************** START PROFILE ****************** */
.flow-content-profile {
  flex-direction: column;
}

.flow-content-profile .detail-step-profile {
  
}

.file-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: calc(0.5rem* var(--workflow-scale-font));
}

.file-row .file-quantity {
  margin: 0;
}

.file-row .download-all-profile-btn {
  padding: calc(0.25rem* var(--workflow-scale-font)) calc(0.5rem* var(--workflow-scale-font));
  background-color: #e90064;
  color: #fff;
  border: none;
  border-radius: calc(0.4rem* var(--workflow-scale-font));
  cursor: pointer;
}

.file-row .download-all-profile-btn:hover {
  
}

.file-row .download-all-profile-btn:active {
  opacity: 0.8;
}

.flow-body:has(.flow-content-loading:not(.tlpl-display-none)) {
  overflow: hidden;
}

.file-list-table th,
.send-info-profile-table th {
  /* vertical-align: top; */
}

.file-list-table td,
.send-info-profile-table td {
  vertical-align: top;
  color: #060047;
  font-size: calc(0.875rem* var(--workflow-scale-font));
  font-style: normal;
  font-weight: 500;
  line-height: 121.429%;
}

.file-list-table td {
  vertical-align: middle;
}

.send-info-profile-table a {
  color: #e90064;
  text-decoration: underline;
}

.detail-step-profile .procedure-name {
  color: #060047;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  text-decoration-line: underline;
  cursor: pointer;
}

/* START BPMN */
.detail-step-profile .process-bpmn-layout {
  flex: 1;
  position: relative;
  height: 400px;
}

.detail-step-profile .process-bpmn-panel {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1;
  display: flex;
  gap: 0.75rem;
  background-color: #fff; 
}

.detail-step-profile .process-bpmn-panel .bpmn-panel-btn {
  width: calc(1.5rem* var(--workflow-scale-font));
  height: calc(1.5rem* var(--workflow-scale-font));
  background-size: cover;
  cursor: pointer;
}

.detail-step-profile .process-bpmn-panel .bpmn-download-btn {
  position: relative;
  background-image: url("../../icons/document-download.png");
  cursor: pointer;
}

.detail-step-profile .process-bpmn-panel .bpmn-redirect-btn {
  background-image: url("../../icons/share-active.png");
  cursor: pointer;
}

.detail-step-profile .process-bpmn-panel .bpmn-download-btn:hover .download-tooltip {
  display: block;
}

.detail-step-profile .process-bpmn-panel .bpmn-download-btn .download-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-100%, 0);
  display: none;
  width: 300px;
  height: auto;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  margin: 0;
  background-color: #e90064;
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
}

.detail-step-profile .bpmn_container,
.detail-step-profile .canvas,
.detail-step-profile #js-canvas,
.detail-step-profile .bjs-container {
  height: 100% !important;
}

#fullscreen-icon {
  display: none !important;
}

#editor {
  transform: translateX(101%) !important;
}

.detail-step-profile .no-condition {
  text-align: center;
}

.detail-step-profile .no-condition.no-condition-img {
  flex: 1;
  background-image: url("../../imgs/empty-box-black.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* END BPMN */

/* Start modal preview pdf */
.modal-layout-preview-pdf .tlpl-modal-box {
  height: 90%;
  padding: 0.5rem 0.2rem;
}

.modal-layout-preview-pdf .tlpl-modal-body {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.modal-layout-preview-pdf #pdf-container {
  height: 100%;
  overflow-y: auto;
}

.modal-layout-preview-pdf canvas {
  width: 100%;
  height: auto;
}
/* End modal preview pdf */


/* ****************** END PROFILE ****************** */
/* ****************** END PROFILE ****************** */
/* ****************** END PROFILE ****************** */
/* ****************** END PROFILE ****************** */
/* ****************** END PROFILE ****************** */

/* ****************** START WORKFLOW FOOTER ****************** */
/* ****************** START WORKFLOW FOOTER ****************** */
/* ****************** START WORKFLOW FOOTER ****************** */
/* ****************** START WORKFLOW FOOTER ****************** */
/* ****************** START WORKFLOW FOOTER ****************** */
.workflow-container .flow-footer {
  display: flex;
  justify-content: center;
}

.workflow-container .flow-footer .flow-footer-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.844rem 0.875rem;
  border-radius: 0.6875rem;
  margin: calc(1.5rem* var(--workflow-scale-font)) 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.workflow-container .flow-footer .btn-disable {
  pointer-events: unset;
}

.workflow-container .flow-footer .flow-previous-btn {
  background-color: #fff;
  border: 1px solid #e90064;
  margin-right: 0.9375rem;
  color: #e90064;
}

.workflow-container .flow-footer .flow-next-btn {
  background-color: #e90064;
  border: none;
  color: #fff;
}

.workflow-container .flow-footer .flow-next-btn a,
.workflow-container .flow-footer .flow-next-btn span {
  color: #fff !important;
  text-decoration: none !important;
}

.workflow-container .flow-footer .flow-previous-btn img {
  width: 1.5rem;
  /* margin-right: 0.5rem; */
  margin-right: 0.75rem;
}

.workflow-container .flow-footer .flow-next-btn img {
  width: 1.5rem;
  /* margin-left: 0.5rem; */
  margin-left: 0.75rem;
}

.notification-recommend-layout {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgb(3, 1, 23, 0.87);
  display: none;
  justify-content: center;
  align-items: center;
}

.notification-recommend-layout.notification-recommend-show {
  display: flex;
}

.notification-recommend {
  position: relative;
  max-width: 600px;
  width: 80%;
  padding: 2rem;
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0 0 0.3rem 0.1rem rgba(204, 204, 204, 0.5);
}

.notification-recommend .close-recommend {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("../../icons/close-active.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.notification-recommend .recommend-text {
  margin: 0;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}
/* ****************** END WORKFLOW FOOTER ****************** */
/* ****************** END WORKFLOW FOOTER ****************** */
/* ****************** END WORKFLOW FOOTER ****************** */
/* ****************** END WORKFLOW FOOTER ****************** */
/* ****************** END WORKFLOW FOOTER ****************** */

@media only screen and (max-width:1200px) {

}

@media only screen and (max-width:1024px) {
  /* .flow-body .step .node-layout {
    width: 3.1rem;
    height: 3.1rem;
  }

  .flow-body .step .node {
    width: 1.2rem;
    height: 1.2rem;
  } */
}

@media only screen and (max-width:768px) {

}

@media only screen and (max-width:600px) {
  .flow-content-price-plan {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .flow-content-price-plan-item {
    width: 100%;
  }

  .flow-content-select-enterprise-type {
    flex-direction: column;
    margin-bottom: 2rem;
  }
}

@media only screen and (max-width:480px) {
  html {
    font-size: 14px;
  }

}

@media only screen and (max-width:360px) {
  html {
    font-size: 12px;
  }
}

@media only screen and (max-width:280px) {

}

@container (max-width: 600px) {
  .workflow-container {
    --workflow-scale-font: 0.875;
  }
  /* .workflow-branch .workflow-slogan {
    background-color: red;
  }

  .workflow-container .workflow-branch {
    margin-bottom: 4.0625rem;
  }
  
  .workflow-logo {
    font-size: 2rem;
    letter-spacing: 0.2rem;
  }
  
  .workflow-logo-sub {
    transform: translate(-13%, 90%);
    width: 5.6rem;
    padding: 0.08rem;
    border-radius: 0.15rem;
  }
  
  .workflow-logo-sub .logo-sub-img {
    width: 0.65rem;
    margin-right: 0.15rem;
  }
  
  .workflow-logo-sub span {
    font-size: 0.5rem;
    margin-top: 0.16rem;
  }
  
  .workflow-slogan {
    margin: 1.45rem 0 0 0;
    font-size: 1.1rem;
  }   */
}

@container (max-width: 650px) {
  .workflow-container .flow-footer .text-hide-on-small {
    display: none;
  }
}

@container (max-width: 480px) {
  .workflow-container {
    --workflow-scale-font: 0.75;
  }

  .flow-body .step .node-layout {
    width: 3.1rem;
    height: 3.1rem;
  }

  .flow-body .step .node {
    width: 1.2rem;
    height: 1.2rem;
  }
}
/* 
@supports not (container-type: inline-size) {
  .workflow-container-layout {
    background-color: red;
  }
} */


/* START Select 2 */
.select2-container * {
  color: #060047 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
  font-weight: 500;
  line-height: normal;
}

.select2.select2-container.select2-container--default {
  margin-top: auto !important;
}

.select2.select2-container.select2-container--disabled * {
  color: #D1D5DB !important;
}

.select2.select2-container {
  width: 100% !important;
}

.select2.select2-container .select2-selection {
  border: 1px solid #D1D5DB;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 8px;
  height: 3.5rem;
  margin-bottom: 15px;
  outline: none !important;
  transition: all 0.15s ease-in-out;
  padding: 0.65rem !important;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
  padding-left: 0 !important;
  color: #000;
  line-height: 32px;
  padding-right: 1.5rem;
  font-size: 1rem;
  font-family: "Montserrat";
  font-weight: 500;
  /* .select2-selection__rendered */
  line-height: normal !important;
  font-size: calc(0.9375rem* var(--workflow-scale-font));
}

.select2.select2-container .select2-selection .select2-selection__arrow {
  background: #f8f8f8 !important;
  border-left: 1px solid #ccc !important;
  -webkit-border-radius: 0 3px 3px 0 !important;
  -moz-border-radius: 0 3px 3px 0 !important;
  border-radius: 0 8px 8px 0 !important;
  height: 3.3rem !important;
  width: 33px !important;
  right: 3px;
  /*  */
  border-left: 1px solid transparent !important;
}

.select2.select2-container .select2-selection.select2-selection--single {
  /* .select2-selection--single */
  background: transparent !important;
  height: auto !important;
  padding: calc(1.315rem* var(--workflow-scale-font) + 1.5px) !important;
  padding-right: calc(0.25rem* var(--workflow-scale-font)) !important;
  margin-bottom: 0 !important;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
  /* .select2-selection--single */
  background: transparent !important;
  height: auto !important;
  padding: calc(1.315rem* var(--workflow-scale-font) + 1.5px) !important;
  padding-right: calc(0.25rem* var(--workflow-scale-font)) !important;
  margin-bottom: 0 !important;
}

.select2.select2-container .select2-selection.select2-selection--single .select2-selection__arrow {
  -webkit-border-radius: 0 3px 0 0 !important;
  -moz-border-radius: 0 3px 0 0 !important;
  border-radius: 0 3px 0 0 !important;
  /* select2-selection__arrow */
  background-color: transparent !important;
  height: auto !important;
  padding: calc(1.91rem* var(--workflow-scale-font) + 1px) !important;
  padding-right: 0 !important;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
  -webkit-border-radius: 0 3px 0 0 !important;
  -moz-border-radius: 0 3px 0 0 !important;
  border-radius: 0 3px 0 0 !important;
  /* select2-selection__arrow */
  background-color: transparent !important;
  height: auto !important;
  padding: calc(1.91rem* var(--workflow-scale-font) + 1px) !important;
  padding-right: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  position: absolute !important;
  top: 50% !important;
  right: 0 !important;
  transform: translate(calc(-0.5rem* var(--workflow-scale-font)), -50%) !important;
  width: calc(1.5rem* var(--workflow-scale-font)) !important;
  height: calc(1.5rem* var(--workflow-scale-font)) !important;
  border: none !important;
  background-image: url("../../icons/collapse-down-black.png") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  transform: translate(calc(-0.5rem* var(--workflow-scale-font)), -50%) rotate(-180deg) !important;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--multiple {
  border: 1px solid #D1D5DB !important;
}

.select2.select2-container .select2-selection--multiple {
  height: auto !important;
  min-height: calc(4.125rem* var(--workflow-scale-font)) !important;
  padding: calc(1.3rem* var(--workflow-scale-font)) calc(0.65rem* var(--workflow-scale-font)) !important;
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
  margin-top: 0 !important;
  /* height: 32px !important; */
}

.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: block !important;
  padding: 0 4px !important;
  color: #000 !important;
  /* .select2-selection__rendered */
  line-height: normal !important;
  font-size: calc(0.9375rem* var(--workflow-scale-font));

  display: flex !important;
  gap: 4px;
  flex-wrap: wrap;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
  background-color: #f8f8f8 !important;
  border: 1px solid #ccc !important;
  -webkit-border-radius: 3px !important;
  -moz-border-radius: 3px !important;
  border-radius: 3px !important;
  margin: 0 !important;
  padding: 0 6px 0 22px !important;
  height: 24px !important;
  line-height: 24px !important;
  font-size: 12px !important;
  position: relative !important;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  height: 22px !important;
  width: 22px !important;
  margin: 0 !important;
  text-align: center !important;
  color: #e74c3c !important;
  font-weight: bold !important;
  font-size: 16px !important;
}
.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
  margin: 0;
}

.select2-selection.select2-selection--multiple {
  display: flex;
  margin: 0 !important;
}

.select2-search.select2-search--inline {
  width: 100%;
  margin: 0;
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
  color: #D1D5DB !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
  margin-top: 0 !important;
}

.select2-container .select2-dropdown {
  background: transparent !important;
  border: none !important;
  margin-top: -5px !important;
}

.select2-container .select2-dropdown .select2-search {
  padding: 0 !important;
}

.select2-container .select2-dropdown .select2-search input {
  outline: none !important;
  border: 1px solid #D1D5DB !important;
  border-bottom: none !important;
  padding: 4px 6px !important;
  background-color: #fff;
}

.select2-container .select2-dropdown .select2-results {
  padding: 0 !important;
}

.select2-container .select2-dropdown .select2-results ul {
  background: #fff !important;
  border: 1px solid #D1D5DB !important;
  box-shadow: 0px 0.25rem 0.25rem 0px rgba(0, 0, 0, 0.25);
}

.select2-results__option {
  padding-left: calc(1.315rem + 2.1px) !important;
  padding-right: calc(0.25rem) !important;
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected] {
  background-color: #e90064 !important;
  color: #fff !important;
}

.select2-container--default .select2-results__option--disabled {
  color: #D1D5DB !important;
}

.iti__country-list {
  border-radius: 8px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

ul[aria-multiselectable="true"] .select2-results__option--selected {
  position: relative;
}

ul[aria-multiselectable="true"] .select2-results__option--selected::after {
  content: " ";
  width: 25px;
  height: 25px;
  background-color: #fff;
  background-image: url("../../icons/tick-active.png");
  background-size: contain;
  background-position: center;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-100%, -50%);
  border-radius: 4px;
}
/* END Select 2 */