input {
  font-weight: bold;
  color: #000000 !important;
}

body {
  background-color: #ffffff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#globalScrollTopBtn {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.92);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  z-index: 1045;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

#globalScrollTopBtn i {
  font-size: 1rem;
  line-height: 1;
}

#globalScrollTopBtn::after,
#globalScrollTopBtn::before {
  position: absolute;
  left: 50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

#globalScrollTopBtn::after {
  content: attr(data-tooltip);
  bottom: calc(100% + 0.7rem);
  transform: translate(-50%, 8px);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
}

#globalScrollTopBtn::before {
  content: "";
  bottom: calc(100% + 0.35rem);
  transform: translate(-50%, 8px);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(15, 23, 42, 0.94);
}

#globalScrollTopBtn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

#globalScrollTopBtn:hover::after,
#globalScrollTopBtn:hover::before,
#globalScrollTopBtn:focus-visible::after,
#globalScrollTopBtn:focus-visible::before,
#globalScrollTopBtn:active::after,
#globalScrollTopBtn:active::before {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

#globalScrollTopBtn:hover {
  background: #0b5ed7;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.28);
}

#globalScrollTopBtn:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.35);
  outline-offset: 3px;
  background: #0b5ed7;
}

#globalScrollTopBtn[hidden] {
  display: none !important;
}

body.has-mobile-floating-add-btn #globalScrollTopBtn,
body.has-mobile-sticky-form-actions #globalScrollTopBtn {
  bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
  #globalScrollTopBtn {
    left: 50%;
    right: auto;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    width: 2.75rem;
    height: 2.75rem;
    transform: translate(-50%, 12px);
  }

  #globalScrollTopBtn.is-visible {
    transform: translate(-50%, 0);
  }

  #globalScrollTopBtn::after {
    bottom: calc(100% + 0.6rem);
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
  }

  #globalScrollTopBtn::before {
    bottom: calc(100% + 0.3rem);
  }
}

.e-invoicing-status-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  border: 2px solid #0d6efd;
  border-radius: 0.2rem;
  background-color: #fff;
  opacity: 1 !important;
  vertical-align: middle;
  position: relative;
  cursor: default;
}

.e-invoicing-status-checkbox:checked {
  border-color: #0d6efd;
  background-color: #0d6efd;
}

.e-invoicing-status-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 0.26rem;
  top: 0.08rem;
  width: 0.32rem;
  height: 0.62rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (hover: none), (pointer: coarse) {
  #globalScrollTopBtn.is-visible::after,
  #globalScrollTopBtn.is-visible::before {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

body.customer-tag-modal-open {
  padding-right: 0 !important;
}

label,
h3 {
  color: #000000 !important;
}

h2,
a {
  color: #000000;
}

h7 {
  color: #808080 !important;
}

@media (max-width: 320px) {
  .container {
    width: 95%;
    margin: auto;
  }
}

/* .tableWidthFix {
    width:100%;
} */

table {
  /* table-layout: fixed; */
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 280px;
  /* word-wrap: break-word; */
}

.table-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.table-scroll-wrap table {
  min-width: 680px;
}

.mobile-scroll-wrap {
  overflow-x: visible;
  -webkit-overflow-scrolling: auto;
  touch-action: auto;
}

.mobile-scroll-wrap table {
  min-width: 0;
}

@media screen and (max-width: 768px) {
  .mobile-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .mobile-scroll-wrap table {
    min-width: 680px;
  }
}

@media (width < 768px) {
  /* padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    white-space: inherit;
    word-break: break-all; */

  /* @media (max-width: 768px) {
        table th, table td {
            min-width: 100px;
            width: 10px;
        }
    } */
}

.pre-load-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 95vh;
  margin: 0;
  background-color: #f3f3f3;
  color: #333;
  overflow-y: hidden;
}

.preloader {
  width: 50px;
  height: 50px;
  border: 5px solid #333;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

.page-load-cover {
  display: none;
}

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

#dispTable table th:first-child + th {
  min-width: 1vw;
}

/* ipad_mini_width */
@media screen and (max-width: 800px) {
  #dispTable table th,
  #dispTable table td {
    min-width: 20vw;
  }
}

/* smartphone_standard_width */
@media screen and (max-width: 375px) {
  #dispTable table th,
  #dispTable table td {
    min-width: 25vw;
  }
}

/* mobile_view_minimum_width */
@media screen and (max-width: 280px) {
  #dispTable table th,
  #dispTable table td {
    min-width: 30vw;
  }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

input {
  line-height: 30px !important;
}

/*------------------------------------------------------
# Menu Header               
------------------------------------------------------*/
.topNav {
  color: #ffffff;
  z-index: 99;
  height: 50px;
}

.logo_section {
  /* border: 1px solid black; */
  text-align: center;
  display: flex;
  justify-content: center;
}

#logo {
  /* margin: -2.5px 30px -2.5px 30px; */
  width: 1.5rem;
  /* border: 1px dotted red; */
}

.dropdown-divider {
  border-color: #e7e7e7;
}

.dropdown-menu-right {
  right: 0 !important;
  left: auto !important;
}

.dropdown-menu-center {
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, 0) !important;
}

.dropdown a {
  font-size: 12px;
  font-weight: 500;
}

#language_name {
  font-size: 12px;
}

/* .menuheader-text {
    font-weight: 500;
} */

#accpfp {
  height: 25px;
  width: 25px;
  margin-right: 3px;
}

.fa-bars,
.fa-ellipsis-vertical {
  color: #ffffff !important;
  font-size: 20px;
}

.badge-color {
  background-color: #7460ee !important;
}

/*------------------------------------------------------
# Menu Bar
------------------------------------------------------*/
@media (max-width: 768px) {
  .menuBar {
    display: none !important;
  }

  .topNav.navbar-expand-md .navbar-toggler {
    display: block;
    width: 50px;
    height: 50px;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    color: #aeb7c2;
    background-color: transparent;
    box-shadow: none;
  }

  .topNav.navbar-expand-md .navbar-toggler:hover,
  .topNav.navbar-expand-md .navbar-toggler:focus,
  .topNav.navbar-expand-md .navbar-toggler:active {
    color: #aeb7c2;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  .topNav.navbar-expand-md .navbar-toggler .fa-bars {
    color: inherit !important;
  }

    .topNav.navbar-expand-md .navbar-toggler .dropdown {
    width: 100%;
    height: 100%;
  }

  .topNav.navbar-expand-md .navbar-toggler .dropdown > .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    color: inherit;
  }
  
  .topNav.navbar-expand-md #navbarSupportedContent {
    display: none !important;
  }
}

