.card.card--custom th {
  width: 200px;
}

.show {
  display: block;
}

.modal-body-infor {
  border-bottom: 1px solid #d9d9dd;
}

/* custom model */

.form-login-checkbox-kepp-txt p {
  margin-bottom: .5rem !important;
}

.form-login-checkbox {
  margin-top: 30px;
  position: relative;
}

.form-login-checkbox .form-login-checkbox_box {
  position: absolute;
  height: 0;
  width: 0;
  opacity: 0;
  cursor: pointer;
  top: 0;
  left: 0;
}


.form-login-checkbox .form-login-checkbox-kepp {
  color: black;
  display: flex;
  align-items: center;
  position: relative;
}

.form-login-checkbox .form-login-checkbox-kepp .form-login-checkbox_checkmark {
  width: 15px;
  height: 15px;
  margin-right: 10px;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  cursor: pointer;
  display: block;
  transition: all .5s;
}

.form-login-checkbox .form-login-checkbox-kepp:hover .form-login-checkbox_checkmark {
  background-color: #305ed3;
}

.form-login-checkbox_checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.form-login-checkbox-kepp .form-login-checkbox_box:checked~.form-login-checkbox_checkmark:after {
  display: block;
}

.form-login-checkbox_checkmark:after {
  left: 5px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid black;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  background-color: #000000ba;
  /* padding-top: 5%;
  padding-bottom: 5%; */
}

.modal-content {
  background-color: #fff;
  border-radius: 0;
}

form:last-child {
  margin-top: 0;
}

.modal-header--custom {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: none !important;
  border-top-right-radius: none !important;
  background-color: #305ed3;
}

.modal-footer--custom {
  display: flex;
  align-items: center;
  flex-flow: row;
  justify-content: space-between;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0;
  border-top: none;
}

h5 {
  font-size: 18px !important;
  /* color: #fff; */
  font-weight: 600 !important;
}

.modal-body--custom {
  /* padding-top: 0; */
  padding-bottom: 0;
  max-height: 50vh;
  overflow: auto;
}

.form-login-checkbox-kepp--flex {
  justify-content: space-between;
}

.form-login-checkbox-kepp-txt p {
  margin: 0px;
  color: #000;
}

.form-login-checkbox-cus {
  position: relative;
}

.form-login-checkbox-cus .form-login-checkbox_checkmark:after {
  top: 2px;
}

.form-login-checkbox--border {
  border-top: 1px solid #d9d9d9;
  padding-top: 10px;
  margin-top: 0;
}

.form-login-checkbox--border:first-of-type {
  border-top: none;
}

.modal-footer button {
  margin: 0px;
}

.modal-footer-button {
  flex-grow: 1;
  width: 100%;
  border: 1px solid #fff;
  padding: 11px;
  color: #305ed3;
  font-weight: 600;
  background-color: #fff;
  border-top: 1px solid #d9d9d9;
  outline: none;
  transition: all .5s;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.modal-footer-button:last-child {
  border-left: 1px solid #d9d9d9;
}

.modal-footer-button:hover {
  background-color: #305ed3;
  color: #fff;
  border: 1px solid #305ed3;
}

.modal-footer-button:focus {
  outline: none;
}

/* Shared app confirmation dialog */
.ws-modal-card {
  border-radius: 16px;
  border: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.ws-modal-header {
  border-bottom: 0;
  padding: 18px 20px 8px;
}
.ws-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
}
.ws-modal-close {
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: #888;
  cursor: pointer;
}
.ws-modal-body {
  padding: 0 20px 16px;
  color: #555;
  font-size: 14px;
}
.ws-modal-footer {
  border-top: 0;
  padding: 0 20px 18px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.ws-btn-secondary {
  border-radius: 999px;
  border: 1px solid #d0d0dc;
  background: #fff;
  color: #4b4b5a;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
}
.ws-btn-primary {
  border-radius: 999px;
  border: none;
  background: #6c5ce7;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
}
.ws-btn-primary:hover {
  background: #5945e0;
}

.show {
  display: block !important;
}

.navbar-nav .nav-item .nav-link {
  color: #fff !important;
}

.navbar-menu .img-logo {
  max-width: 150px;
}

#jsErr,
.toast-err {
  --toast-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5'/%3E%3Ccircle cx='12' cy='16.2' r='1.1' fill='%23fff' stroke='none'/%3E%3C/svg%3E");
  --toast-icon-bg: #d92d20;
  box-sizing: border-box;
  position: fixed;
  top: 20px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 200000;
  display: none;
  width: max-content;
  min-width: 280px;
  max-width: min(520px, calc(100vw - 32px));
  margin: 0;
  padding: 12px 16px;
  color: #b42318;
  font-weight: 600;
  border: 1px solid #fecdca;
  border-radius: 14px;
  background: #fef3f2;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  pointer-events: none;
}

#jsErr.show,
.toast-err.show {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 12px;
  animation: fw-toast-in 0.28s ease-out;
}

#jsErr.show::before,
.toast-err.show::before {
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-top: 1px;
  border-radius: 50%;
  background-color: var(--toast-icon-bg);
  background-image: var(--toast-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

#jsErr p,
.toast-err p {
  flex: 1 1 0;
  min-width: 0;
  padding: 5px 0 4px;
  margin: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

#jsErr.show > div,
.toast-err.show > div {
  flex: 1 1 100%;
  width: calc(100% + 32px);
  margin: 2px -16px -12px;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}

#jsErr.success,
.toast-err.success {
  --toast-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  --toast-icon-bg: #12b76a;
  color: #067647 !important;
  background: #ecfdf3 !important;
  border-color: #abefc6;
}

#jsErr.error,
.toast-err.error {
  --toast-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  --toast-icon-bg: #d92d20;
  color: #b42318 !important;
  background: #fef3f2 !important;
  border-color: #fecdca;
}

#jsErr.warning,
.toast-err.warning {
  --toast-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5'/%3E%3Ccircle cx='12' cy='16.2' r='1.1' fill='%23fff' stroke='none'/%3E%3C/svg%3E");
  --toast-icon-bg: #f79009;
  color: #b54708 !important;
  background: #fffaeb !important;
  border-color: #fedf89;
}

#jsErr.info,
.toast-err.info {
  --toast-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6'/%3E%3Ccircle cx='12' cy='8' r='1.1' fill='%23fff' stroke='none'/%3E%3C/svg%3E");
  --toast-icon-bg: #2e90fa;
  color: #175cd3 !important;
  background: #eff8ff !important;
  border-color: #b2ddff;
}

@keyframes fw-toast-in {
  from {
    opacity: 0;
    top: 8px;
  }
  to {
    opacity: 1;
    top: 20px;
  }
}

@media (max-width: 576px) {
  #jsErr,
  .toast-err {
    top: 12px;
    min-width: 0;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }
}

div#jsErr1 {
  margin-top: 110px;
}

div#jsErr2 {
  margin-top: 180px;
}

div#jsErr3 {
  margin-top: 250px;
}

div#jsErr4 {
  margin-top: 320px;
}

.info {
  background: #17a2b8 !important;
}

.success {
  background: #07bc0c !important;
}

.warning {
  background: #f1c40f !important;
}

.error {
  background: #e74c3c !important;
}

.shim-red {
  height: 5px;
  position: relative;
  overflow: hidden;
  background-color: inherit;
}

.shim-red::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(0%);
  background-image: linear-gradient(90deg,
      rgba(233, 233, 233, 1) 0,
      rgba(233, 233, 233, 0.9) 50%,
      rgba(233, 233, 233, 0.8) 100%);
  animation: shimmer 2.5s ease-out infinite;
  content: "";
}

