* {
  padding: 0;
  margin: 0;
}

body {
  background: #f5f5f9;
  font-size: 14px;
  color: #444;
  line-height: 18px;
  font-family: roboto;
}

body.bg-login {
  background: #f5f5f9 url(../images/bglogin.png) no-repeat center center;
  background-size: cover;
  width: 100vw;
}

hr {
  border-top: #c2c8d7 1px solid !important;
}

a:hover {
  color: #F39320;
}

a.active {
  color: #F39320;
}

i.fa {
  color: #7083B6;
  font-size: 24px;
}

p.textCheckOrder {
  white-space: normal;
  word-break: break-word;

}

.font-weight-bold {
  font-weight: bold !important;
}

.nav-item.dropdown:hover .menu-parent {
  display: block;
}

.loading-overlay,
.loading-paying {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Màu nền mờ */
  display: flex;
  justify-content: center;
  /* Canh giữa theo chiều ngang */
  align-items: center;
  /* Canh giữa theo chiều dọc */
  z-index: 9999;
  /* Đặt z-index cao để ở trên cùng */
}

.loader-content {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: auto;
  display: block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.disabled-paying {
  pointer-events: none;
  opacity: 0.5;
}

button.btn-paying {
  position: absolute;
  height: 50px;
  width: 425px;
  top: 45%;
  left: 36%;
  z-index: 9999;
  padding: 16px 80px;
  border: 0;
  border-radius: 8px;
  background: #344054;
  color: white;
  overflow: hidden;
}

.loading-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;

  z-index: 9999;
}

.loading-container span {
  display: inline-block;
  /* hoặc block nếu bạn muốn mỗi span là 1 dòng */
  word-break: break-word;
  /* cho phép từ dài tự động xuống dòng */
  white-space: normal;
  /* đảm bảo văn bản được wrap nếu quá dài */
  margin: 10px;
}

.loading-container .bar {
  background-color: rgb(33, 44, 64);
  min-width: 100%;
  min-height: 8px;
  position: relative;
  overflow: hidden;
}

.loading-container .bar::after {
  content: "";
  min-height: 8px;
  position: absolute;
  background: orange;
  transform: translateX(-100%);
  animation: animate 2s infinite;
}

.loading-container .bar::before {
  content: "";
  min-height: 8px;
  position: absolute;
  background: orange;
  transform: translateX(-100%);
  animation: animate 2s infinite;
  animation-delay: 1s;
}

@keyframes animate {
  0% {
    transform: translateX(-200%);
    min-width: 100px;
  }

  100% {
    transform: translateX(300%);
    min-width: 400px;
  }
}

.background-blue {
  background-color: #4c86aa
}

.setting-col {
  border: 2px solid #7083B6 !important;
  padding: 7px !important;
}

i.fa-sliders {
  color: #7083B6 !important;
}

.setting-col * {
  color: black
}

.small-icon {
  font-size: 12px !important;
  margin-right: 2px;
}

.title-income-type {
  font-size: small;
  font-weight: bold;
  color: black
}

#income-type-name {
  width: 65%;
}

.btn-export,
.btn-export-detail {
  background-color: #3B9EC8 !important;
  border: 1px solid #4b93b3 !important;
  color: white;
  padding: 3px
}

.btn-export-detail {
  max-height: 35px;
}

.btn-export *,
.btn-export-detail * {
  color: white;
}

.btn-export:hover,
.btn-export:active,
.btn-export.show,
.btn-export-detail:hover,
.btn-export-detail:active,
.btn-export-detail.show {
  color: white !important;
  background-color: #5fbae0 !important;
}

.btn-export:hover * {
  color: white !important;
}

.btn-sync {
  background-color: #c87a3b !important;
  border: 1px solid #c87a3b !important;
  color: white;
  padding: 3px
}

.btn-sync:hover,
.btn-sync:active,
.btn-sync.show {
  color: white !important;
  background-color: #da9863 !important;
}

.btn-sync:hover * {
  color: white !important;
}

.dropdown .export-menu {
  width: 100%;
  min-width: unset;
  border-radius: 0;
  font-size: 0.65rem;
}

.export-menu .dropdown-item {
  background-color: #3B9EC8;
  border: 1px solid #4b93b3;
  color: white;

}

.export-menu .dropdown-item:hover {
  background-color: #5fbae0;
  color: white;
}

/* Loại bỏ màu mặc định của dropdown khi chọn */
.export-menu .dropdown-item:focus,
.export-menu .dropdown-item:active {
  background-color: #5fbae0;
  color: white;
  outline: none;
}

.had_generate_qr:hover {
  color: white;
  background-color: rgb(255, 60, 0);
}

.loading-overlay .spinner-border {
  color: white;
  /* Màu spinner */
}

.cursor-pointer {
  cursor: pointer;
}