@media (width > 768px) {
  .sidebar-nav {
    display: none !important;
  }

  body {
    background-color: #ffffff !important;
  }
}

.menuBar {
  background-color: #34444c !important;
  color: #aeb7c2;
  z-index: 98;

  .dropdown-menu > li:first-child,
  .dropdown-menu > li:first-child .dropdown-item,
  .dropdown-menu > li:last-child,
  .dropdown-menu > li:last-child .dropdown-item {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .dropdown-menu {
    margin-top: -16px;
    text-transform: none;
    border-radius: 0;
  }

  .nav-link {
    padding: 16px 2px 16px 10px;
    /* padding: 16px 15px 16px 16px; */
    text-transform: none;
    display: flex;
    align-items: center;
  }

  .nav-link > span {
    margin-left: 5px;
    margin-right: 5px;
  }

  .nav-link,
  .dropdown-item {
    color: #aeb7c2;
  }

  .mdi {
    font-size: 20px !important;
  }
}

.menuBar > .container-fluid {
  display: flex;
  align-items: flex-start;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.menuBar > .container-fluid > .nav.nav-tabs {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  row-gap: 0;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.menuBar > .container-fluid > .nav.nav-tabs > .nav-item {
  flex: 0 0 auto;
}

.menuBar > .container-fluid > .nav.nav-tabs > .task-top-menu-trigger-item {
  flex: 0 0 52px;
}

.menuBar > .container-fluid > .nav.nav-tabs .nav-link {
  white-space: nowrap;
}

.menuBar > .container-fluid > .nav.nav-tabs .task-top-menu-trigger {
  width: 100%;
  justify-content: center;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 15px;
}

.dropdown-menu .dropdown-submenu-left {
  right: 100%;
  left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
  display: block;
}

.sidebar-nav {
  background-color: #34444c !important;
  color: #aeb7c2;

  display: block;
  float: left;
  min-width: 200px;
  width: fit-content !important;
  /* height: calc(100vh - 50px) !important;  50px = menuHeader height
    max-height: 100%; */
  top: 50px;
  /* 50px = menuHeader height */
  bottom: 0;
  margin: 0;
  padding: 0;
  position: fixed;
  overflow-y: scroll;

  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;

  .container-fluid {
    padding: 0;
  }

  .nav {
    display: flex;
    flex-direction: column;
  }

  .nav-link {
    padding: 16px 15px 16px 15px;
    color: #aeb7c2;
    text-transform: none;
    display: flex;
    align-items: center;
  }

  .nav-link > span {
    margin-left: 10px;
    margin-right: 10px;
  }

  .nav-link > i {
    font-size: 20px;
  }

  .collapse-menu {
    background-color: #5d7b8a !important;
  }

  .collapse-menu > li > .nav-link {
    background-color: #5d7b8a !important;
  }

  .collapse-menu .collapse-menu {
    background-color: #476674 !important;
  }

  .collapse-menu .collapse-menu > li > .nav-link {
    background-color: #476674 !important;
  }

  .collapse-menu .collapse-menu .collapse-menu {
    background-color: #35505d !important;
  }

  .collapse-menu .collapse-menu .collapse-menu > li > .nav-link {
    background-color: #35505d !important;
  }
}

.close {
  transform: translate3d(-300px, 0, 0);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

#sidebar {
  margin-left: -100%;
  height: 0px;
  overflow: auto;
  z-index: 1;
}

#sidebar.active {
  margin-left: 0;
  height: auto;
}

.filter_screen {
  background-color: rgba(0, 0, 0, 0.2) !important;
  display: block;
  width: 100% !important;
  top: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
  position: fixed;
}

@media (max-width: 768px) {
  #sidebar {
    top: var(--mobile-sidebar-top, 50px);
    bottom: auto;
    height: 0;
    max-height: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #sidebar.active {
    z-index: 1057;
    height: var(--mobile-sidebar-height, calc(100vh - var(--mobile-sidebar-top, 50px)));
    max-height: var(--mobile-sidebar-height, calc(100vh - var(--mobile-sidebar-top, 50px)));
    overflow-y: auto;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  }

  .filter_screen {
    top: var(--mobile-sidebar-top, 50px);
    bottom: auto;
    height: var(--mobile-sidebar-height, calc(100vh - var(--mobile-sidebar-top, 50px)));
    z-index: 1056;
  }

  body.mobile-sidebar-open {
    overflow: hidden;
  }

  body.mobile-sidebar-open .mobile-floating-action-bar,
  body.mobile-sidebar-open .mobile-sticky-form-actions {
    display: none !important;
  }
}

.task-global-sidebar {
  position: fixed;
  top: 92px;
  left: 0;
  bottom: 0;
  width: var(--task-global-sidebar-width, 220px);
  background-color: #34444c;
  color: #aeb7c2;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 97;
  overflow-y: auto;
}

.task-global-sidebar-inner {
  padding: 12px 0;
}

.task-global-sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.task-global-sidebar-links li a {
  display: block;
  color: #aeb7c2;
  text-decoration: none;
  padding: 10px 16px;
  font-size: 14px;
}

.task-global-sidebar-links li a:hover {
  background-color: #415761;
  color: #ffffff;
}

body.task-global-sidebar-open .task-global-sidebar {
  transform: translateX(0);
}

body.task-global-sidebar-open {
  overflow-x: hidden;
}

body.task-global-sidebar-open .menuBar > .container-fluid {
  padding-left: 0;
}

body.task-global-sidebar-open .menuBar > .container-fluid > .nav.nav-tabs {
  transform: none;
  padding-left: var(--task-global-sidebar-width, 220px);
  transition: padding-left 0.25s ease;
}

body.task-global-sidebar-open
  .menuBar
  > .container-fluid
  > .nav.nav-tabs
  > li:first-child {
  transform: none;
}

body.task-global-sidebar-open #dispTable {
  padding-left: var(--task-global-sidebar-width, 220px);
  transition: padding-left 0.25s ease;
}