@keyframes shimmer {
  100% {
    transform: translateX(-100%);
    opacity: 1;
  }
}

#modalNotice {
  padding-top: 10rem;
}

#modalNotice h4 {
  color: #000;
}

#modalNotice button {
  border-style: none;
  background: #fff;
  color: #305ed3;
  font-weight: bold;
}

#md-content {
  background-color: rgba(0, 0, 0, 0) !important;
  border-style: none;
}

.close {
  float: right;
  border-style: none;
  font-size: 17px !important;
}

.clear {
  clear: both;
}

#keypay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1051;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.hiden {
  display: none;
}

.total-input {
  width: 100%;
}

.form-set-detail {
  display: inline-flex;
}

.form-set-detail-input {
  display: flex;
  align-items: center;
  border: 1px solid #6a6a6a;
  border-radius: 3px;
  margin-right: 5px;
  color: rgb(84, 84, 84);
}

.form-set-detail-input:focus {
  border: 1px solid #cc1414;
}

.form-set-detail-input label {
  margin: 0;
  padding-left: 2px;
  color: inherit;
}

.form-set-detail-input input {
  border: none;
  outline: none;
  color: inherit;
}

#jsFinancialDiv input {
  padding: 6px;
}

.form-content {
  width: 100%;
  /* height: 200px; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-content label:first-child,
.form-content label:last-child {
  padding: 20px;
  font-size: 18px;
}

/* Global loading overlay (#jsLoader, .theme-loader, #jsLoading, .spinner) */

#jsLoader,
.theme-loader {
  position: fixed;
  inset: 0;
  z-index: 1051;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: rgba(11, 28, 48, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.theme-loader {
  display: flex;
  z-index: 999999;
}

#jsLoader.show {
  display: flex !important;
}

#jsLoader .loader,
.theme-loader .loader,
#jsLoading .loader,
.watch-company-section-loading .loader {
  position: relative;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 auto !important;
  border: 3px solid transparent;
  border-top-color: #5b9aff;
  border-right-color: #00288e;
  border-bottom-color: rgba(0, 40, 142, 0.15);
  border-left-color: rgba(91, 154, 255, 0.2);
  border-radius: 50%;
  animation: flexwage-loader-spin 1.15s cubic-bezier(0.45, 0.1, 0.45, 0.9) infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(48, 94, 211, 0.35));
}

#jsLoader .loader-chiled,
.theme-loader .loader-chiled,
#jsLoading .loader-chiled,
.watch-company-section-loading .loader-chiled {
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0;
  border: 3px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.95);
  border-right-color: rgba(255, 255, 255, 0.25);
  border-bottom-color: transparent;
  border-left-color: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  animation: flexwage-loader-spin-reverse 0.85s linear infinite;
}

.theme-loader .ball-scale {
  display: none !important;
}

.loader-label {
  color: #fff;
  font-family: 'Inter', 'Hanken Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
  opacity: 0.92;
  animation: flexwage-loader-fade 1.6s ease-in-out infinite;
}

#jsLoader .syncing-text {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 56px);
  color: #fff;
  font-family: 'Inter', 'Hanken Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

#jsLoading {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: rgba(11, 28, 48, 0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.watch-company-section-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