.cus-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  right: 0px;
  text-align: center;
  background-color: #c2d6e2;
  color: #2e77a1;
  padding: 2px 0;
  z-index: 1000;
  transition: all .3scubic-bezier(0.4, 0, 0.2, 1);
}

.bt {
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  border: 0;
  border-radius: 6px;
  padding: 0 15px !important;
  height: 32px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.bt i {
  font-size: 13px;
  color: #fff !important;
}

.btn {
  /*  color: white !important;
  font-weight: bold !important;*/
  font-size: 14px;
  padding: 5px 10px !important;
}

i.fa-search {
  font-size: 16px;
}

.seach-item,
.btn-search-product {
  color: #444 !important;
}

.btn_green {
  background: #07B29B;
  color: #fff !important;
  white-space: nowrap;
}

.btn_green:hover {
  background: #16c7af;
  color: #fff !important;
}

.btn_green_line {
  background: #fff;
  color: #8CDB80 !important;
  border: #8CDB80 1px solid;
}

.btn_green_line:hover {
  background: #fff;
  border: #8CDB80 1px solid;
  color: #FF8C00 !important;
}

.bt_sm {
  border-radius: 15px;
  height: 26px;
  font-size: 12px;
  color: #1A2B58;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  text-decoration: none;
}

.btn_blue_light {
  background: #8FD0EC;
}

.btn_blue_light:hover {
  background: #70cef6;
  color: #1A2B58 !important;
}

.btn_gray_light {
  background: #d9d9d9;
}

.btn_gray_light:hover {
  background: #eee;
  color: #1A2B58 !important;
}

div.select_file {
  background: #8FD0EC;
  color: #1A2B58 !important;
  border-radius: 6px;
  padding: 0 15px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

div.select_file input {
  position: absolute;
  opacity: 0;
}

.btn_check_data {
  background: #D2DCF4;
  color: #1A2B58 !important;
}

.btn_check_data:hover {
  background: #B1C4F0 !important;
  color: #1A2B58 !important;
}

.btn_green.active {
  background: #7CCF6F;
  color: #fff !important;
}

.btnlogin {
  background: #F28C8C;
  text-transform: uppercase;
  font-weight: bolder;
  font-size: 16px;
  padding: 7px 15px !important;
  height: 36px !important;
}

.btnlogin:hover {
  background: #F46A6A !important;
  color: #fff !important;
}

.btn_red {
  background: #ff7979;
}

.btn_red:hover {
  background: #F28C8C !important;
  color: #fff !important;
}

.btn_red.active {
  background: #ff7979 !important;
  color: #fff !important;
}

.btn_gray_line {
  background: #fff url(../images/caret_down_ic.png) no-repeat right;
  background-size: 10px 5px;
  background-position: 60px;
  min-width: 80px;
  border: #dee2e6 1px solid;
  color: #666 !important;
  font-weight: normal;
  text-align: left;
  padding: 0 20px 0 0px !important;
}

.btn_gray_line:hover {
  background: #fff url(../images/caret_down_ic.png) no-repeat right;
  background-size: 10px 5px;
  background-position: 60px;
  min-width: 80px;
  border: #dee2e6 1px solid;
  color: #666 !important;
  font-weight: normal;
  text-align: left;
  padding: 0 20px 0 0px !important;
}

.btn_gray_line.active {
  background: #fff url(../images/caret_down_ic.png) no-repeat right;
  background-size: 10px 5px;
  background-position: 110px;
  min-width: 130px;
  border: #dee2e6 1px solid;
  color: #666 !important;
  font-weight: normal;
  text-align: left;
  padding: 0 20px 0 10px !important;
}

.required {
  color: #ff0000;
}

.text-left {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.btn_gr {
  display: flex;
  gap: 5px;
  justify-content: center;
}

.form-control {
  font-size: 13px !important;
}

.img100 img {
  width: 100%;
}

.form-select {
  background-image: url(../images/caret_down_ic.png);
  background-size: 10px 5px;
  min-width: 80px;
}

/*----modal----*/

/* Modal Content */
#CrtWarehouse .modal-content {
  width: 100%;
}

/* Modal Content */
.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  /*  width: 80%;*/
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

.dayofweek label {
  font-weight: 400 !important;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.btn-close {
  background: url(../images/times_icon.png) no-repeat center !important;
}

.modal-header {
  padding: 7px 16px !important;
  background-color: #fff;
  color: #1A2B58;
  height: max-content;
}

.modal-header h4 {
  color: #1A2B58;
  font-size: 20px;
  margin: 0;
}

.modal-body {
  padding: 10px 4px !important;
}

.modal-footer {
  padding: 2px 16px;
  justify-content: center !important;
}

div.modal_center {
  padding: 10px 15px;
  font-size: 13px !important;
  white-space: nowrap;
}

div.modal_add {
  padding: 4px;
  font-size: 13px !important;
  white-space: nowrap;
}

div.payment-info label {
  text-align: right !important;
  width: 100%
}

/* .select2-container{
  width: 100%!important
} */
#formPayment label {
  text-align: right !important;
  width: 100%
}

#content_create label.form-label {
  text-align: right !important;
  width: 100%
}

.modal-body label {
  color: #1A2B58 !important;
}

.modal-body h4 {
  color: #1A2B58 !important;
  font-size: 14px;
  text-transform: uppercase;
}

div#import_data .modal-body {
  padding: 0px 4px !important;
}