@media (max-width: 768px) {
  .task-global-sidebar {
    display: none;
  }

  body.task-global-sidebar-open .menuBar > .container-fluid {
    padding-left: 0;
  }

  body.task-global-sidebar-open .menuBar > .container-fluid > .nav.nav-tabs {
    padding-left: 0;
  }

  body.task-global-sidebar-open .menuBar > .container-fluid > .nav.nav-tabs,
  body.task-global-sidebar-open
    .menuBar
    > .container-fluid
    > .nav.nav-tabs
    > li:first-child {
    transform: none;
  }

  body.task-global-sidebar-open #dispTable {
    padding-left: 0;
  }
}

/*---------------------------------------------------------
# login Page / forgotPassword Page / changePassword Page              
---------------------------------------------------------*/
.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  /* Safari */
  animation: spin 2s linear infinite;
}

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

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

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

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

#logo_element {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.login-title,
.forgotpass-title {
  text-align: center;
}

.login-title h3,
.forgotpass-title h3 {
  margin-top: 40px;
}

#loginForm,
#forgotpassForm,
#resetPasswordForm {
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0px 0px 1px 1px #e4e6e6;
}

#resetPasswordForm {
  border: 1px solid #e4e6e6;
  box-shadow: none;
}

#login_btn,
#resetpass_btn {
  height: 50px;
  margin-bottom: 40px;
}

#back_btn {
  background-image: linear-gradient(to right, #c4c4c4 0%, #8b898a 100%);
  color: #ffffff !important;
  height: 50px;
  margin-bottom: 40px;
}

#email-addr_lbl,
#password_lbl,
#oldpass_lbl,
#newpass_lbl,
#confirmpass_lbl {
  font-weight: 500;
}

#email-addr_error,
#password_error,
#err_msg {
  color: #ff0000;
}

/*---------------------------------------------------------
# Common
---------------------------------------------------------*/
.formWidthAdjust {
  width: 95%;
  margin: auto;
}

@media (max-width: 767px) {
  /* Cancel the preview wrapper's extra mobile padding while keeping form gutters aligned. */
  #sor_airbill_attachment_preview_wrap {
    width: calc(100% + 3rem) !important;
    max-width: none !important;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }

  #sor_airbill_attachment_preview_wrap img,
  #sor_airbill_attachment_preview_wrap iframe {
    display: block;
  }
}

.hideColumn {
  display: none;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.roundedSelectionBtn {
  border-radius: 10px;
  border: 1px solid #a5a5a5;
}

#addBtn {
  box-shadow: 0 0 !important;
  font-size: 12px;
  text-transform: none !important;
}

.uniform-header-btn {
  font-size: 18px;
  width: 180px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-transform: none !important;
  box-shadow: none !important;
}

.uniform-header-btn:hover,
.uniform-header-btn:focus,
.uniform-header-btn:active {
  box-shadow: none !important;
}

#action_menu {
  color: #000000 !important;
}

#action_menu_btn {
  border: 0px;
  background-color: transparent;
  width: 60px;
}

#action_col {
  max-width: 100px !important;
  text-align: center !important;
}

#actionBtn,
#backBtn {
  box-shadow: 0 0 !important;
  font-weight: bold;
  font-size: 18px;
  text-transform: none !important;
  /* white-space: nowrap; */
  /* prevent word wrap on button */
}

/* to fixed dropdown inside responsive table issue */
.table-responsive {
  -webkit-overflow-scrolling: auto !important;
  /* fix for safari */
}

.table-responsive .dropdown,
.table-responsive .btn-group,
.table-responsive .btn-group-vertical {
  position: static !important;
}


#shopee_ads_topup_trans_table_wrapper table.dataTable {
  width: auto !important;
  min-width: calc(100% - 1.5rem) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* search */
.clear {
  clear: both;
  margin-top: 0;
}

.autocomplete {
  position: relative;
}

.autocomplete .searchResult {
  list-style: none;
  padding: 0px;
  width: 100%;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  margin: 0;
  background: white;
  border: 1px solid #000000;
  border-radius: 4px;
  z-index: 99;
  box-sizing: border-box;
}

.autocomplete .searchResult li {
  background: #f2f3f4;
  padding: 4px;
  margin-bottom: 1px;
  word-wrap: break-word;
}

.autocomplete .searchResult li:nth-child(even) {
  background: #e5e7e9;
  color: black;
}

.autocomplete .searchResult li:hover {
  cursor: pointer;
  background: #cacfd2;
}

.input-group.sor-pkg-row,
.input-group.sor-brand-row {
  border: none !important;
  box-shadow: none !important;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 8px;
  position: relative;
  overflow: visible;
}

.sor-pkg-row > .sor-pkg-input,
.sor-brand-row > .sor-brand-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid #ced4da;
  border-radius: 0.25rem !important;
}

.sor-pkg-row > .sor-remove-row-btn,
.sor-brand-row > .sor-remove-row-btn {
  flex: 0 0 auto;
  border-radius: 0 !important;
}

.sor-pkg-row > .searchResult,
.sor-brand-row > .searchResult {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  margin: 0;
  z-index: 1200;
}

.sor-pkg-row > .searchResult li,
.sor-brand-row > .searchResult li {
  white-space: normal;
  word-break: break-word;
}

.readonlyInput {
  background-color: #e0e0e0 !important;
  opacity: 0.8;
}

#backBtn {
  background-color: #888888;
  box-shadow: 0 0 !important;
  font-weight: bold;
  font-size: 18px;
  text-transform: none !important;
}

.warning_input {
  border-color: #ff0000 !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 0, 129, 0.25) !important;
}

.form_lbl {
  font-weight: 500;
}

#pin_name_lbl,
#pin_remark_lbl,
#pin_grp_name_lbl,
#pin_grp_remark_lbl,
#pin_lbl,
#user_grp_name_lbl,
#user_grp_remark_lbl,
#permission_table_lbl,
#desig_name_lbl,
#desig_remark_lbl,
#dept_name_lbl,
#dept_remark_lbl,
#holiday_name_lbl,
#holiday_date_lbl,
#brand_name_lbl,
#brand_remark_lbl,
#pltf_name_lbl,
#pltf_remark_lbl,
#prod_status_name_lbl,
#prod_status_remark_lbl,
#warehouse_name_lbl,
#warehouse_remark_lbl,
#mrtl_name_lbl,
#mrtl_remark_lbl,
#bank_name_lbl,
#bank_remark_lbl,
#em_type_status_name_lbl,
#em_type_status_remark_lbl {
  font-weight: 500;
}