@keyframes flexwage-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes flexwage-loader-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes flexwage-loader-fade {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

/* The switch - the box around the slider */
.switch-custom {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch-custom input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #19aee4;
}

input:focus+.slider {
  box-shadow: 0 0 1px #5a6167;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin2 {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin2 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media only screen and (min-width: 1200px) {

  .card.card--custom .table--border th,
  .card.card--custom .table--border td {
    border: none;
  }

  .epp-text {
    width: calc(100% - 200px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
  }
}

@media only screen and (min-width: 1200px) {}

.thead-light th {
  color: #495057;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.thead-dark th {
  color: #fff;
  background-color: #343a40;
  border-color: #454d55;
}

table.dataTable tbody td.no-padding {
  padding: 0;
  border-bottom: 1px solid #d8d2d2;
}

div.slider-childTable {
  display: none;
}

/* DataTables processing spinner */
.spinner {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
}

.spinner:before,
.spinner:after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 3px solid transparent;
  box-sizing: border-box;
}

.spinner:before {
  inset: 0;
  border-top-color: #5b9aff;
  border-right-color: #00288e;
  border-bottom-color: rgba(0, 40, 142, 0.15);
  border-left-color: rgba(91, 154, 255, 0.2);
  animation: flexwage-loader-spin 1.15s cubic-bezier(0.45, 0.1, 0.45, 0.9) infinite;
}

.spinner:after {
  inset: 9px;
  border-top-color: rgba(91, 154, 255, 0.85);
  border-right-color: rgba(0, 40, 142, 0.35);
  border-bottom-color: transparent;
  border-left-color: rgba(91, 154, 255, 0.45);
  animation: flexwage-loader-spin-reverse 0.85s linear infinite;
}

div.dataTables_processing {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.btn-outline-info.disabled,
.btn-outline-success.disabled,
.btn-outline-warning.disabled,
.btn-outline-danger.disabled {
  background-color: #eee;
}

/* Custom Sign Up Layout*/
.signup-block {
  margin: 0 auto;
  background-color: #fff;
  min-height: 100vh;
}

.signup-block .auth-box.signup-card {
  background-color: #fff;
  margin: 20px auto 0 auto;
  max-width: 960px;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  border: none;
}

.signup-card .card-block {
  padding: 0;
}

.signup-layout {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.signup-sidebar {
  width: 32%;
  min-width: 260px;
  background-color: #0e2a47;
  background: linear-gradient(180deg, #102a48 0%, #0b1f35 100%);
  color: #fff;
  padding: 32px 28px 40px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.signup-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.signup-brand-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-brand-icon img,
.signup-brand-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
}

.signup-brand-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.signup-brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  display: block;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.signup-sidebar-intro {
  margin-top: 40px;
}

.signup-sidebar-intro h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.signup-sidebar-intro p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.85;
}

.signup-main {
  flex: 1;
  padding: 40px 48px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
}

.signup-main-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.signup-main-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

/* Form fields in signup main area */
.signup-main .form-control {
  height: 48px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  box-shadow: none;
  font-size: 14px;
}

/* đảm bảo ô Mobile có chiều cao bằng các field khác */
.signup-main input#mobile {
  height: 48px;
}

/* đảm bảo ô Country Code có chiều cao bằng các field khác */
.signup-main select#selectedCountryCode {
  height: 48px;
  line-height: 48px;
}

/* đảm bảo ô Company Country Code ở bước Enter your company details có chiều cao bằng các field khác */
.signup-main select#companyCountryCode {
  height: 48px;
  line-height: 48px;
}

.signup-main .form-control::placeholder {
  color: #9ca3af;
}

.signup-main .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.18);
}

.auth-box a:hover {
  text-decoration: underline;
}

/*font Variables*/
/*Color Variables*/
@import url("https://fonts.googleapis.com/css?family=Roboto:300i,400,400i,500,700,900");

.multi_step_form #msform {
  position: relative;
  margin: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.multi_step_form #msform fieldset {
  border: 0;
  padding: 0;
  position: relative;
  width: 100%;
  left: 0;
  right: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  flex: 1; /* đảm bảo mọi step cao bằng nhau để nhóm nút chạm đáy giống step 1 */
}

.form-login-checkbox .form-login-checkbox-kepp .form-login-checkbox-kepp-txt {
  text-align: left;
}

.signup-sidebar .progressbar {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  position: relative;
}

/* Một đường connector liên tục phía sau các vòng tròn — không cắt chữ label */
.signup-sidebar .progressbar::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background-color: rgba(148, 163, 184, 0.45);
  z-index: 0;
}

.signup-sidebar .progressbar li {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px;
  margin-bottom: 20px;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
  z-index: 1;
}

.signup-sidebar .progressbar li:last-child {
  margin-bottom: 0;
}

.signup-sidebar .progressbar .progress-circle,
.progress-circle {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px;
  max-width: 32px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px !important;
  font-weight: 600;
  font-size: 14px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

.signup-sidebar .progressbar .progress-label,
.progress-label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  max-width: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.signup-sidebar .progressbar li::before {
  display: none;
}

.signup-sidebar .progressbar li.active .progress-circle,
.signup-sidebar .progressbar li.complete .progress-circle {
  background-color: #206bc4;
  color: #ffffff;
  border-color: #206bc4;
  box-shadow: 0 0 0 3px rgba(32, 107, 196, 0.3);
}

.signup-sidebar .progressbar li.active .progress-label,
.signup-sidebar .progressbar li.complete .progress-label {
  color: #ffffff;
  font-weight: 600;
}

/* Ẩn bước 4 và 5 trong left panel (chỉ ẩn hiển thị, không ảnh hưởng logic) */
.signup-sidebar .progressbar li:nth-child(4),
.signup-sidebar .progressbar li:nth-child(5) {
  display: none;
}

/* Buttons styling used in all steps */
.signup-main .btn-step {
  width: 170px;
  height: 46px;
  border-radius: 8px;
  font-weight: 600;
}

/* Đưa nhóm button xuống đáy fieldset, Back trái - Next/Submit phải */
.signup-main #msform fieldset {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.system-actions,
.step-actions {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Step 1: chỉ có nút SELECT, căn phải */
#step4 .system-actions {
  justify-content: flex-end;
}

/* canh nút Back/NEXT theo chiều ngang form (cùng container với các field) */

/* Loại bỏ margin-bottom mặc định của btn (my-3) để khoảng cách bottom = padding top của title */
.system-actions .btn-step,
.step-actions .btn-step {
  margin-bottom: 0;
}

/* Bước 1: style radio danh sách hệ thống */
.system-list .system-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.system-list .system-option.form-check {
  padding-left: 0;
}

.system-list .system-option .form-check-input {
  margin-left: 0;
  margin-top: 0; /* canh giữa theo trục dọc với text */
}

.system-list .system-option .form-check-label {
  font-size: 14px;
  font-weight: 500;
}

/* Complete step (Registration Successful) */
.signup-complete {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 0 12px;
  text-align: left;
}

.signup-complete__hero {
  text-align: center;
  margin-bottom: 22px;
}

.signup-complete__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 8px;
}

.signup-complete__lead {
  margin: 0 auto;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}