div#import_data .modal-body h4 {
  text-align: center;
}

div#import_data .progress {
  text-align: center;
}

div.form_prog {
  margin-top: 10px;
}

div.form_prog p {
  margin-bottom: 5px;
}

div.erro_report {
  margin-top: 10px;
  color: #DC3545;
}

.modal-body select,
input,
option {
  color: #999 !important;
}

td.select_mem select {
  background: url(../images/sort-down.png) no-repeat left;
  border: 0 !important;
  white-space: nowrap;
  font-size: 13px;
  padding: 0 0 0 15px;
  color: #57ABDC !important;
  min-width: 80px;
}

select {
  font-size: 13px !important;
}

#CrtFromCate .modal-dialog {
  width: 100%;
  max-width: 90%;
}

#detail_asset .modal-dialog {
  width: 100%;
  max-width: 70%;
}

#CrtOutCate .modal-dialog {
  width: 100%;
  max-width: 50%;
}

div.fr_ware {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 174px;
}

/*----------------end modal--------------------*/
.login_fr {
  max-width: 400px;
  background: #fff;
  border-radius: 6px;
  padding: 30px;
  margin: 0 auto;
}

.login_fr label.form-label {
  color: #1A2B58;
  font-weight: 500;
}

body.bg-login div.container-fluid {
  padding-right: calc(var(--bs-gutter-x)* .5);
  padding-left: calc(var(--bs-gutter-x)* .5);
}

/*----------------end login--------------------*/
body.bg-login div.header {
  background: transparent;
  height: 20vh;
}

div.main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

div.main_index {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  height: 60vh;
}

div.main_bottom {
  display: flex;
  justify-content: center;
  align-items: end;
  height: 20vh;
  color: #fff;
  padding: 20px;
}

div.main_index a.item_main {
  display: flex;
  justify-content: end;
  align-items: center;
  text-decoration: none;
  flex-direction: column;
  border: #D2DCF4 3px solid;
  border-radius: 10px;
  background: rgb(255, 255, 255, .25);
  padding: 15px;
  width: 172px;
  height: 172px;
  gap: 10px;
}

div.main_index a.item_main:hover {
  color: #FF8C00 !important;
}

div.main_index a.item_main h2 {
  font-size: 20px;
  color: #fff;
  font-weight: bolder;
}

div.main_index a.item_main h2:hover {
  font-size: 20px;
  color: #FF8C00;
  font-weight: bolder;
}

/*----------------end index--------------------*/
div.wrapper {
  width: 100%;
  /* height: 100vh; */
}

div.container-fluid {
  width: 100%;
  padding: 0;
}

div.container {
  width: 100%;
  max-width: 100%;
}

div.header,
.menu_center,
.content,
.menu_child {
  padding: 0 0%;
}

/*-------------------header menu ---------------*/
div.header {
  background: #fff;
}

div.header_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
  padding-bottom: 5px;
}

div.header_menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

div.menu_report {
  position: relative;
}

div.menu_report button {
  position: relative;
}

div.menu_report button span {
  position: absolute;
  background: #FF8C00;
  width: 20px;
  height: 20px;
  font-size: 10px;
  top: -15px;
  right: -8px;
  color: white;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

div.menu_setting button span {
  position: absolute;
  background: #FF8C00;
  width: 20px;
  height: 20px;
  font-size: 10px;
  top: -17px;
  right: -10px;
  color: white;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

div.menu_report button.dropbtn {
  padding: 0px;
  background: transparent;
  font-size: 24px;
  border: none;
  cursor: pointer;
}

div.menu_setting button.dropbtn {
  padding: 0px;
  background: transparent;
  font-size: 24px;
  border: none;
  cursor: pointer;
}

.bg-login div.menu_report button.bell {
  background: url(../images/bell_login.png) no-repeat !important;
  height: 24px;
  width: 22px;
}

.bg-login div.menu_setting button.cog {
  background: url(../images/cog_login.png) no-repeat !important;
  height: 24px;
  width: 24px;
}

.bg-login div.menu_user a {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #fff;
}

div.menu_user a {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #666;
}

.bg-login div.menu_user i.fa {
  color: #fff !important;
}

div.menu_report button.bell {
  background: url(../images/bell.png) no-repeat;
  height: 24px;
  width: 22px;
}

div.menu_setting button.cog {
  background: url(../images/cog.png) no-repeat;
  height: 24px;
  width: 24px;
}

div.menu_report button.dropbtn i {
  font-size: 24px !important;
}

div.header_report_content {
  min-width: 200px;
}

div#myDropdown {
  border-radius: 0;
}

div.header_report_title {
  width: 100%;
  background: #DADFE8;
  display: flex;
  justify-content: space-between;
  height: 35px;
  padding: 0 10px;
  align-items: center;
}

div.header_report_title h5 {
  color: #333333;
  margin-bottom: 0;
  font-size: 15px;
}

div.header_report_title span {
  background: #fff;
  color: #317e71;
  border: #C1E1DC 1px solid;
  border-radius: 3px;
  padding: 3px 5px;
  font-size: 12px;
}

div.header_report_midd {
  background: #fff;

}

div.header_report_midd ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

div.header_report_midd ul li {
  padding: 10px 0;
  border-bottom: #c2c8d7 1px solid;
}

div.header_report_midd ul li:last-child {
  border-bottom: #c2c8d7 0px solid;
}

div.header_report_midd ul li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  text-decoration: none;
}