.table-responsive .dataTables_length {
  padding-bottom: 10px;
}

.error-message {
  color: red !important;
}

.requiredRed {
  color: red !important;
}

@media (max-width: 575.98px) {
  .invoice-edit .invoice-preview-card .invoice-calculations,
  .invoice-add .invoice-preview-card .invoice-calculations {
    width: 100%;
  }
}

.invoice-edit .invoice-preview-card .repeater-wrapper:not(:last-child),
.invoice-add .invoice-preview-card .repeater-wrapper:not(:last-child) {
  margin-bottom: 1.5rem;
}

#row-password-input i {
  position: absolute;
}

.hide_icon {
  padding: 10px;
  min-width: 40px;
}

.icon-buttons {
  width: 80px;
  height: 80px;
}
.bg-label-success {
  background-color: #9ff3c2 !important;
  color: #28c76f !important;
}
.bg-label-info {
  background-color: #a8ecf5 !important;
  color: #00cfe8 !important;
}
.bg-label-warning {
  background-color: #ffd1a3 !important;
  color: #ff9f43 !important;
}
.bg-label-danger {
  background-color: #f18e93 !important;
  color: #ea5455 !important;
}
/*date picker*/
.date-separator {
  padding: 4px 5px;
}

.input-group {
  padding: 1px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;

  border: 1px solid #a7a6a6;
  border-radius: 0.25rem;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.input-group > input {
  border: none;
}

.input-group > input:focus {
  border: none;
  outline: none;
}

#resetButton {
  font-size: 16px;
  margin: 35px 0px;
}

.order_status {
  float: right;
  font-size: 28px;
}

.fa-cog-hover:hover {
  cursor: pointer;
}

.btn {
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  margin: 3px;
}
.btn-container {
  white-space: nowrap;
}

.campaign-action-btns {
  min-width: 310px;
  white-space: nowrap;
}

.order-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.order-title-row h2 {
  margin: 0;
}

.order-badge-row {
  width: 100%;
}

.mobile-action-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
}

.mobile-action-trigger {
  border: 1px solid #0d6efd;
  background: #0d6efd;
  color: #ffffff;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
  pointer-events: auto;
}

.mobile-action-trigger:hover,
.mobile-action-trigger.is-hover {
  background: #0b5ed7 !important;
  color: #ffffff !important;
  border-color: #0b5ed7 !important;
  transform: translateY(-1px);
  box-shadow: 0 0 0 0.18rem rgba(13, 110, 253, 0.25);
  outline: 2px solid rgba(11, 94, 215, 0.35);
}

.mobile-action-trigger:active,
.mobile-action-trigger:focus-visible,
td.btn-container.mobile-action-open .mobile-action-trigger {
  background: #0d6efd;
  color: #ffffff;
  box-shadow: 0 0 0 0.18rem rgba(13, 110, 253, 0.2);
}

.mobile-action-menu {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  min-width: 160px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  z-index: 999;
  overflow: hidden;
  pointer-events: auto;
}

td.btn-container.mobile-action-open .mobile-action-menu {
  display: block;
}

td.btn-container.mobile-action-open-right .mobile-action-menu {
  left: calc(100% + 8px);
  right: auto;
}

td.btn-container.mobile-action-open-left .mobile-action-menu {
  right: calc(100% + 8px);
  left: auto;
}

.mobile-action-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
  cursor: pointer;
  pointer-events: auto;
}

.mobile-action-item--view {
  color: #0d6efd;
}

.mobile-action-item--edit {
  color: #f59e0b;
}

.mobile-action-item--delete {
  color: #dc3545;
}

.mobile-action-item--member {
  color: #198754;
}

.mobile-action-menu .mobile-action-item:hover,
.mobile-action-menu a.mobile-action-item:hover,
.mobile-action-menu button.mobile-action-item:hover,
.mobile-action-item.is-hover {
  background: #0b5ed7 !important;
  color: #ffffff !important;
  outline: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 3px 0 0 #ffffff;
}

.mobile-action-menu .mobile-action-item--view:hover,
.mobile-action-menu a.mobile-action-item--view:hover,
.mobile-action-menu button.mobile-action-item--view:hover,
.mobile-action-item--view.is-hover {
  color: #ffffff !important;
}

.mobile-action-menu .mobile-action-item--edit:hover,
.mobile-action-menu a.mobile-action-item--edit:hover,
.mobile-action-menu button.mobile-action-item--edit:hover,
.mobile-action-item--edit.is-hover {
  color: #ffffff !important;
}

.mobile-action-menu .mobile-action-item--delete:hover,
.mobile-action-menu a.mobile-action-item--delete:hover,
.mobile-action-menu button.mobile-action-item--delete:hover,
.mobile-action-item--delete.is-hover {
  color: #ffffff !important;
}

.mobile-action-menu .mobile-action-item--member:hover,
.mobile-action-menu a.mobile-action-item--member:hover,
.mobile-action-menu button.mobile-action-item--member:hover,
.mobile-action-item--member.is-hover {
  color: #ffffff !important;
}

.mobile-action-item:active,
.mobile-action-item:focus,
.mobile-action-item:focus-visible {
  background: #dbeafe !important;
  color: #111827 !important;
}

.mobile-action-menu .mobile-action-item:hover i,
.mobile-action-menu a.mobile-action-item:hover i,
.mobile-action-menu button.mobile-action-item:hover i,
.mobile-action-item:active i,
.mobile-action-item:focus i,
.mobile-action-item:focus-visible i {
  color: inherit !important;
}

.mobile-action-item i {
  width: 14px;
  text-align: center;
}