.signup-complete__icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.signup-complete__icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background-color: #22c55e;
  box-shadow: 0 0 0 10px #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #fff;
}

.signup-complete__check {
  font-size: 28px;
  color: #fff;
}

.signup-complete__headline {
  font-size: 18px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 8px;
}

.signup-complete__company {
  margin-bottom: 4px;
  font-size: 27px;
}

.signup-complete__company-abn {
  font-weight: 400;
  color: #6b7280;
}

.signup-complete__description {
  max-width: 500px;
  margin: 8px auto 24px;
  color: #4b5563;
}

.signup-complete__card {
  background: #f8fafc;
  border: 1px solid #e8eef5;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

.signup-complete__card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.signup-complete__avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0f766e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-complete__card-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.signup-complete__card-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.signup-complete__card-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.signup-complete__name-check {
  display: inline-flex;
  vertical-align: -2px;
  margin-left: 6px;
  color: #16a34a;
}

.signup-complete__status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.signup-complete__card-tax {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
}

.signup-complete__owner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #edf2f7;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.signup-complete__owner strong {
  color: #0f172a;
  font-weight: 700;
}

.signup-complete__owner-icon {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #94a3b8;
}

.signup-complete button {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}

.signup-complete__cta:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.signup-complete__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
}

.signup-complete__cta,
.signup-complete__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.22);
}

.signup-complete__cta:hover,
.signup-complete__button:hover {
  background: #1d4ed8;
  color: #fff;
}

@media (max-width: 720px) {
  .signup-complete__card-name-row,
  .signup-complete__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .signup-complete__status {
    align-self: flex-start;
  }

  .signup-complete__cta,
  .signup-complete__button {
    width: 100%;
  }
}

/* Auth pages: login / signup / forgot password / 2FA */
@media (max-width: 900px) {
  .signin-page,
  .signup-page,
  .forgot-wizard-page,
  .tfa-page {
    overflow-x: clip;
    background: #f1f5f9 !important;
  }

  .signin-page.signup-block,
  .signup-page.signup-block,
  .forgot-wizard-page.signup-block,
  .tfa-page.signup-block {
    min-height: 100dvh;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .signin-page .container,
  .signup-page .container,
  .forgot-wizard-page .container,
  .tfa-page .container {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .signin-page .row,
  .signup-page .row,
  .forgot-wizard-page .row,
  .tfa-page .row {
    margin-left: 0;
    margin-right: 0;
  }

  .signin-page .col-sm-12,
  .signup-page .col-sm-12,
  .forgot-wizard-page .col-sm-12,
  .tfa-page .col-sm-12 {
    padding-left: 0;
    padding-right: 0;
  }

  .signin-page #jsFormLogin,
  .signin-page #jsUserRegisterForm.active,
  .signup-page #jsFormSignup,
  .forgot-wizard-page #jsForgotWizardPage,
  .tfa-page #jsTfaPage {
    align-items: flex-start !important;
    min-height: 100dvh;
    padding: 12px 0 24px;
  }

  .signin-page .auth-box.signup-card,
  .signup-page .auth-box.signup-card,
  .forgot-wizard-page .auth-box.signup-card,
  .tfa-page .auth-box.signup-card {
    margin: 0 auto 16px;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  }

  .signin-page .signup-layout,
  .signup-page .signup-layout,
  .forgot-wizard-page .signup-layout,
  .tfa-page .signup-layout {
    flex-direction: column;
    min-height: 0 !important;
    height: auto !important;
  }

  .signin-page .signup-sidebar,
  .signup-page .signup-sidebar,
  .forgot-wizard-page .signup-sidebar,
  .tfa-page .signup-sidebar {
    width: 100%;
    min-width: 0;
    padding: 18px 18px 16px;
  }

  .signin-page .signup-brand-text,
  .signup-page .signup-brand-text,
  .forgot-wizard-page .signup-brand-text,
  .tfa-page .signup-brand-text {
    font-size: 16px;
    letter-spacing: 0.06em;
  }

  .signin-page .signup-sidebar-intro,
  .signup-page .signup-sidebar-intro,
  .forgot-wizard-page .signup-sidebar-intro,
  .tfa-page .signup-sidebar-intro {
    margin-top: 10px;
  }

  .signin-page .signup-sidebar-intro p,
  .signup-page .signup-sidebar-intro p,
  .forgot-wizard-page .signup-sidebar-intro p,
  .tfa-page .signup-sidebar-intro p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .signin-page .signup-sidebar .progressbar,
  .signup-page .signup-sidebar .progressbar,
  .forgot-wizard-page .signup-sidebar .progressbar,
  .tfa-page .signup-sidebar .progressbar {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin: 16px 0 0;
    overflow: visible;
  }

  .signin-page .signup-sidebar .progressbar::before,
  .signup-page .signup-sidebar .progressbar::before,
  .forgot-wizard-page .signup-sidebar .progressbar::before,
  .tfa-page .signup-sidebar .progressbar::before {
    left: 18%;
    right: 18%;
    top: 15px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .signin-page .signup-sidebar .progressbar li,
  .signup-page .signup-sidebar .progressbar li,
  .forgot-wizard-page .signup-sidebar .progressbar li,
  .tfa-page .signup-sidebar .progressbar li {
    flex: 1 1 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px;
    margin-bottom: 0;
    text-align: center;
  }

  .signin-page .signup-sidebar .progressbar .progress-label,
  .signup-page .signup-sidebar .progressbar .progress-label,
  .forgot-wizard-page .signup-sidebar .progressbar .progress-label,
  .tfa-page .signup-sidebar .progressbar .progress-label {
    white-space: normal;
    text-align: center;
    font-size: 11px;
    line-height: 1.3;
  }

  .signin-page .signup-main,
  .signup-page .signup-main,
  .forgot-wizard-page .signup-main,
  .tfa-page .signup-main {
    padding: 20px 16px 22px;
  }

  .signin-page .signup-main-title,
  .signup-page .signup-main-title,
  .forgot-wizard-page .signup-main-title,
  .tfa-page .signup-main-title,
  #jsUserRegisterForm .signup-main-title {
    font-size: 22px !important;
    line-height: 1.25;
  }

  .signin-page .signup-main .form-control,
  .signup-page .signup-main .form-control,
  .forgot-wizard-page .signup-main .form-control,
  .tfa-page .signup-main .form-control,
  .signup-page .form-group .form-control,
  .signup-page .form-group select.form-control {
    height: 48px;
    font-size: 16px;
    padding: 10px 12px;
  }

  .signin-page .signup-main .btn-step,
  .signup-page .signup-main .btn-step,
  .forgot-wizard-page .signup-main .btn-step,
  .tfa-page .signup-main .btn-step {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    height: auto;
    padding: 12px 16px;
    justify-content: center;
  }

  .signin-page .step-actions,
  .signup-page .step-actions,
  .forgot-wizard-page .forgot-actions,
  .tfa-page .tfa-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .signin-page .step-actions .btn,
  .signup-page .step-actions .btn {
    width: 100%;
    flex: 1 1 auto;
  }

  .signin-page .legal-consent,
  .signup-page .legal-consent {
    font-size: 13px;
    padding: 12px;
  }

  .signin-page .legal-footer,
  .signup-page .legal-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 2px;
  }
}