div.header_report_midd ul li strong {
  font-weight: bolder;
  padding-bottom: 5px;
}

div.header_report_midd ul li p {
  color: #888;
  margin-bottom: 5px;
  font-size: 12px;
}

div.header_report_midd ul li i {
  font-size: 10px;
  margin-right: 7px;
}

div.header_report_midd ul li span {
  font-size: 12px;
  color: #aaa;
}

div.header_report_bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

div.header_report_bottom a {
  background: #DAF4F0;
  border: #C1E1DC 1px solid;
  color: #317e71;
  text-decoration: none;
  padding: 5px 15px;
  border-radius: 6px;
}

div.name_rp {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

span.status {
  background: url(../images/newStatus_icon.png) no-repeat;
  height: 12px;
  width: 12px;
}


.dropbtn:hover,
.dropbtn:focus {
  background-color: #2980B9;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  border-radius: 6px;
  background-color: #fff;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  right: 0;
}

/* .dropdown a:hover {background-color: #ddd;} */

.show {
  display: block;
}

/*----------------menu center----------------------*/
div.menu_center {
  background: #B3B9CA;
}

div.menu_center_content {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 4px 0;
  gap: 5px;
}

div.menu_center_content a {
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #1A2B58;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 20px;
  border: #B3B9CA 1px solid;
}

div.menu_center_content a:hover {
  background: #fff;
  color: #F3931F;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 4px;
  border: #9AA3BA 1px solid;
}

div.menu_center_content a.active {
  background: #fff;
  color: #F3931F;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 4px;
  border: #9AA3BA 1px solid;
}

div.menu_child {
  box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15);
  background: #fff;

}

div.menu_child_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}