.track-order-btn {
  font-size: 20px;
  font-weight: bold;
  padding: 10px 20px;
  margin-top: 20px;
  background-color: rgb(0, 153, 122);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.track-order-btn:hover {
  background-color: rgb(0, 153, 122);
  text-decoration: none;
  color: white;
}

.autocomplete .searchResult {
  max-height: 200px; /* Set the max height for the dropdown */
  overflow-y: auto; /* Enable vertical scrolling */
}

@media (max-width: 768px) {
  body.has-mobile-floating-add-btn .page-load-cover,
  body.has-mobile-sticky-form-actions .page-load-cover {
    padding-bottom: calc(168px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-floating-source-btn {
    display: none !important;
  }

  .mobile-floating-action-bar,
  .mobile-sticky-form-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1055;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(10px);
  }

.mobile-floating-action-bar .btn,
.mobile-sticky-form-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: calc(50% - 5px);
  margin: 0 !important;
  width: auto !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  line-height: 1.2 !important;
  min-height: 42px;
  padding: 6px 10px !important;
}

@media (max-width: 430px) {
  .mobile-sticky-form-actions .btn {
    font-size: 14px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

  .mobile-floating-action-bar--single .btn {
    flex: 0 0 auto !important;
    min-width: 100%;
    max-width: none;
    width: auto !important;
    flex-basis: auto;
    white-space: nowrap !important;
  }

  .mobile-sticky-form-actions .btn {
    flex-wrap: nowrap;
  }

  .mobile-sticky-form-actions .cancel,
  .mobile-sticky-form-actions .backBtn,
  .mobile-sticky-form-actions .btn[name='actionBtn'][value='back'] {
    order: 1;
  }

  .mobile-sticky-form-actions .submitBtn,
  .mobile-sticky-form-actions .btn[name='actionBtn']:not([value='back']) {
    order: 2;
  }
}

@media (max-width: 768px) {
  .mobile-sticky-form-actions #backBtn,
  .mobile-sticky-form-actions .backBtn,
  .mobile-sticky-form-actions .cancel,
  .mobile-sticky-form-actions .btn[value='back'],
  .mobile-sticky-form-actions .btn[name='actionBtn'][value='back'] {
    order: 1 !important;
  }

  .mobile-sticky-form-actions #actionBtn:not([value='back']),
  .mobile-sticky-form-actions .submitBtn:not(#backBtn),
  .mobile-sticky-form-actions .btn[name='actionBtn']:not([value='back']) {
    order: 2 !important;
  }
}

@media (max-width: 360px) {
  .mobile-sticky-form-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-sticky-form-actions .submitBtn,
  .mobile-sticky-form-actions #actionBtn:not([value='back']),
  .mobile-sticky-form-actions .btn[name='actionBtn']:not([value='back']) {
    order: 1 !important;
  }

  .mobile-sticky-form-actions .cancel,
  .mobile-sticky-form-actions #backBtn,
  .mobile-sticky-form-actions .backBtn,
  .mobile-sticky-form-actions .btn[value='back'],
  .mobile-sticky-form-actions .btn[name='actionBtn'][value='back'] {
    order: 2 !important;
  }

  .mobile-sticky-form-actions .btn {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 6px 14px !important;
    border-radius: 22px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    flex: 0 0 42px !important;
  }
}

@media (min-width: 769px) {
  .mobile-floating-action-bar {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .mobile-sticky-form-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .mobile-sticky-form-actions #actionBtn:not([value='back']),
  .mobile-sticky-form-actions .submitBtn,
  .mobile-sticky-form-actions .btn[name='actionBtn']:not([value='back']) {
    order: 1 !important;
  }

  .mobile-sticky-form-actions #backBtn,
  .mobile-sticky-form-actions .backBtn,
  .mobile-sticky-form-actions .cancel,
  .mobile-sticky-form-actions .btn[value='back'],
  .mobile-sticky-form-actions .btn[name='actionBtn'][value='back'] {
    order: 2 !important;
  }

  .mobile-sticky-form-actions .btn {
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }
}

@media (max-width: 768px) {
  body.has-mobile-sticky-form-actions .page-load-cover {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-sticky-form-actions {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1055 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.16) !important;
  }

  .mobile-sticky-form-actions .btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: calc(50% - 5px) !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border-radius: 22px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .mobile-sticky-form-actions #actionBtn:not([value='back']),
  .mobile-sticky-form-actions .submitBtn,
  .mobile-sticky-form-actions .btn[name='actionBtn']:not([value='back']) {
    order: 1 !important;
  }

  .mobile-sticky-form-actions #backBtn,
  .mobile-sticky-form-actions .backBtn,
  .mobile-sticky-form-actions .cancel,
  .mobile-sticky-form-actions .btn[value='back'],
  .mobile-sticky-form-actions .btn[name='actionBtn'][value='back'] {
    order: 2 !important;
  }
}

@media (max-width: 575.98px) {
  body.has-mobile-sticky-form-actions .page-load-cover {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-sticky-form-actions {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1055 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.16) !important;
  }

  .mobile-sticky-form-actions #backBtn,
  .mobile-sticky-form-actions .backBtn,
  .mobile-sticky-form-actions .cancel,
  .mobile-sticky-form-actions .btn[value='back'],
  .mobile-sticky-form-actions .btn[name='actionBtn'][value='back'] {
    order: 1 !important;
  }

  .mobile-sticky-form-actions #actionBtn:not([value='back']),
  .mobile-sticky-form-actions .submitBtn,
  .mobile-sticky-form-actions .btn[name='actionBtn']:not([value='back']) {
    order: 2 !important;
  }

  .mobile-sticky-form-actions .btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: calc(50% - 5px) !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border-radius: 22px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (min-width: 576px) and (max-width: 768px) {
  .mobile-sticky-form-actions #backBtn,
  .mobile-sticky-form-actions .backBtn,
  .mobile-sticky-form-actions .cancel,
  .mobile-sticky-form-actions .btn[value='back'],
  .mobile-sticky-form-actions .btn[name='actionBtn'][value='back'] {
    order: 1 !important;
  }

  .mobile-sticky-form-actions #actionBtn:not([value='back']),
  .mobile-sticky-form-actions .submitBtn,
  .mobile-sticky-form-actions .btn[name='actionBtn']:not([value='back']) {
    order: 2 !important;
  }
}

@media (min-width: 769px) {
  .mobile-sticky-form-actions {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  body.has-mobile-sticky-form-actions .page-load-cover {
    padding-bottom: 0 !important;
  }

  .mobile-sticky-form-actions .btn {
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }
}

@media (min-width: 769px) {
  body.has-mobile-sticky-form-actions .page-load-cover {
    padding-bottom: 0 !important;
  }

  .mobile-sticky-form-actions {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .mobile-sticky-form-actions .btn {
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
  }
}

@media (max-width: 320px) {
  body.has-mobile-sticky-form-actions .page-load-cover {
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-sticky-form-actions {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .mobile-sticky-form-actions #actionBtn:not([value='back']),
  .mobile-sticky-form-actions .submitBtn,
  .mobile-sticky-form-actions .btn[name='actionBtn']:not([value='back']) {
    order: 1 !important;
  }

  .mobile-sticky-form-actions #backBtn,
  .mobile-sticky-form-actions .backBtn,
  .mobile-sticky-form-actions .cancel,
  .mobile-sticky-form-actions .btn[value='back'],
  .mobile-sticky-form-actions .btn[name='actionBtn'][value='back'] {
    order: 2 !important;
  }

  .mobile-sticky-form-actions .btn {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 42px !important;
  }
}

.customer-tag-title-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: .75rem;
  max-width: 100%;
}

.customer-label-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: .25rem .5rem;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.customer-label-badge-text {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-sticky-form-actions-source {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}

.mobile-sticky-form-actions-source .btn,
.mobile-sticky-form-actions-source a.btn {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

.mobile-sticky-form-actions[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  body.has-mobile-sticky-form-actions .page-load-cover {
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-sticky-form-actions {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1055 !important;
    display: block !important;
    padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: none;
  }

  .mobile-sticky-form-actions-shell {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: auto;
  }

  .mobile-sticky-form-actions-panel,
  .mobile-sticky-form-actions-toggle {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.16) !important;
    backdrop-filter: blur(10px);
  }

  .mobile-sticky-form-actions-panel {
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
  }

  .mobile-sticky-form-actions[data-mode="inline"] .mobile-sticky-form-actions-panel {
    grid-template-columns: repeat(var(--mobile-sticky-cols, 1), minmax(0, 1fr));
  }

  .mobile-sticky-form-actions[data-mode="split"] .mobile-sticky-form-actions-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-sticky-form-actions[data-mode="split"] .mobile-sticky-form-overlay-btn-primary {
    grid-column: 1 / -1;
  }

  .mobile-sticky-form-actions[data-mode="collapsed"] .mobile-sticky-form-actions-panel {
    grid-template-columns: minmax(0, 1fr);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(12px);
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0 !important;
    margin-bottom: 0;
    transition:
      max-height 0.22s ease,
      opacity 0.18s ease,
      transform 0.22s ease,
      padding 0.22s ease,
      border-width 0.22s ease,
      margin-bottom 0.22s ease;
  }

  .mobile-sticky-form-actions[data-mode="collapsed"].is-expanded .mobile-sticky-form-actions-panel {
    max-height: 280px;
    opacity: 1;
    transform: translateY(0);
    padding-top: 10px;
    padding-bottom: 10px;
    border-width: 1px !important;
    margin-bottom: 8px;
  }

  .mobile-sticky-form-actions-toggle {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    border-radius: 22px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    padding: 8px 12px !important;
    text-transform: none !important;
    white-space: nowrap !important;
  }

  .mobile-sticky-form-actions[data-mode="collapsed"] .mobile-sticky-form-actions-toggle {
    display: flex !important;
  }

  .mobile-sticky-form-actions .mobile-sticky-form-overlay-btn,
  .mobile-sticky-form-actions .mobile-sticky-form-actions-toggle {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border-radius: 22px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    text-transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }
}

@media (min-width: 769px) {
  .mobile-sticky-form-actions {
    display: none !important;
  }

  body.has-mobile-sticky-form-actions .page-load-cover {
    padding-bottom: 0 !important;
  }
}

.customer-name-label-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  max-width: 100%;
}

.customer-name-label-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.customer-tag-assignment-activity-column {
  width: 280px !important;
  min-width: 280px;
  max-width: 280px;
  vertical-align: top;
  white-space: normal;
}

.customer-tag-assignment-activity-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  width: 100%;
}

.customer-tag-assignment-activity {
  display: block;
  width: 100%;
  color: #667085;
  font-size: 13px;
  line-height: 1.3;
  white-space: normal;
}

.customer-tag-assignment-activity-line {
  display: block;
  white-space: nowrap;
}

.customer-tag-assignment-activity-extra {
  display: none;
}

.customer-tag-assignment-activity-removed {
  color: #b54708;
}

.customer-label-summary-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  max-width: 100%;
}

.customer-label-item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.customer-label-summary-wrap .customer-tag-table-badge-group {
  margin-top: 0;
}

.customer-label-page-header {
  display: flex;
  max-width: 100%;
}

.customer-label-page-header-badges {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  max-width: 100%;
}

.js-customer-label-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  max-width: 100%;
}

.customer-field-with-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
}

.customer-field-with-label .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

.customer-inline-segmentation-badge {
  flex: 0 1 180px;
  min-width: 0;
  max-width: 180px;
}

.customer-inline-segmentation-badge .customer-label-badge {
  max-width: 100%;
}

.customer-label-toggle-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: #0d6efd;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: underline;
}

.customer-tag-title-badge-group .customer-label-toggle-btn,
.customer-label-page-header-badges .customer-label-toggle-btn {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.customer-label-toggle-btn:hover,
.customer-label-toggle-btn:focus {
  color: #0a58ca;
}

@media (max-width: 575.98px) {
  .customer-field-with-label {
    flex-wrap: wrap;
  }

  .customer-inline-segmentation-badge {
    flex-basis: auto;
    max-width: 100%;
  }
}

.customer-record-filter-panel {
  margin-bottom: 1rem;
}

.campaign-filter-panel {
  display: none;
}

.campaign-filter-panel.is-open {
  display: flex;
}

.campaign-filter-dropdown {
  position: relative;
}

.campaign-filter-dropdown .campaign-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  min-height: 38px;
  color: #495057;
  font-weight: 400;
  padding: .375rem .75rem;
  text-align: left;
}

.campaign-filter-dropdown .campaign-filter-toggle:focus {
  box-shadow: none;
}

.campaign-filter-dropdown .dropdown-menu {
  width: 100%;
  max-height: 240px;
  overflow-y: auto;
  padding: .75rem;
}

.campaign-filter-dropdown .customer-record-filter-multiselect-menu {
  display: none;
  inset: calc(100% + .25rem) 0 auto 0;
  margin: 0;
}

.campaign-filter-dropdown.is-open .customer-record-filter-multiselect-menu {
  display: block;
}

.campaign-filter-dropdown .form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-left: 0;
  margin-bottom: .6rem;
}

.campaign-filter-dropdown .form-check-input {
  flex: 0 0 auto;
  position: static;
  margin-left: 0;
  margin-top: 4px;
}

.campaign-filter-dropdown .form-check-label {
  flex: 1;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  cursor: pointer;
}

.campaign-filter-dropdown .form-check:last-child {
  margin-bottom: 0;
}

.customer-record-filter-label {
  margin-bottom: 0.35rem;
}

.customer-record-filter-dropdown .customer-record-filter-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  min-height: 38px;
  color: #495057;
  font-weight: 400;
}

.customer-record-filter-dropdown .customer-record-filter-dropdown-toggle:focus {
  box-shadow: none;
}

.customer-record-filter-dropdown .dropdown-menu {
  width: 100%;
  max-height: 240px;
  overflow-y: auto;
  padding: 0.75rem;
}

.customer-record-filter-dropdown .form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-left: 0;
  margin-bottom: 0.6rem;
}

.customer-record-filter-dropdown .form-check-input {
  flex: 0 0 auto;
  position: static;
  margin-left: 0;
  margin-top: 4px;
}

.customer-record-filter-dropdown .form-check-label {
  flex: 1;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  cursor: pointer;
}

.customer-record-filter-dropdown .form-check:last-child {
  margin-bottom: 0;
}

.customer-record-filter-action-wrap {
  gap: 8px;
}

.filter-reset {
  height: 38px;
  max-width: 100px;
  width: 100%;
  font-size: 16px;
  line-height: 1.2;
  padding: 6px 12px;
  border-radius: 20px;
  text-align: center;
  display: block;
  align-items: center;
  align-content: center;
}

.campaign-title-badge-wrap {
  margin-bottom: 1rem;
}

.campaign-title-badge {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: 0.55rem;
}

.campaign-page-back-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 24px;
}

.customer-tag-title-badge-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.customer-tag-title-badge,
.customer-tag-modal-badge {
  display: inline-flex;
  align-items: center;
  padding: .4rem 1rem;
  border: 1px solid #d3d9e3;
  border-radius: 999px;
  background-color: #f8f9fb;
  color: #4e5f77;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.customer-tag-manage-sticky-wrap {
  position: fixed;
  right: 2rem;
  top: 82%;
  transform: translateY(-50%);
  z-index: 1025;
}

.customer-tag-manage-btn {
  font-size: 16px;
  padding: .45rem 1rem;
  white-space: nowrap;
  box-shadow: 0 .35rem .75rem rgba(44, 93, 179, .22);
  text-transform: none !important;
}

.customer-tag-sticky-actions-wrap {
  position: fixed;
  right: 2rem;
  top: 82%;
  transform: translateY(-50%);
  z-index: 1025;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}

.customer-tag-sticky-actions-wrap .customer-tag-manage-sticky-wrap,
.customer-tag-member-point-sticky-wrap {
  position: static;
  top: auto;
  right: auto;
  transform: none;
}

.customer-tag-member-point-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  min-width: 132px;
  padding: .55rem 1rem;
  box-shadow: 0 .35rem .75rem rgba(180, 131, 35, .22);
  text-transform: none !important;
}