@media (max-width: 480px) {
  .signin-page .signup-sidebar-intro p,
  .signup-page .signup-sidebar-intro p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .signin-page .d-flex.justify-content-between.align-items-center {
    flex-wrap: wrap;
    gap: 10px;
  }
}

input#otpCode::placeholder {
  /* font-weight: 100; */
  color: #000;
  text-align: center;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
  border-color: red;
}

.form-signup-checkbox-custom {
  border-top: none;
  border-bottom: 1px solid #d9d9d9;
}

#jsNextStep4:disabled,
.modal-footer-button:disabled,
#jsInvite:disabled,
#jsInviteAll:disabled {
  background-color: #eee !important;
  color: #000;
}

#msform fieldset:not(:first-of-type) {
  display: none;
}

/* #msform fieldset:not(:nth-of-type(3)) {
    display: none;
  } */

.btn-step {
  width: 40%;
}

.ellipsis-txt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-step5 {
  width: 20%;
}

.btn-resendCode {
  border-bottom: 1px solid #305ed3;
  background: transparent;
}


.custom-modal {
  border-radius: 5px;
}

/* style scroll employee list */
.scroll-pane {
  max-height: 400px;
  margin-bottom: 30px;
  overflow-y: auto;
  overflow-x: hidden;
}

.scroll-pane::-webkit-scrollbar {
  width: 12px;
  background-color: #F5F5F5;
}

.scroll-pane::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: #555;
}

.scroll-pane::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #F5F5F5;
}

/* style column datatable */
.totalSent {
  color: limegreen;
}

.totalUnsent {
  color: red;
}

.check-connect-system .btn-reconnect-system {
  padding: 5px 11px 0px 11px;
}

.btn-sync-payroll {
  padding: 6px 11px 6px 11px;
}

/* custom button */
.check-connect-system .btn-outline-success:hover {
  background-color: transparent;
  cursor: auto;
  color: #07885b;
}

.btn-sync-payroll.disabled {
  cursor: auto;
}

.check-connect-system .btn-outline-secondary:hover .normal-circle:after {
  background-color: #fff;
}

/* custom circle */
.pulsating-circle,
.normal-circle,
.pulsating-circle-dis {
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 15px;
  height: 15px;
  margin-top: 10px;
}

.normal-circle:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #f80909;
  border-radius: 15px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.pulsating-circle:before {
  content: '';
  position: relative;
  display: block;
  width: 300%;
  height: 300%;
  box-sizing: border-box;
  margin-left: -100%;
  margin-top: -100%;
  border-radius: 45px;
  background-color: #28a745;
  -webkit-animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulsating-circle:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #28a745;
  border-radius: 15px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  -webkit-animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
  animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
}

.pulsating-circle-dis:before {
  content: '';
  position: relative;
  display: block;
  width: 300%;
  height: 300%;
  box-sizing: border-box;
  margin-left: -100%;
  margin-top: -100%;
  border-radius: 45px;
  background-color: #f80909;
  -webkit-animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulsating-circle-dis:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #f70404;
  border-radius: 15px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  -webkit-animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
  animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
}

@-webkit-keyframes pulse-ring {
  0% {
    -webkit-transform: scale(0.63);
    transform: scale(0.63);
  }

  80%,
  100% {
    opacity: 0;
  }
}

@keyframes pulse-ring {
  0% {
    -webkit-transform: scale(0.63);
    transform: scale(0.63);
  }

  80%,
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes pulse-dot {
  0% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }

  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  100% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
}

@keyframes pulse-dot {
  0% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }

  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  100% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
}

/* custom switch button status */
.switch {
  height: 24px;
  display: block;
  position: relative;
  cursor: pointer;
}

.switch input {
  display: none;
}

.switch input+span {
  padding-left: 50px;
  min-height: 24px;
  line-height: 24px;
  display: block;
  color: #99A3BA;
  position: relative;
  vertical-align: middle;
  white-space: nowrap;
  -webkit-transition: color .3s ease;
  transition: color .3s ease;
}

.switch input+span:before,
.switch input+span:after {
  content: '';
  display: block;
  position: absolute;
  border-radius: 12px;
}

.switch input+span:before {
  top: 0;
  left: 0;
  width: 42px;
  height: 24px;
  background: #E4ECFA;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.switch input+span:after {
  width: 18px;
  height: 18px;
  background: #fff;
  top: 3px;
  left: 3px;
  box-shadow: 0 1px 3px rgba(18, 22, 33, 0.1);
  -webkit-transition: all .45s ease;
  transition: all .45s ease;
}

.switch input+span em {
  width: 8px;
  height: 7px;
  background: #99A3BA;
  position: absolute;
  left: 8px;
  bottom: 7px;
  border-radius: 2px;
  display: block;
  z-index: 1;
  -webkit-transition: all .45s ease;
  transition: all .45s ease;
}