div.menu_child_left {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

div.menu_child_left button.active {
  color: #F3931F;
}

div.menu_child_left a {
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #7083B6;
  text-decoration: none;
  padding: 0 20px;
}

div.menu_child_left a i {
  font-size: 14px;
  color: #9AA3BA;
  margin-left: 5px;
}

div.menu_child_left a img {
  margin-right: 7px;
}

div.menu_child_left a:hover {
  color: #F3931F;
  text-decoration: none;
}

div.menu_child_left a.active {
  color: #F3931F;
  text-decoration: none;
}

div.menu_child_right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

div.menu_child_right a.btn_ex {
  background: #3b9ec8;
  color: #fff;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 500;
  gap: 7px;
  display: flex;
  align-items: center;
  height: 28px;
  text-decoration: none;
}

div.menu_child_right a.btn_ex:hover {
  background: #66bade;
  color: #fff !important;
  text-decoration: none;
}

div.menu_child_right a.btn_ex i {
  color: #137FAC;
  font-size: 14px;
}

div.menu_child_right button.btn_filter {
  background: #F09B9B;
  color: #fff;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
  gap: 7px;
  display: flex;
  align-items: center;
  height: 28px;
  text-decoration: none;
}

div.menu_child_right button.btn_filter:hover {
  background: #FBB8B8;
  color: #fff;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
  gap: 7px;
  display: flex;
  align-items: center;
  height: 28px;
  text-decoration: none;
}

div.menu_child_right button.btn_filter.active {
  background: #FBB8B8;
  color: #fff;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
  gap: 7px;
  display: flex;
  align-items: center;
  height: 28px;
  text-decoration: none;
}

div.menu_child_right button.btn_filter i {
  color: #fff;
  font-size: 14px;
}


/*----------------------------------------------*/
.dropbtn {
  color: #7083B6;
  padding: 0 20px;
  font-size: 14px;
  height: 100%;
  border: none;
  display: flex;
  gap: 7px;
  align-items: center;
}

.dropbtn i {
  color: #9AA3BA;
  font-size: 14px;
}

.dropup {
  position: relative;
  display: inline-block;
}

.dropup-content {
  display: none;
  position: absolute;
  background-color: #fff;
  border: #D7D7D7 1px solid;
  border-radius: 6px;
  padding: 10px;
  min-width: 120px;
  top: 100%;
  z-index: 1;
  right: 0;
}

.dropup-content a {
  color: black;
  padding: 0px !important;
  text-decoration: none;
  display: block;
  line-height: 28px;
}

.dropup-content a:hover {
  color: #7083B6;
  text-decoration: none;
}

.dropup:hover .dropup-content {
  display: block;
}

.dropup:hover .dropbtn {
  background-color: transparent;
  color: #F3931F;
}

/*----------------breadcrumb--------------*/
ol.breadcrumb {
  margin: 0 !important;
  font-size: 13px;
}

ol.breadcrumb a {
  text-decoration: none;
  color: #7083B6;
}

.breadcrumb-item.active {
  color: #aaa;
}

ol.breadcrumb i {
  font-size: 13px;
  color: #7083B6 !important;
  margin-right: 5px;
}

/*----------------Content--------------*/
/*menu left*/
div.content {
  margin: 20px 0 30px 0;
  padding-bottom: 40px;
}

div.left_menu {
  /*  width: 260px;*/
  overflow: hidden;
  white-space: nowrap;
}

div.box_left {
  background: #fff;
  border: #D9D9D9 1px solid;
  border-radius: 6px;
  padding: 3px;
  margin-bottom: 15px;
}

div.box_left_title {
  background: #7083B6;
  border-radius: 6px;
  height: 36px;
  padding-left: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

div.box_left_title input.form-check-input,
.box_warehouse input.form-check-input {
  margin-top: 0;
  width: 14px;
  height: 14px;
}

div.box_left_title i {
  font-size: 15px;
  color: white;
  margin-right: 10px;
}

div.box_left_title h3 {
  font-size: 15px;
  color: white;
  text-transform: uppercase;
  font-weight: bolder;
  margin: 0;
}

div.box_left_midd {
  width: 100%;
  padding: 10px 10px;
}

div.left_menu_content {
  display: flex;
  flex-direction: column;
}

div.left_menu_content div.dropdown:first-child {
  border-top: #ECF0F9 0px solid;
}

div.left_menu_content div.dropdown {
  border-top: #ECF0F9 1px solid;
}

div.left_menu_content .dropbtn {
  padding: 8px 0px;
  background-color: #fff;
  width: 100%;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
}

div.left_menu_content button.dropbtn:hover {
  color: #F3931F !important;
}

div.left_menu_content button.active {
  color: #F3931F;
}

img.dropbtn_IC {
  width: 18px;
}

div.left_menu_content .dropdown {
  position: relative;
  display: inline-block;
}

div.left_menu_content .dropdown-content {
  display: none;
  position: unset;
  background-color: #fff;
  width: 100%;
  box-shadow: none;
  padding-left: 25px;
}

div.left_menu_content .dropdown-content a {
  background: url(../images/caret_right.png) no-repeat left;
  color: #666;
  padding: 0px 10px;
  text-decoration: none;
  display: block;
  line-height: 36px;
  font-size: 14px;
}

div.left_menu_content .dropbtn:focus+.dropdown-content {
  display: block;
}

div.left_menu_content .dropbtn:focus-outside+.dropdown-content {
  display: none;
}

/*---left dashboard ---*/
div.list_time {
  width: 100%;
}

div.list_time ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

div.list_time ul li {
  padding: 10px;
}

div.list_time ul li a {
  color: #1A2B58;
  font-size: 13px;
  text-decoration: none;
}

div.list_time ul li a:hover {
  color: #1A2B58;
  font-size: 13px;
  text-decoration: none;
}

div.list_time .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check .form-check-input {
  margin-top: 0;
}

div.list_time .in_time input {
  height: 28px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check-input {
  margin-top: 0;
}

div.in_time {
  position: relative;
  display: flex;
  align-items: center;
}

div.in_time a {
  position: absolute;
  right: 10px;
}

div.in_time a i {
  font-size: 12px;
  color: #7083B6;
}

div.box_time {
  width: 100%;
}

div.box_time h4 {
  font-size: 14px;
  font-weight: bolder;
  color: #1A2B58;
}

div.time_item {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/*----left kho hàng ---*/
div.box_warehouse {
  width: 100%;
}

div.box_warehouse ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

div.box_warehouse ul li {
  display: flex;
  align-items: center;
  padding: 7px 0;
  gap: 7px;
  font-size: 14px;
  border-bottom: rgb(194, 200, 215, .25) 1px solid !important;
}

div.box_warehouse ul li:last-child {
  display: flex;
  align-items: center;
  padding: 7px 0;
  gap: 7px;
  font-size: 14px;
  border-bottom: rgb(194, 200, 215, .25) 0px solid !important;
}

div.box_warehouse ul li a {
  color: #1A2B58;
  font-size: 13px;
  text-decoration: none;
}

div.box_warehouse ul li a:hover {
  color: #1A2B58;
  font-size: 13px;
  text-decoration: none;
}

div.list_filter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

div.list_filter .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

div.list_filter label {
  white-space: nowrap;
}

div.list_filter_chil {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}

div.list_filter_chil .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

div.list_filter_chil label {
  white-space: nowrap;
}


/*-------------- right --------------------*/
div.right_content {
  background: #fff;
  border: #D9D9D9 1px solid;
  padding: 4px;
  border-radius: 6px;
  margin-left: 20px;
}

/*---dashboard---*/
div.dashboard_content {
  padding: 26px;
}

div.asset_total {
  width: 100%;
  ;
}

div.box_asset {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  border: #E9E9E9 1px solid;
  border-radius: 6px;
  padding: 15px
}

div.box_asset h3 {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 0;
}

div.box_asset a {
  font-size: 14px;
  color: #7083B6;
  text-decoration: none;
}

div.box_asset_midd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

div.box_asset_midd span {
  font-size: 20px;
  line-height: 24px;
  font-weight: bolder;
  color: #666;
}

div.as_circle {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  width: 50px;
  height: 50px;
  overflow: hidden;
}

div.as_circle img {
  width: 100%;
}

.color_set1 {
  background: #DAF4F0;
}

.color_set2 {
  background: #ffd99da2;
}

.color_set3 {
  background: #41e77344;
}

.color_set4 {
  background: #ffbcbc96;
}

div.list_chart {
  width: 100%;
  margin-top: 30px;
}

div.chart_item {
  width: 100%;
}

div.chart_item {
  width: 100%;
}

div.chart_title {
  color: #7083B6;
  font-size: 16px;
  font-weight: bolder;
  margin-bottom: 20px;
}

div.chart_content {
  width: 100%;
}

div.chart_content img {
  /*  width: 90%;*/
}

/*----Warehouse---*/
div.warehouse_content {
  width: 100%;
}

div.content_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

div.content_top h2 {
  font-size: 20px;
  margin: 0;
  color: #1A2B58;
}

div.search_content_top {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

div.search_content {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  padding: 15px;
  border: #eee 1px solid;
  border-radius: 6px;
  margin: 10px;
}

div.search_content b {
  white-space: nowrap;
}

div.search_fr {
  position: relative;
  display: flex;
  align-items: center;
}

div.search_fr input {
  /*  min-width: 200px;*/
}

div.search_fr a {
  position: absolute;
  right: 10px;
}

div.search_fr a i {
  font-size: 13px;
  color: #666;
}

div.btn_top_content {
  display: flex;
  gap: 10px;
}

div.content_midd {
  width: 100%;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  /*  border: 1px solid #eee;*/
}

th {
  background: #d3daeb;
  color: #212529;
  border-bottom: #c4c9d7 1px solid;
}

th,
td {
  text-align: center !important;
  padding: 8px;
  font-size: 14px;
  white-space: nowrap;
}

/*tr:nth-child(-n + 3){background-color: #fff}*/
tr:nth-child(even) {
  background-color: #F9F9F9
}

td.warehouse_name a {
  color: #6c8adc;
  text-decoration: none;
}

td.member {
  text-align: center;
}

td.member i {
  font-size: 16px;
  color: #aaa;
}

td.action a {
  padding: 0 3px;
}

td.action .edit_bt i {
  font-size: 14px;
  color: #3F67D0;
}

td.action .dele_bt i {
  font-size: 14px;
  color: #FF0000;
}

td.action .copy_bt i {
  font-size: 14px;
  color: #57ABDC;
}

td.action i {
  font-size: 14px;
}

.line_report span {
  border-bottom: #d5d5d5 1px solid;
}

div.form_pagi {
  width: 100%;
  margin-top: 10px;
}

div.form_pagi nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

ul.pagination {
  margin-bottom: .5rem;
}

.pagination span,
.pagination a {
  font-size: 13px;
}

.btn_see i {
  font-size: 16px;
  color: #3F67D0;
  text-decoration: none;
}

div.img_ast {
  border: #EEEEEE 1px solid;
  height: 34px;
  width: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

div.img_ast img {
  width: 100%;
}

tr.ware_total {
  background: #FFF7E2;
  color: #FF8C00;
  font-weight: 500;
}

tr.total_ware_total {
  background: #DBF2FF;
  color: #FF8C00;
  font-weight: 500;
}

tr.ware_total td {
  padding: 8px !important;
}

td.see_As {
  position: relative;
}

td.see_As .btn_see {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
}

div.add_ass_top {
  width: 100%;
}

div.add_ass_top {
  width: 100%;
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
}

div.ass_top_left {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
}

div.ass_top_right {
  display: flex;
  justify-content: end;
  align-items: center;
}

div.content_out_cate {
  display: flex;
  justify-content: space-around;
  align-items: start;
  gap: 20px;
}

div.dateS {
  display: flex;
  justify-content: start;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

div.dateS select {
  width: 170px;
}

div.dateS div.date_ft {
  display: flex;
  align-items: center;
  position: relative;
}

div.dateS div.date_ft a {
  display: flex;
  align-items: center;
  position: absolute;
  right: 10px;
}

div.dateS div.date_ft i {
  font-size: 14px;
  color: #7083B6;
}

.gr_ {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.add_ {
  background: #fff;
  border: #D9D9D9 1px solid;
  border-radius: 0.375rem;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  height: 33.5px;
  width: 33px;
  padding: .375rem .5rem;
}

.add_ i {
  font-size: 13px;
  color: #8CDB80;
}

div.img_st {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

div.img_st label {
  text-align: center;
  font-size: 13px;
}

.bg-blue-dark {
  background-color: #edededa2;
  border-radius: 3px;
  padding: 5px 8px;
  width: fit-content;
  font-size: 14px;
  font-weight: 450;
}

div.img_st .pic_add {
  border: #D9D9D9 1px solid;
  border-radius: 6px;
  display: flex;
  justify-items: center;
  align-items: center;
  min-width: 100%;
  height: auto;
  padding: 10px;
  overflow: hidden;
}

.bg-E7EBEE {
  background-color: #E7EBEE;
}

.text-orange {
  color: orange;
}

.text-red {
  color: red;
}

div.img_st .pic_add img {
  width: 100%;
}

div.upload_pic {
  border: #d9d9d9 1px solid;
  background: #fff;
  border-radius: 6px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  padding: 0 15px;
  overflow: hidden;
  position: relative;
}

div.upload_pic input {
  opacity: 0 !important;
  position: absolute;
  left: 0;
}

.btn-export {
  padding: 3px 10px !important;
}

div.btsave {
  display: table;
  margin: 0 auto;
}

div.add_tocare {
  display: table;
  margin: 0 auto;
}

div.add_tocare .form-control {
  width: 80px !important;
}

div.add_f {
  display: table;
  margin: 0 auto;
}

div.add_f .form-control {
  width: auto !important;
}

div.btsave a {
  height: 26px !important;
}

tr.add_ass {
  background: #ECF8E8;
  border-top: #fff 1px solid;
}

/*begin customer css switch option*/

input[type="checkbox"].switch_customer {
  font-size: 13px !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 2.6em !important;
  height: 1.4em;
  background: #ddd !important;
  border-radius: 3em !important;
  border: none !important;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-transition: all .2s ease-in-out !important;
  transition: all .2s ease-in-out !important;
}

input[type="checkbox"].switch_customer:checked {
  background: #7083B6 !important;
}

i.icon-small-size {
  font-size: 1em !important;
}

.color-violet {
  color: #C724B7 !important;
}

.openSecondaryScreen {
  color: #0d6efd !important;
  font-weight: bold !important;
}

.openSecondaryScreen:hover {
  color: white !important;
}

input[type="checkbox"].switch_customer:after {
  position: absolute;
  content: "";
  width: 1.5em;
  height: 1.4em;
  border-radius: 50%;
  background: #fff;
  -webkit-box-shadow: 0 0 .25em rgba(0, 0, 0, .3);
  box-shadow: 0 0 .25em rgba(0, 0, 0, .3);
  -webkit-transform: scale(.7);
  transform: scale(.7);
  left: 0;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

input[type="checkbox"].switch_customer:checked:after {
  left: calc(100% - 1.5em);
}

div.see_asst_detail {
  /*  border:#D2DCF4 1px solid;*/
  background: #fff;
  padding: 15px;
}

div.see_asst_img {
  border: #eceef2 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
}

div.see_asst_detail h2 {
  color: #1A2B58;
  font-size: 20px;
  font-weight: 500;
  text-align: left;
  margin: 15px 0;
}

div.see_asst_detail table {
  border: #D2DCF4 0px solid;
}

div.see_asst_detail table td {
  border-bottom: #eceef2 1px solid;
  background: #fff;
  text-align: left !important;
  padding: 5px 0;
}

div.see_asst_detail table td:first-child {
  color: #1A2B58;
  font-weight: 500;
}

/*----system-----*/
div.sys_content {
  padding: 10px;
}

div.box_decen {
  width: 100%;
  padding: 10px;
  border: #E9E9E9 1px solid;
  border-radius: 6px;
}

div.box_decen div.box_decen_title {
  padding: 10px;
}

div.box_decen div.box_decen_title h4 {
  color: #1A2B58;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

div.box_decen div.box_decen_midd {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

div.decen_item_gr i {
  color: #7083B6;
  font-size: 14px;
  margin-right: 5px;
}

div.decen_admin {
  width: 100%;
  color: #1A2B58;
  font-size: 14px;
  font-weight: bolder;
}

div.decen_admin i {
  color: #1A2B58;
  font-size: 14px;
  margin-right: 7px;
}

div.box_decen_midd {
  width: 100%;
}

div.box_decen_midd a {
  text-decoration: none;
}

div.box_decen_midd ul {
  width: 100%;
  margin: 0;
  padding: 0 16px;
  list-style-type: none;
}

div.box_decen_midd ul i {
  color: #7083B6;
  font-size: 12px;
  margin-right: 7px;
}

div.box_decen_midd i.fa-users {
  color: #7083B6;
  font-size: 10px;
}

div.box_decen_midd ul a {
  color: #7083B6;
  text-decoration: none;
  font-size: 13px;
}

a.btdecen {
  padding: 7px 0 7px 7px;
}

a.btdecen i {
  font-size: 14px;
  margin-right: 7px;
}

div.decen_item_gr {
  line-height: 36px;
}

div.alpl {
  text-align: left;
  padding-left: 15px;
  display: flex;
}

div.decen_item_gr a {
  text-decoration: none;
  font-size: 13px;
  color: #1A2B58;
  font-weight: 500;
}

div.decen_item {
  border-bottom: #eee 1px solid;
}

div.decen_item ul li {
  line-height: 30px;
  cursor: pointer;
  padding: 0 7px;
  font-size: 13px;
}

div.decen_item ul li:hover {
  background: #C6FDBD;
  border-radius: 6px;
}

div.box_decen_right {
  width: 100%;
}

div.decen_right_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div.decen_right_title h2 {
  margin: 0;
  color: #1A2B58;
  font-size: 20px;
  font-weight: normal;
}

div.decen_right_des {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*  border: #EEE 1px solid;*/
  border-radius: 6px;
  padding: 10px;
}

div.decen_right_des_left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

div.decen_right_des_right {
  /*display: flex;
  justify-content: space-between;*/
  align-items: center;
  gap: 10px;
}

div.decen_item_rgr {
  display: flex;
}

table.table_decen .f1 {
  width: 40%;
  text-align: left;
}

.f1 .decen_item_rgr {
  padding-left: 35px;
}

.f1 .decen_item_gr {
  line-height: 26px !important;
}

.f1 .decen_item {
  border-bottom: 0;
}

table.table_decen td {
  text-align: left !important;
  width: 12%;
  border-bottom: #E9EBEC 1px solid;
}

table.table_decen th {
  text-align: left !important;
  width: 12%;
}

.box-shadow-custom {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.inftt span,
strong {
  padding: 10px;
}

.box-textarea-cus {
  position: relative;
  display: inline-block;
  width: 100%;
}

.box-textarea-cus textarea {
  width: 100%;
  height: 100px;
  padding-bottom: 15px;
  /* Tạo khoảng trống để không che mất chữ */
  resize: none;
  border: 1px solid #dee2e6 !important;
  border-radius: 4px;
}

.box-textarea-cus .char-counter {
  position: absolute;
  bottom: 2px;
  right: 5px;
  font-size: 14px;
  color: #939393;
  pointer-events: none;
  /* Không ảnh hưởng khi click */
}

/* Button advanced */
.btn_advanced {
  background-color: #3598DC;
  white-space: nowrap;
}

.dropdown_advanced .dropdown-menu {
  background-color: #3598DC;

}

.dropdown_advanced .dropdown-item:hover {
  background-color: #5cb3ee !important;
  color: #fff !important;
}

.dropdown_advanced .dropdown-item {
  color: #fff;
  font-size: 15px;
}

.set-voucher_coupon {
  text-align: left;
}

.btn-support {
  border-radius: 4px;
  border: 1px solid;
  padding: 5px 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  max-width: 110px
}

.btn-support-content {
  display: flex;
  gap: 4px;
  margin: 0;
  align-items: center;
}

.btn-support .fa-chevron-down {
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-support.show .fa-chevron-down {
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(180deg);
}

.dropdown-for-support .dropdown-menu {
  border: 0px;
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.dropdown-for-support .dropdown-menu a {
  display: block;
  width: 100%;
  clear: both;
  font-weight: 400;
  font-size: 14px;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
}

#addItemButton {
  right: 40px;
  z-index: 10;
}

#pullToRefresh {
  position: fixed;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: top 0.2s ease;
  z-index: 9999;
  color: #333;
}

#pullToRefresh .icon {
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  font-size: 24px;
  color: black;
}

/* Quay liên tục khi đang loading */
#pullToRefresh.refreshing .icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


    .sort-icons .fa-caret-up::before {
        position: relative;
        top: 3px;
    }
    .sort-icons .fa-caret-down::before {
     position: relative;
        top: -3px;
    }

        .dropdown-menu-advanced {
            background-color: #3598dc;
        }
        .dropdown-item-advanced {
            color: #fff;
        }
        .dropdown-item-advanced:hover {
          background-color: #5cb3ee !important;
              color: #fff;
        }