.customer-tag-member-point-count {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
}

.customer-tag-member-point-label {
  font-size: 12px;
  line-height: 1.1;
  opacity: .9;
}

.customer-tag-primary-btn {
  text-transform: none !important;
}

body.url-modal-open .customer-tag-manage-sticky-wrap,
body.url-modal-open .customer-tag-sticky-actions-wrap {
  display: none !important;
}

.customer-tag-form-btn {
  box-shadow: 0 0 !important;
  font-weight: bold;
  font-size: 12px;
  text-transform: none !important;
}

.customer-tag-manage-modal .modal-dialog {
  max-width: 640px;
}

.customer-tag-manage-modal .modal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.customer-tag-modal-badge-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.customer-tag-table-badge-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  max-width: 100%;
  vertical-align: top;
}

.customer-tag-table-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: .25rem .7rem;
  border: 1px solid #cbd7f2;
  border-radius: 999px;
  background: #eef4ff;
  color: #365a96;
  font-family: inherit;
  font-size: 13px;
  font-weight: inherit;
  line-height: 1.2;
  white-space: nowrap;
}

.customer-tag-assigned-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid #e9ecef;
}

.customer-tag-assigned-item:last-child {
  border-bottom: none;
}

.customer-tag-action-group {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.customer-tag-inline-form {
  margin: 0;
}

.customer-tag-modal-section {
  padding-bottom: .25rem;
}

.customer-tag-modal-section .form-control,
.customer-tag-modal-section .form-select {
  margin-bottom: .75rem;
}

.customer-tag-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-height: 11.5rem;
  overflow-y: auto;
  padding-right: .25rem;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(78, 95, 119, 0.55) transparent;
}