.switch input+span em:before {
  content: '';
  width: 2px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  margin: -1px 0 0 -1px;
}

.switch input+span em:after {
  content: '';
  display: block;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border: 1px solid #99A3BA;
  border-bottom: 0;
  width: 6px;
  height: 4px;
  left: 1px;
  bottom: 6px;
  position: absolute;
  z-index: 1;
  -webkit-transform-origin: 0 100%;
  transform-origin: 0 100%;
  -webkit-transition: all .45s ease;
  transition: all .45s ease;
  -webkit-transform: rotate(-35deg) translate(0, 1px);
  transform: rotate(-35deg) translate(0, 1px);
}

.switch input+span strong {
  font-weight: normal;
  position: relative;
  display: block;
  top: 1px;
}

.switch input+span strong:before,
.switch input+span strong:after {
  font-size: 14px;
  font-weight: 500;
  display: block;
  font-family: 'Mukta Malar', Arial;
  -webkit-backface-visibility: hidden;
}

.switch input+span strong:before {
  content: 'Inactive';
  -webkit-transition: all .3s ease .2s;
  transition: all .3s ease .2s;
}

.status-delete input+span strong:before {
  content: 'Deleted';
  -webkit-transition: all .3s ease .2s;
  transition: all .3s ease .2s;
  color: rgb(204, 0, 0);
}

.switch input+span strong:after {
  content: 'Active';
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: 0;
  top: 0;
  color: #5628EE;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  -webkit-transform: translate(2px, 0);
  transform: translate(2px, 0);
}

.switch input:checked+span:before {
  background: rgba(86, 40, 238, 0.35);
}

.switch input:checked+span:after {
  background: #fff;
  -webkit-transform: translate(18px, 0);
  transform: translate(18px, 0);
}

.switch input:checked+span em {
  -webkit-transform: translate(18px, 0);
  transform: translate(18px, 0);
  background: #5628EE;
}

.switch input:checked+span em:after {
  border-color: #5628EE;
  -webkit-transform: rotate(0deg) translate(0, 0);
  transform: rotate(0deg) translate(0, 0);
}

.switch input:checked+span strong:before {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  -webkit-transform: translate(-2px, 0);
  transform: translate(-2px, 0);
}

.switch input:checked+span strong:after {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  -webkit-transition: all .3s ease .2s;
  transition: all .3s ease .2s;
}

html {
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

*:before,
*:after {
  box-sizing: border-box;
}

td .switch {
  display: table;
  min-width: 118px;
}

td .dribbble {
  position: fixed;
  display: block;
  right: 20px;
  bottom: 20px;
}

td .dribbble img {
  display: block;
  height: 28px;
}

.btn-invite--custom {
  padding: 6px 16px;
  font-size: 15px;
  line-height: 23px;
}

.btn-close {
  border: 0;
  border-radius: 50%;
  color: #525151;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  height: 20px;
  line-height: 1;
  outline: none;
  padding: 0;
  position: absolute;
  right: 10px;
  text-align: center;
  top: 10px;
  transition: transform .2s ease-in-out, background-color .2s ease-in-out;
  width: 20px;
  z-index: 1;
}

.btn-close:hover {
  transform: scale(1.2);
}

.btn-timesheetRequest--custom {
  padding: 10px;
  font-size: 15px;
  line-height: 10px;
  position: relative;
}

.pull-left {
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid #ccc;
}

/* change width modal payperiod */
@media (min-width: 992px) {
  .modal-lg--width {
    max-width: 1000px;
  }
}

.filter-custom {
  width: 100%;
}

.dropdow-filter {
  width: 100%;
}

.dropdow-company {
  /* flex-grow: 3; */
}

.dropdow-period {
  /* flex-grow: 3; */
}

.dropdow-transaction select {
  /* flex-grow: 1; */
  width: 130px;
}

.txt-show-total {
  white-space: nowrap;
}

.unset-over-forlow {
  overflow: unset;
}

@media (max-width: 756px) {
  #jsFilter {
    min-width: 525px;
  }
}

.form-group .input-group {
  border-bottom: 1px solid #ccc;
}

.form-group .input-group-prepend {
  display: flex;
  align-items: center;
}

.form-group .input-email,
.form-group .input-password {
  border: none;
  background-color: #edf5fa;
}

.signup-block input,
.signup-block select {
  border-top: none;
  border-right: none;
  border-left: none;
  background-color: #edf5fa;
}

.nav-item--border-custom {
  border-right: solid 1px #ccc;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding: 0 40px;
  font-size: 16px;
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
  color: black !important;
}

.signup-block .form-control:focus {
  color: #495057;
  background-color: #edf5fa;
  border-color: #80bdff;
  outline: 0;
}

.icon-alert-circle {
  color: red;
}

.icon-check-circle {
  color: #28a744;
}

.navbar-light .navbar-toggler {
  border-color: #fff;
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
    height: 7vh;
  }
}

a.btn-mini i {
  font-size: 16px;
}

i.icofont-ui-block {
  position: absolute;
  color: #f90303;
  opacity: 0.7;
  font-size: 17px;
  right: 25px;
}

i.icon-block-custom {
  right: 10px;
}

.btn-timesheetRequest--custom i {
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -38%);
}


.bfh-selectbox .bfh-selectbox-toggle .selectbox-caret {
  margin-top: 2px !important;
}


/* custom chart */
.highcharts-figure,
.highcharts-data-table table {
  min-width: 360px;
  max-width: 800px;
  margin: 1em auto;
}

.highcharts-data-table table {
  font-family: Verdana, sans-serif;
  border-collapse: collapse;
  border: 1px solid #EBEBEB;
  margin: 10px auto;
  text-align: center;
  width: 100%;
  max-width: 500px;
}

.highcharts-data-table caption {
  padding: 1em 0;
  font-size: 1.2em;
  color: #555;
}

.highcharts-data-table th {
  font-weight: 600;
  padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
  padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
  background: #f8f8f8;
}