.customer-tag-checkbox-list::-webkit-scrollbar {
  width: 8px;
}

.customer-tag-checkbox-list::-webkit-scrollbar-track {
  background: transparent;
}

.customer-tag-checkbox-list::-webkit-scrollbar-thumb {
  background-color: rgba(78, 95, 119, 0.45);
  border-radius: 999px;
}

.customer-tag-checkbox-list::-webkit-scrollbar-thumb:hover {
  background-color: rgba(78, 95, 119, 0.7);
}

.customer-tag-icon-btn {
  width: 42px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.customer-tag-edit-panel {
  padding: .75rem 0 0;
}

.customer-tag-edit-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: .75rem;
}

.customer-tag-edit-btn-row {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

@media (max-width: 767.98px) {
  .customer-tag-sticky-actions-wrap {
    right: 1rem;
    top: auto;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    transform: none;
    z-index: 1060;
  }

  .customer-tag-manage-sticky-wrap {
    right: 1rem;
    top: auto;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    transform: none;
    z-index: 1060;
  }

  body.customer-tag-modal-open .customer-tag-manage-sticky-wrap {
    z-index: 1040;
  }

  body.customer-tag-modal-open .customer-tag-sticky-actions-wrap {
    z-index: 1040;
  }

  body.has-mobile-sticky-form-actions .customer-tag-manage-sticky-wrap {
    bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.has-mobile-sticky-form-actions .customer-tag-sticky-actions-wrap {
    bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .customer-tag-assigned-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-tag-action-group {
    justify-content: flex-start;
  }
}

/*---------------------------------------------------------
# Order Warehouse Transfer
---------------------------------------------------------*/
.owt-card {
  border: 1px solid #dee2e6;
  border-radius: 12px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.04);
}

.owt-card + .owt-card {
  margin-top: 1.25rem;
}

.owt-field-message {
  min-height: 24px;
  padding-top: 4px;
  font-size: 0.95rem;
  line-height: 20px;
}

.owt-detail-label {
  color: #6c757d;
  font-size: 0.86rem;
  text-transform: none;
}

.owt-detail-value {
  font-weight: 600;
  word-break: break-word;
}

.owt-actions .btn,
.owt-search-form .btn {
  text-transform: none !important;
}

.owt-search-form {
  align-items: flex-start;
}

.owt-search-form .form-label {
  display: block;
  height: 28px;
  min-height: 28px;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  line-height: 28px;
}

.owt-search-form .form-control,
.owt-search-form .form-select {
  height: 48px;
}

.owt-search-button-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.owt-search-button-label {
  visibility: hidden;
}

.owt-search-btn {
  height: 48px !important;
  min-width: 220px;
  padding: 0 28px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background-color: #3f76d3 !important;
  border-color: #3f76d3 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 16px rgba(63, 118, 211, 0.28) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 48px !important;
  text-align: center;
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.owt-normal-case,
.owt-normal-case.btn,
.owt-card .btn-outline-primary {
  text-transform: none !important;
}

#owtTransferLogTable th,
#owtTransferLogTable td {
  vertical-align: middle;
}

.owt-transfer-record-table {
  border-collapse: separate !important;
  border-spacing: 0 0 !important;
  border: 0 !important;
}

.owt-transfer-record-table thead th,
.owt-transfer-record-table tbody td {
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid #dee2e6 !important;
}

.owt-transfer-record-table tbody tr:nth-child(odd) td {
  background-color: #eeeeee !important;
}

.owt-transfer-record-table tbody tr:nth-child(even) td {
  background-color: #ffffff !important;
}

.owt-transfer-record-table tbody tr:hover td {
  background-color: #e9ecef !important;
}

.owt-transfer-warehouse-row {
  align-items: flex-start !important;
}

.owt-transfer-warehouse-row .form-label {
  display: block;
  min-height: 24px;
  margin-bottom: 8px;
  line-height: 24px;
}

.owt-transfer-warehouse-row .form-control,
.owt-transfer-warehouse-row .form-select {
  height: 48px;
}

.owt-transfer-warehouse-row .owt-field-message {
  min-height: 24px;
  padding-top: 4px;
  line-height: 20px;
}

#dispTable #addBtn.btn,
#dispTable #actionBtn.btn,
#dispTable #importBtn.btn,
#dispTable .btn[name="actionBtn"] {
  font-size: 18px !important;
  line-height: 1.2 !important;
}

#dispTable .btn-container {
  white-space: nowrap;
}