.highcharts-data-table tr:hover {
  background: #f1f7ff;
}

.highcharts-credits {
  display: none;
}

.unit-custom .col-md-3 {
  /* padding-left: 11px; */
}

.unit-custom .col-md-9 {
  padding-right: 0px;
}

.unit-custom .col-sm-1 {
  padding-left: 0px;
}

.unit-custom #selectedUnit {
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 2px;
  height: 32px;
}

.col-sm-1 #selectedUnit {
  height: 36px;
}

#jsModalAddNewGLAccount option:disabled {
  color: #fff;
  background-color: #ccc;
}

button.btn-info i.icofont-ui-block {
  font-size: 20px;
  right: 40px;
}

.btn:disabled,
.btn.disabled {
  cursor: not-allowed !important;
}

img#avatar {
  max-height: 320px;
}

#selectedCountryCode {
  height: calc(2.20rem);
}

.custom-mobile .col-md-4 {
  padding-left: 0;
}

/* Custom transaction page */
div.balance span {
  font-weight: bold;
  font-size: 18px
}

div.balance .bank-balance {
  padding-left: 15px;
  border-right-width: 0;
  border-left: 1px solid #d9d9d9;
}

div.document div.headings div div {
  width: 100%;
  margin-top: 5px;
  border-top: 1px solid #D6DADE;
  padding-top: 5px;
}

div.document div.headings .statement {
  font-size: 14px;
  padding-bottom: 5px;
}

div.document *,
div.balance label {
  /* margin: 0; */
  font-size: 12px;
}

.statement {
  width: 100%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.line .ok {
  width: 150px;
  height: 90px;
  position: relative;
}

div.document div.headings span {
  box-sizing: border-box;
  float: right;
  text-align: right;
  width: 100px;
  margin-right: 10px;
  padding-right: 20px;
}

.line .ok .xbtn {
  background: linear-gradient(#fff 0%, #eaf4ff 100%);
  border: 1px solid #b3ccea;
  border-radius: 3px;
  box-shadow: 0 1px 1px 0 rgb(0 0 0 / 10%);
  /* display: inline-block; */
  margin: 60px 0 0 20px;
  padding: 7px 10px;
  position: absolute;
  text-transform: uppercase;
  transition: all .05s linear;
  visibility: visible;
  height: auto;
}

.ok .xbtn {
  color: #028DDE !important;
  font-weight: bold;
}

.line .ok .xbtn:not(.disabled):hover {
  color: #0166a1;
  background: linear-gradient(#f7fbff 0%, #e0efff 100%);
  border-color: #8bb1df;
}

div.document .line {
  width: 100%;
  margin-bottom: 30px;
}

.line:not(.opened) {
  max-height: 150px;
}

div.document .line.opened {
  width: 930px;
  padding: 10px;
  border: 1px solid #c1c1c1;
  background: #E8F1FF;
  border-radius: 3px;
  box-shadow: 0px 1px 3px #ddd;
  -moz-border-radius: 3px;
  -moz-box-shadow: 0px 1px 3px #DDD;
  -xbtn-border-radius: 3px;
  -xbtn-box-shadow: 0px 1px 3px #DDD;
}

div.document .find-matching {
  background: #f8f8f8;
  border-bottom: 1px solid #D6DADE;
  border-left: 1px solid #D6DADE;
  border-right: 1px solid #D6DADE;
  border-radius: 2px;
  box-sizing: border-box;
  padding: 5px;
  width: 100%;
  z-index: 2;
}

div.document .statement-info .details-container {
  background: #f8f8f8;
  flex-grow: 1 !important;
  flex-shrink: 0 !important;
  width: 100%;
  border-bottom: 1px solid #D6DADE;
  border-left: 1px solid #D6DADE;
  border-right: 1px solid #D6DADE;
}

div.document .statement-info .details-left {
  border-top: 1px solid #D6DADE;
}

div.document .statement-info .details-container .details {
  flex: 2.2;
  flex-direction: column;
  line-height: 17px;
  position: relative;
  padding: 10px;
  z-index: 2;
}

.statement-info .details-container .amount {
  border-left: 1px solid #D6DADE;
  display: flex;
  flex: 1;
  flex-direction: column;
  font-size: 12px;
  font-weight: bold;
  line-height: 20px;
  padding: 5px 10px 15px 0;
  position: relative;
  text-align: right;
  width: 60px;
}

.no-float p {
  font-size: 18px;
  color: #93aac2;
}

.matched {
  border-color: #a7d35b;
  background-color: #a7d35b;
}

a.more {
  color: #657483 !important;
}

a.more:hover,
a.btn-cancel {
  cursor: pointer;
  text-decoration: underline !important;
}

.find .group {
  padding-top: 15px;
  border-top: 1px solid #bfd3f2;
  margin-bottom: 10px;
}

.find .group .line-border {
  border-top: 2px solid #333;
  padding: 5px 0;
  margin-top: 5px !important;
}

.find .group .double-border {
  border-top: 3px double #333;
  padding: 5px 0;
}

.double-border strong span.inverse {
  background-color: #333;
  color: #FFF;
  padding-left: 5px;
}

.double-border .selectedTotal {
  padding-right: 0;
}

.group .options dl.select {
  color: #048fc2;
  font-weight: 700;
  background: linear-gradient(#fff 0%, #eaf4ff 100%);
  border: 1px solid #b3ccea;
  border-radius: 3px;
  box-shadow: 0 1px 1px 0 rgb(0 0 0 / 10%);
  padding: 7px 10px;
  position: absolute;
  text-transform: uppercase;
  transition: all .05s linear;
  height: auto;
}

.group .options dl.select:hover {
  color: #005e7b;
  cursor: pointer;
}

.group .col-md-9,
.group .col-md-3 {
  padding-left: 0;
}

.line .closed {
  display: none;
}

.find .table-scroll-reponsive {
  width: 908px;
  border: 1px solid #CCC;
  height: 193px;
  overflow-y: scroll;
}

.find .group .pager {
  border: 1px solid #ccc;
  background-color: #F5F5F5;
}

.find .group .table {
  background-color: #fff;
}

.find .group .table td,
.find .group .table th {
  padding: 0.25rem;
}

.btn-back {
  font-size: 20px;
  margin-bottom: 10px;
}

#reconcileTable thead {
  display: none;
}

#reconcileTable tbody tr td {
  border: none;
  white-space: initial;
}

#payCycleTable thead {
  display: none;
}

#payCycleTable tbody tr td {
  border: none;
  white-space: initial;
}