.mobile-sticky-form-actions-source .btn,
.mobile-sticky-form-actions-source a.btn {
  font-size: 18px !important;
  line-height: 1.2 !important;
}

.mobile-sticky-form-actions-source-panel {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}

.mobile-sticky-form-actions-source-toggle {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-sticky-form-actions-source {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
  }

  .mobile-sticky-form-actions-source .mobile-sticky-form-actions-source-toggle {
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: none !important;
    white-space: nowrap !important;
  }

  .mobile-sticky-form-actions-source .mobile-sticky-form-actions-source-panel {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 8px !important;
  }

  .mobile-sticky-form-actions-source .mobile-sticky-form-source-btn {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    padding: 8px 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
  }

  .mobile-sticky-form-actions-source[data-mobile-sticky-source-mode="inline"] .mobile-sticky-form-actions-source-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .mobile-sticky-form-actions-source[data-mobile-sticky-source-mode="inline"] .mobile-sticky-form-source-btn {
    grid-column: auto;
  }

  .mobile-sticky-form-actions-source[data-mobile-sticky-source-mode="inline"] .mobile-sticky-form-source-btn:only-of-type {
    grid-column: 1 / -1;
  }

  .mobile-sticky-form-actions-source[data-mobile-sticky-source-mode="split"] .mobile-sticky-form-actions-source-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .mobile-sticky-form-actions-source[data-mobile-sticky-source-mode="split"] .mobile-sticky-form-source-btn-primary {
    grid-column: 1 / -1;
  }

  .mobile-sticky-form-actions-source[data-mobile-sticky-source-mode="collapsed"] .mobile-sticky-form-actions-source-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mobile-sticky-form-actions-source[data-mobile-sticky-source-mode="collapsed"] .mobile-sticky-form-actions-source-panel {
    grid-template-columns: minmax(0, 1fr) !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition:
      max-height 0.22s ease,
      opacity 0.18s ease,
      transform 0.22s ease;
  }

  .mobile-sticky-form-actions-source[data-mobile-sticky-source-mode="collapsed"].is-expanded .mobile-sticky-form-actions-source-panel {
    max-height: 240px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-sticky-form-actions-source[data-mobile-sticky-source-mode="collapsed"] .mobile-sticky-form-source-btn {
    grid-column: 1 / -1;
  }

  .mobile-sticky-form-actions .btn,
  .mobile-sticky-form-actions a.btn,
  .mobile-sticky-form-actions .mobile-sticky-form-overlay-btn,
  .mobile-sticky-form-actions .mobile-sticky-form-actions-toggle {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
}

.import-preview-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.import-preview-actions .btn {
  min-width: 180px;
  margin: 0 !important;
}

.import-preview-actions .import-preview-primary {
  order: 1;
}

.import-preview-actions .import-preview-cancel {
  order: 2;
}

@media (max-width: 768px) {
  .import-preview-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .import-preview-actions .btn {
    width: min(100%, 320px);
  }
}