img.logo-model {
  position: absolute;
  top: 5px;
  left: 10px;
  width: 80px;
}

.form-group-position {
  position: relative;
}

.form-group-position span.feather.icon-eye.toggle-password {
  color: #17a2b8;
  position: absolute;
  top: 40px;
  right: 10px;
}

.tr-height {
  height: 1px !important;
  padding-bottom: 0px !important;
}

#staffTable td {
  vertical-align: middle !important;
}

.btn-switch-small {
  appearance: none;
  height: 17px;
  width: 25px;
  background-color: #868e96;
  cursor: pointer;
  border-radius: 1em;
  position: relative;
  transition: background-color 0.3s ease;
}

.btn-switch-small::before {
  content: "";
  height: 100%;
  width: 60%;
  background-color: white;
  position: absolute;
  border-radius: 50%;
  border: #868e96 solid 0.2em;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.btn-switch-small.disabled {
  opacity: 0.6;
}

.btn-switch-small:checked {
  background-color: #0ac282;
}

.btn-switch-small:checked::before {
  border-color: #0ac282;
  transform: translateX(65%);
}

.detail-cancel {
  background-color: #e6e6e6;
  border-color: #e6e6e6;
}

.detail-save {
  background-color: #5A8DEE;
  border-color: #5A8DEE;
}

.editable-clear-x {
  background: url(../web-images/clear.png) center center no-repeat;
  display: block;
  width: 20px;
  height: 100%;
  opacity: 0.6;
  margin-right: 2px;
}

.editable-clear-x:hover {
  opacity: 1;
}

.input-withdrawal {
  width: 100px;
}

.text-wallet {
  width: 100%;
  padding-left: 5px;
}

/* .btn-danger:focus {
  background-color: #fe5d70;
} */

.radio-item {
  display: inline-block;
  position: relative;
}

.radio-item input[type='radio'] {
  display: none;
}

.radio-item label {
  color: #666;
  font-weight: normal;
}

.radio-item label:before {
  content: " ";
  display: inline-block;
  position: relative;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #6d6d6d;
  background-color: transparent;
}

.radio-item input[type=radio]:checked+label:after {
  border-radius: 50%;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 6px;
  left: 3px;
  content: " ";
  display: block;
}

.radio-item input[type=radio]:checked+label.blue:before {
  border: 1px solid #004c97;
}

.radio-item input[type=radio]:checked+label.green:before {
  border: 1px solid #018522;
}

.radio-item input[type=radio]:checked+label.blue:after {
  background: #004c97;
}

.radio-item input[type=radio]:checked+label.green:after {
  background: #018522;
}

.text-color-red {
  font-size: 16px !important;
  font-weight: 600;
  background-color: #fff;
  color: #ec4004;
  border: 1px solid #ec4004;
  cursor: default;
}

.text-color-green {
  font-size: 16px !important;
  background-color: #fff;
  font-weight: 600;
  color: #26e000;
  border: 1px solid #26e000;
  cursor: default;
}

.text-color-yellow {
  font-size: 16px !important;
  background-color: #fff;
  font-weight: 600;
  color: #FFD700;
  border: 1px solid #FFD700;
  cursor: default;
}

.text-border {
  border: 1px solid #d8d8d8;
  border-radius: 3px;
}

.text-u-border {
  transform: translateY(-12px);
  background-color: #fff;
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
}

/* input email */

.emailsEditor {
  background: #ffffff;
  border: 1px solid #c3c2cf;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  height: inherit;
  max-height: inherit;
  padding: 0px !important;
}

.emailsEditor__input {
  border: none;
  outline: none;
  max-height: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  align-self: stretch;
  flex-grow: 1;
  font-size: 14px;
  padding: 0 !important;
  margin-top: 1px;
}

.emailsEditor__input::placeholder {
  color: #c3c2cf;
}

.emailsEditor__list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  min-height: 27px;
  padding: 10px;
  overflow-x: auto;
}

.emailsEditor__email {
  color: #050038;
  padding: 2px 10px;
  cursor: pointer;
  display: flex;
  letter-spacing: .3px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #5f6368;
  font-weight: 500;
  padding-left: 8px;
  padding-right: 4px;
  margin: 2px 0;
  margin-right: 0.33333333em;
  border-radius: 10px;
}

.emailsEditor__email--tag {
  background-color: #fff;
  border: 1px solid #dadce0;
}

.emailsEditor__email--error {
  background-color:  #e70000;
  color: #fff;
}

.emailsEditor__delete-button {
  height: 16px;
  opacity: 0.54;
  width: 16px;
  background-image: url(https://www.gstatic.com/images/icons/material/system/1x/close_black_16dp.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px;
  margin-left: 4px;
  cursor: pointer;
}

.emailsEditor__email--error .emailsEditor__delete-button {
  background-image: url(https://www.gstatic.com/images/icons/material/system/1x/close_white_16dp.png);
}

.emailsEditor__delete-button:hover {
  opacity: 1;
}

.log-err {
  color: #e70000;
}

#email-list {
  overflow: hidden;
  text-overflow: ellipsis; 
  white-space: nowrap;
  font-weight: 500;
  height: 35px;
  cursor: text;
}

.disabled {
  cursor: not-allowed;
  background-color: #e9ecef;
}

.astute-logo {
  height: 40px;
  margin-bottom: 15px;
  margin-top: 20px;
}

.astute-logo img {
  height: 100%;
}

.hr3-logo {
  height: 50px;
  margin-bottom: 15px;
  margin-top: 20px;
}

.hr3-logo img {
  height: 100%;
}