/*-- Variables --*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");
@import url(../../vendor/font-awesome-6.1.1/css/all.min.css);

:root {
  --font-header: "Marcellus", sans-serif;
  --color-box-one: #ffffff;
  --color-box-two: #000000;
  --color-box-three: #e9e9e9;
  --color-box-four: #c3f9d7;
  --color-box-five: #e2ffe2;
  --color-box-six: #6fd847;

  --color-box-bopup: #0000002d;

  --color-text-one: #ffffff;
  --color-text-two: #a9a9a9;
  --color-text-three: #cc0000;
  --color-text-four: #050505;
  --color-text-five: #00cc3d;

  --color-complete: #00911f;
  --color-unfinished: #9b0000;

  --color-title-one: #b3b3b3;
  --color-title-two: #cc0000;
  --color-title-four: #000000;

  --color-btn-one: #cc0000;
  --color-btn-two: #252525;
  --color-btn-four: #dbcd00;
  --color-hover-btn: #008e30;

  --color-border: #e6e6e6;

  --color-header-table-one: #3b58ff;
  --color-item-table-even: #f1f4ff;
  --color-item-table-old: #ffffff;

  --color-header-table-two: #ffa900;
  --color-item-table-even-two: #ffeb3b5e;
  --color-item-table-old-two: #ffffff;

  /* Gốc
     --font-size-title: 30px;
    --font-size-title-two: 22px;
    --font-size-title-three: 20px;

    --font-size-content: 18px;
    --font-size-note: 15px; */
  /* Tuấn điều chỉnh */
  --font-size-title: 25px;
  --font-size-title-two: 17px;
  --font-size-title-three: 16px;

  --font-size-content: 15px;
  --font-size-note: 14px;
  /* Hết Tuấn điều chỉnh */

  --shadow-one: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  --shadow-two: rgba(0, 0, 0, 0.24) 0px 3px 8px;

  --height-box-main: calc(100vh - 160px);
}

/* format scrollbar */
/* width */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #321fda;
  border-radius: 20px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #cb004b;
}

/* FORMAT CSS */
body {
  background-color: var(--color-box-three);
}

img {
  width: 100%;
}

p {
  font-size: var(--font-size-content);
  color: var(--color-text-four);
}

a,
li,
ol {
  font-size: var(--font-size-content);
  color: var(--color-text-two);
}

span {
  /* font-size: var(--font-size-content); */
  color: var(--color-text-two);
}

label {
  font-size: 14px;
  font-weight: 700;
}

th,
td {
  min-width: fit-content;
  font-size: 13px;
  vertical-align: middle !important;
}

textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--color-border);
}

.w-85 {
  width: 85% !important;
}

.cursor-poi {
  cursor: pointer;
}

.nav-tabs .nav-link.nav-link-white {
  background-color: var(--color-box-one);
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: var(--color-text-one);
  background-color: var(--color-btn-one);
  border-color: var(--color-border);
}

.nav-tabs .nav-link:hover {
  border-color: var(--color-border);
  background-color: var(--color-hover-btn);
  color: var(--color-text-one);
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(194, 128, 128, 0.05);
}

tr {
  font-size: 15px;
}
th {
  color: white;
}

a:hover {
  text-decoration: none;
  color: var(--color-text-three);
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--color-btn-one);
}

button {
  height: fit-content;
}

.form-check-input {
  margin-top: 7px;
}

.row {
  width: 100%;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
  /* margin-bottom: 15px; */
}

.btn-danger {
  background-color: #ff0018;
  border-color: #ff0018;
}

.gap-15 {
  gap: 15px;
}

.pl-350 {
  padding-left: 250px;
}

.pl-15 {
  padding-left: 15px;
}

.rota-180 {
  rotate: 180deg;
}

.box-btn-seach {
  margin-top: 32px;
}

.box-style-one {
  background-color: var(--color-box-one);
  color: var(--color-two);
  border-radius: 5px;
}

.box-style-two {
  background-color: var(--color-two);
  color: var(--color-text-one);
}

.popup-container {
  width: calc(100% - 270px) !important;
}

.box-shdow {
  box-shadow: var(--shadow-one);
}

.boder-bt-1 {
  border-bottom: 0.5px solid var(--color-border);
}

.box-popup,
.popup-table,
.box-popup-advance-money {
  display: none;
}
.box-popup-pay-money {
  display: none;
}
.popup-table {
  z-index: 999;
}

.scroll {
  overflow: scroll;
}

.popup-style-one,
.popup-style-two {
  display: flex;
  height: 100vh;
  width: 100%;
  position: fixed;
  overflow: scroll;
  top: 0px;
  right: 0px;
  background-color: var(--color-box-bopup);
  z-index: 99;
  padding: 20px;
}

.popup-style-two {
  z-index: 100;
}

.item-popup-style-one {
  min-width: 400px;
  box-shadow: var(--shadow-one);
  border-radius: 5px;
  position: relative;
}

.box-off-popup,
.box-off-popup-table,
.box-off-popup-table-two,
.box-off-popup-advance-money {
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 28px;
  border-radius: 99%;
  border: 1px solid var(--color-border);
  position: absolute;
  top: 15px;
  right: 10px;
}

.box-off-popup:hover,
.box-off-popup-table:hover,
.box-off-popup-table-two:hover,
.box-off-popup-advance-money:hover {
  background-color: var(--color-btn-one);
}

.box-off-popup:hover svg,
.box-off-popup-table:hover svg,
.box-off-popup-table-two:hover svg,
.box-off-popup-advance-money:hover svg {
  color: var(--color-text-one);
}

.box-off-popup svg {
  font-size: 16px;
}

.item-popup {
  min-width: 100%;
  min-height: 80%;
  border-radius: 5px;
}

.box-page-white {
  width: 100%;
  min-height: var(--height-box-main);
  background-color: var(--color-box-one);
  padding: 20px;
}

.box-item {
  box-shadow: var(--shadow-one);
  /* padding: 15px; */
  padding: 5px;
  background-color: var(--color-box-one);
  border-radius: 5px;
}

.box-table {
  /* overflow-x: scroll; */
  /* padding: 15px; */
  padding: 0px; /* tuấn ghi đè*/
}
/* Tuấn ghi đè, đóng băng tiêu đề cột */
.box-table thead {
  position: sticky;
  top: 0;
  /* z-index: 1; Đảm bảo thead luôn nằm trên cùng */
} 

.table-entry-product {
  /* overflow-x: scroll; */
  overflow-y: auto; /* tuấn ghi đè*/
}

.note-lable {
  font-size: 11px;
  font-weight: 400;
}

.box-item-form {
  margin-top: 15px;
}

.box-top-form {
  border-bottom: 1px solid var(--color-border);
}

.form-input-and-check {
  outline: 0px;
  border: 0px;
  border-bottom: 1px solid #b1b1b1;
  border-radius: 5px;
  padding: 0px 5px;
  width: 100%;
}

.header-table-one {
  background-color: var(--color-header-table-one);
  z-index: 1;
}
.header-table-two {
  background-color: var(--color-header-table-two);
}

tr.tr-table:nth-child(even) {
  background-color: var(
    --color-item-table-even
  ) !important; /* Màu xanh cho các hàng chẵn không có class .tr-table */
}
tr.tr-table:nth-child(odd) {
  background-color: var(
    --color-item-table-old
  ) !important; /* Màu đỏ cho các hàng lẻ có class .tr-table */
}

tr.tr-table-two:nth-child(even) {
  background-color: var(
    --color-item-table-even-two
  ) !important; /* Màu xanh cho các hàng chẵn không có class .tr-table */
}
tr.tr-table-two:nth-child(odd) {
  background-color: var(
    --color-item-table-old-two
  ) !important; /* Màu đỏ cho các hàng lẻ có class .tr-table */
}

div.tr-table:nth-child(even) {
  background-color: var(
    --color-item-table-even
  ); /* Màu xanh cho các hàng chẵn không có class .tr-table */
}
div.tr-table:nth-child(odd) {
  background-color: var(
    --color-item-table-old
  ) !important; /* Màu đỏ cho các hàng lẻ có class .tr-table */
}

/* tạo đường viền th */
.th-border-l {
  border-left: 1px solid #dddddd;
}
/* tạo đường viền */
tr:nth-child(odd) td.td-br-l {
  border-left: 1px solid #dddddd;
}

.title-page {
  font-size: var(--font-size-title-two);
  color: var(--color-text-four);
  text-transform: uppercase;
}

.title-page-one {
  color: var(--color-btn-one);
  font-size: var(--font-size-title);
}

.dsc-page {
  color: var(--color-text-two);
  font-size: var(--font-size-title-two);
}

.title-content {
  font-size: var(--font-size-title-three);
  color: var(--color-text-four);
  font-weight: 600;
}

.title-center {
  text-align: center;
  background-color: var(--color-box-one);
  margin-bottom: 0px;
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding: 0px 20px;
}

.box-title-center {
  margin-top: 20px;
  position: relative;
}

.box-title-center::before {
  content: "";
  height: 2px;
  width: 100%;
  position: absolute;
  background-color: var(--color-btn-two);
  left: 0px;
  top: 50%;
}

.title-item {
  font-size: var(--font-size-title-two);
  color: var(--color-title-one);
  text-transform: uppercase;
}

.title-center::after {
  content: "";
  width: 100%;
  height: 3px;
  color: var(--color-box-two);
}

.item-form-group.d-flex label {
  min-width: 30%;
}

.text-complete,
.text-unfinished,
.on-popup-table {
  cursor: pointer;
}

.text-complete {
  color: var(--color-complete);
}

.text-note {
  font-size: 15px;
  margin-bottom: 0px;
}

.text-required svg {
  color: var(--color-btn-one);
  font-size: 10px;
}

.text-unfinished {
  color: var(--color-unfinished);
}

.btn-page-red {
  background-color: var(--color-btn-one);
  color: var(--color-text-one);
  font-weight: 500;
}

.btn-page-green {
  background-color: var(--color-complete);
  color: var(--color-text-one);
  font-weight: 500;
}

.btn-page-yellow {
  background-color: var(--color-btn-four);
  color: var(--color-text-one);
  font-weight: 500;
}

.btn-act {
  display: inline-block;
  margin: 0px 2.5px;
  background-color: var(--color-box-three);
  box-shadow: var(--shadow-one);
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 5px;
}

.btn-act:hover {
  background-color: var(--color-box-one);
}

.btn-act svg {
  font-size: 16px;
}

.btn-page-red:hover, .btn-page-yellow:hover  {
  background-color: var(--color-hover-btn);
  color: var(--color-text-one);
  font-weight: 500;
}

.btn-page-green:hover {
  background-color: var(--color-btn-one);
  color: var(--color-text-one);
  font-weight: 500;
}

@media only screen and (max-width: 850px) {
  .item-popup-style-one {
    max-height: 90vh;
    overflow: scroll;
    margin-top: -20px;
  }

  /* .popup-container {
    width: 100% !important;
  } */
}

.minus-amount-btn {
  margin-right: -5px;
}

.plus-amount-btn {
  margin-left: -5px;
}

.minus-amount-btn,
.plus-amount-btn {
  background-color: #cac9c9;
  border: 0.5px solid var(--color-dark);
  width: 40px;
  height: 40px;
}

.minus-amount-btn:hover,
.plus-amount-btn:hover {
  background-color: #000000;
  border: 0.5px solid rgba(255, 255, 255, 0.222) !important;
  color: var(--color-white);
  width: 40px;
  height: 40px;
}

.amount-add-cart {
  margin: 0px;
  height: 40px;
  padding: 0px 10px;
  width: 15%;
}

.amount-add-cart:focus-visible {
  border: none;
  outline: 0.5px solid rgb(129, 129, 129);
}

/* CSS MAP POPUP */
.mapouter {
  position: relative;
  text-align: right;
  width: 100%;
  min-height: 400px;
}

.gmap_canvas {
  overflow: hidden;
  background: none !important;
  width: 100%;
  height: 400px;
}

.gmap_iframe {
  width: 100% !important;
  height: 400px !important;
}

/* END CSS MAP POPUP */

/* CSS LOGIN PAGE */
.box-login-left,
.box-login-right {
  width: 50%;
  height: 100vh;
}

.box-login-right {
  background-image: url("../../assets/img/background-login.png");
}

.box-logo-login {
  width: 200px;
  margin: auto;
}

.lable-login {
  font-weight: 700;
}

.form-boder-bottom {
  border: 0px;
  border-bottom: 1px solid var(--color-border);
}

.form-boder-bottom.form-control:focus {
  border-color: #007c19;
  box-shadow: rgba(56, 67, 56, 0.143) 0px 10px 10px -10px;
}

.box-copy-right-login {
  position: absolute;
  bottom: 10px;
}

.text-copy-rightlogin {
  font-size: 15px;
}

/* Reponsive login Page */
@media only screen and (max-width: 850px) {
  .box-login-left,
  .box-login-right {
    width: 100%;
    height: 100vh;
    padding: 15px;
  }
}

@media only screen and (max-width: 480px) {
  .btn-page-red {
    font-size: 15px;
    margin-bottom: 0px;
  }
  .reposive-input {
    width: 150px;
  }
  /* reposive font size text menu page seri */
  .text-seri-small {
    font-size: 10px !important;
  }
}
/* reposive trang bảo hành */
@media only screen and (max-width: 520px) {
  .content-custom-view {
    min-width: 250px !important;
  }
  .reposive-form-checkbox {
    max-width: 100% !important;
  }
  .display-table {
    display: table;
  }
}
/* END CSS LOGIN PAGE */

/* CSS HEADER */
header {
  position: fixed;
  top: 0px;
  right: 0px;
  width: 100%;
  z-index: 99;
}

.box-header {
  height: 80px;
  padding: 30px 20px;
}

.box-left-header,
.box-rigth-header {
  min-width: 300px;
}

.box-header-center {
  flex-grow: 1;
  padding: 0px 20px;
}

.header-box-logo {
  width: 220px;
  padding-left: 28px;
}

.header-box-logo img {
  max-width: 150px;
}

.slogan-header {
  font-size: var(--font-size-title-two);
  color: var(--color-text-three);
}

.box-control-sidebar {
  box-shadow: var(--shadow-one);
  width: 30px;
  height: 30px;
  border-radius: 5px;
}

.btn-control-sidebar {
  transition: all 0.5s;
}

.box-control-sidebar:hover {
  box-shadow: var(--shadow-two);
}

.box-rigth-header .box-icon-user {
  width: 40px;
  height: 40px;
  position: relative;
}

.box-rigth-header .box-icon-user img {
  border-radius: 5px;
}

.box-rigth-header .box-avatar-user img {
  width: 50px;
  height: 50px;
}

.box-rigth-header .box-icon-user .rank-user {
  background-color: var(--color-box-four);
  color: var(--color-text-five);
  padding: 5px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  position: absolute;
  margin-left: 5px;
}

.box-rigth-header .box-icon-user .name-user {
  font-size: 17px;
}

.box-rigth-header .box-icon-user .email-user {
  color: var(--color-text-two);
  font-size: 15px;
}

.box-nav-user {
  position: absolute;
  box-shadow: var(--shadow-two);
  min-width: 130px;
  padding: 15px;
  top: 55px;
  right: 0px;
  z-index: 8;
  display: none;
  transition: all 1s;
}

.nav-user {
  margin-bottom: 0px;
}

.item-nav-user {
  margin-bottom: 5px;
}

.box-icon-bell {
  position: relative;
  padding: 5px;
  text-align: center;
}

.box-icon-bell p {
  font-size: 15px;
}

.box-icon-bell p span {
  color: var(--color-text-four);
  font-size: 15px;
  font-weight: 600;
}

.box-icon-bell svg {
  font-size: 25px;
  color: var(--color-text-four);
}

.box-icon-bell svg:hover {
  color: var(--color-text-three);
}

.number-bell {
  position: absolute;
  top: -8px;
  right: -5px;
  font-size: 12px;
  width: 20px;
  height: 20px;
  background-color: var(--color-btn-one);
  color: var(--color-text-one);
  border-radius: 50%;
}

.show-bell {
  width: 300px;
  height: 350px;
  position: absolute;
  top: 50px;
  right: 0px;
  text-align: left;
  display: none;
}

.box-notification {
  /* height: 250px; */
  height: 510px;/* Tuấn update */
  overflow-y: scroll;
}

.title-bell {
  font-size: 14px;
}

.content-bell-show .nav-item a {
  font-size: 13px;
}

.content-bell-show .nav-link {
  padding: 3px 5px;
  margin: 0px 5px;
  color: var(--color-text-four);
}

.content-bell-show .nav-link.active {
  background-color: var(--color-btn-one);
}

.box-icon-bell:hover .number-bell {
  background-color: var(--color-hover-btn);
}

.content-bell-show .nav-link:hover {
  background-color: var(--color-hover-btn);
  color: var(--color-text-one);
}

.box-avatar-notification {
  width: 40px;
  height: 40px;
}

.box-avatar-notification img {
  border-radius: 50%;
}

.item-notification {
  padding-bottom: 0px;
  border-bottom: 1px solid var(--color-border);
}

.item-notification:last-child {
  border-bottom: 0px;
}
.item-notification-not-read{
  background-color: #dceaf8 ;
}
.item-notification-not-read:hover{
  background-color: #a2c0de ;
}
.item-notification-read{
  background-color: #ffffff ;
}
.item-notification-read:hover{
  background-color: #d5dce4 ;
}

/* Reponsive Header */
@media only screen and (max-width: 1025px) {
  .box-control-sidebar {
    width: 55px;
    height: 35px;
  }
}

@media only screen and (max-width: 850px) {
  .box-control-sidebar {
    width: 40px;
    height: 35px;
  }

  .header-box-logo {
    width: 220px;
    padding-left: 0px;
  }

  .box-left-header,
  .box-rigth-header {
    width: 50%;
  }

  .box-left-header,
  .box-rigth-header {
    min-width: 50%;
  }
}

@media only screen and (max-width: 480px) {
  .box-left-header,
  .box-rigth-header {
    width: 50%;
  }

  .header-box-logo {
    width: 220px;
    padding-left: 0px;
  }

  .box-control-sidebar {
    width: 65px;
    height: 35px;
  }
  .box-justyfy-center {
    justify-content: center !important;
  }
  .box-input-size {
    width: 130px;
  }
}

/* END HEADER */

/* STAR CSS SIDEBAR */
.box-sidebar {
  /* width: 300px;  Gốc*/
  width: 250px; /* Tuấn Custom*/
  height: calc(100vh);
  padding: 15px;
  position: fixed;
  padding-top: 95px;
  top: 0px;
  left: 0px;
  z-index: 90;
  border-right: 1px solid var(--color-border);
}

.box-nav-sidebar {
  padding: 10px 15px;
}

.box-nav-sidebar .item-nav-sidebar {
  font-weight: 500;
  margin-bottom: 10px;
}

.box-nav-sidebar .item-nav-sidebar:last-child {
  margin-bottom: 0px;
}

.box-nav-sidebar .item-nav-sidebar svg {
  margin-right: 10px;
  width: 15px;
}

/* Reponsive Sidebar */
@media only screen and (max-width: 1025px) {
  .box-sidebar {
    display: none;
  }
  /* .hidden-icon {
    display: none !important;
  } */

  .pl-350 {
    padding-left: 0px;
  }
  /*  màn hinh <= 1025 thì mới hiển thị */
  .popup-container {
    width: 100% !important;
  }
}
/* Reponsive Sidebar when display >= 1025px */
@media only screen and (min-width: 1025px) {
  .hidden-icon {
    display: none !important;
  }
  .box-sidebar {
    display: block !important;
  }
}

/* END CSS SIDEBAR */

/* CSS BOX CONTENT PAGE */

.box-content-page {
  padding-top: 95px;
  padding-right: 15px;
  padding-bottom: 75px;
}

.box-content-page .row {
  margin-left: 0px;
  margin-right: 0px;
}

.box-title-page {
  /* padding: 15px; gốc*/
  padding: 7px; /* tuấn ghi đè  */
}

.box-btn-page {
  padding-right: 15px;
  flex-wrap: wrap;
  justify-content: end;
}

/* Reponsive Content Page */
@media only screen and (max-width: 1025px) {
  .box-btn-page {
    padding: 5px 10px;
    justify-content: center;
  }

  .box-content-page {
    padding-right: 0px;
  }
}

@media only screen and (max-width: 850px) {
  .box-content-page {
    padding-right: 0px;
  }
}

@media only screen and (max-width: 480px) {
  .btn-page-red {
    font-size: 15px;
    margin-bottom: 0px;
  }
  .item-popup-style-one {
    /* min-width: 220px !important; */
    min-width: 95vw !important; /*fix by Tuan*/
    box-shadow: var(--shadow-one);
    border-radius: 5px;
    position: relative;
  }
}

/* END CSS CONTENT PAGE */

/* CSS HOME PAGE */
/* .box-icon-werehome svg {
    margin-top: 20px;
    font-size: 40px;
    color: var(--color-text-two);
}

.box-warehouse:hover .box-icon-werehome svg {
    color: var(--color-complete);
} */
.box-icon-werehome {
  cursor: pointer;
}

.box-icon-werehome img {
  margin-top: 20px;
  width: 50px;
}

.box-warehouse .box-item {
  position: relative;
  margin-top: 10px;
}

.box-warehouse:hover .box-item {
  box-shadow: var(--shadow-two);
}

.delete-warehome {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 27px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
}

.close-popup-button {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 27px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
}
.close-popup-button:hover {
  background-color: var(--color-btn-one);
  color: var(--color-box-one);
}
/* đổi tên kho */
.edit-warehome {
  position: absolute;
  top: 15px;
  right: 55px;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 27px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
}

.delete-warehome:hover {
  background-color: var(--color-btn-one);
  color: var(--color-box-one);
}

.edit-warehome:hover {
  background-color: var(--color-btn-one);
  color: var(--color-box-one);
}

.box-form-add-warehose .box-top-form {
  padding: 20px 20px 5px 20px;
}

.box-form-add-warehose .content-form {
  padding: 5px 20px 20px 20px;
}

.text-werehome {
  margin-top: 20px;
}

.text-werehome p {
  margin-bottom: 0px;
}

.item-show-info {
  padding: 15px;
  border-radius: 5px;
}

#formEditInfoUser input {
  min-width: 200px;
}

#formEditInfoUser label,
#formResetPass label {
  min-width: 170px;
}

.box-form-resset {
  display: none;
}

.box-form-reset-pass {
  flex-grow: 1;
}

.box-reset-pass {
  border-radius: 10px;
  border: 1px dashed #bfbfbf;
  position: relative;
  margin-top: 30px;
  padding: 20px 15px 8px;
}

.box-text-reset-pass p {
  color: var(--color-text-four);
}

.item-reset-pass span {
  font-size: var(--font-size-note);
}

.box-table-entry-product {
  background-color: var(--color-header-table-one) !important;
}

.max-content-width {
  width: max-content;
}
.box-table-entry-product .item-table-entry-product,
.box-table-entry-product .item-table-supplier {
  font-weight: 500;
  padding: 2px 0px;
  font-size: 0.9em;
}

.item-table-entry-product {
  color: var(--color-box-two);
  /* font-size: 0.9em; gốc */
  font-size: 0.8em; /*Tuấn điều chỉnh*/
  font-weight: 400;
  width: 12%;
  min-width: 170px;
  margin: 5px 3px;
  padding: 2px 0px;
}
.item-table-entry-product-sm {
  color: var(--color-box-two);
  /* font-size: 0.9em; gốc */
  font-size: 0.8em; /*Tuấn điều chỉnh*/
  font-weight: 400;
  width: 8%;
  min-width: 120px;
  margin: 5px 3px;
  padding: 2px 0px;
}

.item-entry-product,
.box-table-entry-product {
  /* padding: 0px 15px; */
  padding: 0px 5px; /*Tuấn ghi đè*/
}

.item-table-supplier {
  color: var(--color-box-two);
  font-size: 18px;
  font-weight: 400;
  margin: 10px 0px;
  width: 125px;
  font-size: 13px;
}

.box-off-info-entry-product,
.box-off-info-entry-product-unfinished {
  display: none;
}

.table-entry-product {
  /* max-height: 60vh; */
  max-height: 80vh;
  /* min-height: 20vh; */
  min-height: 10vh;
}

.item-entry-product {
  width: fit-content;
  min-width: 100%;
}

.item-entry-product:nth-of-type(even) {
  background-color: rgb(145 143 143 / 5%);
}

.box-off-info-entry-product .item-table-entry-product {
  min-width: 190px;
}

.box-return-goods .table-striped tbody tr:nth-of-type(odd) {
  background-color: #00000000;
}

.box-return-goods .table td,
.box-return-goods .table th {
  border: 0px;
}

.box-return-goods table {
  margin-bottom: 0px;
}

.box-return-goods .minus-amount-btn,
.box-return-goods .plus-amount-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-left: 0px;
  margin-right: 0px;
}

.box-return-goods .minus-amount-btn:hover,
.box-return-goods .plus-amount-btn:hover {
  background-color: var(--color-box-three);
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.box-return-goods .minus-amount-btn svg,
.box-return-goods .plus-amount-btn svg {
  font-size: 10px;
  vertical-align: inherit;
  margin-bottom: 1px;
}

.box-return-goods .amount-add-cart {
  border: 0px;
  border-bottom: 1px solid var(--color-border);
  border-radius: 5px;
  margin-top: -10px;
}

.box-return-goods .amount-add-cart {
  height: 22px;
}

.box-return-goods select {
  border: 0px;
  background-color: #00000000;
}

.sub-number {
  font-size: 12px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-block;
  line-height: 8px;
  text-align: center;
}

.table-return-goods label {
  font-size: 15px;
  font-weight: 300;
  width: 150px;
}

.table-return-goods select {
  width: 100%;
  padding: 5px 5px;
}

.table-return-goods .form-control:disabled,
.table-return-goods .form-control[readonly] {
  background-color: #e9ecef00;
  opacity: 1;
}

.table-return-goods textarea {
  padding: 10px;
}

/* Reponsive Content Page */

@media only screen and (max-width: 850px) {
  #formEditInfoUser label,
  #formResetPass label {
    min-width: 20%;
  }

  .box-table-entry-product {
    background-color: var(--color-box-one);
  }
}

/* END CSS HOME PAGE */

/* CSS CUSTOMER PAGE */
.box-input-seach {
  position: relative;
  margin-left: 5px;
}
.box-input-with-clear {
  position: relative;
  /* margin-left: 5px; */
}

.box-input-seach input,
.box-input-with-clear input {
  padding-right: 25px;
}

.btn-icon-seach,
.btn-icon-seach:focus {
  border: 0px !important;
  background-color: transparent !important;
  outline: 0px;
  position: absolute;
  top: 15%;
  right: 0px;
  color: #757575;
}

.btn-icon-clear,
.btn-icon-clear:focus {
  border: 0px !important;
  background-color: transparent !important;
  outline: 0px;
  position: absolute;
  top: 55%;
  right: 7px;
  color: #757575;
}
.btn-icon-clear-seri,
.btn-icon-clear-seri:focus {
  border: 0px !important;
  background-color: transparent !important;
  outline: 0px;
  position: absolute;
  top: 20%;
  right: 0px;
  color: #757575;
}
/* CSS STATISTIC PAGE */
.box-icon-statistic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-text-one);
  font-size: 22px;
}

.box-content-statistic p {
  margin-bottom: 0px;
}

.top-statics-content {
  font-weight: 600;
}

.center-statics-content {
  font-size: 35px;
}

/* END CSS CUSTOMER PAGE */

/* STAR CSS STATISTIC PAGE */
#chartOne {
  max-width: 100%;
  margin: 10px auto;
}

.box-top-product-month h5,
.box-top-product-month p {
  margin-bottom: 0px;
}

.box-top-product-month select,
.box-statistic-revenue select {
  outline: 0px;
  border: 0px;
  color: var(--color-title-two);
  font-weight: 600;
}

.box-top-product-month .box-left select {
  text-transform: uppercase;
}

/* END CSS STATISTIC PAGE */

/* STAR CSS WARRANTY PAGE */
.wiget-date-option {
  position: relative;
}

.box-option-date {
  display: none;
}

.option-date-content {
  position: absolute;
  left: 105%;
  top: -90px;
  width: 700px;
  z-index: 5;
  gap: 15px;
  padding: 15px;
  justify-content: space-between;
}

.option-date-content-header {
  position: absolute;
  width: 200px;
  padding: 15px;
  margin-top: 10px;
  max-height: 300px;
  overflow-y: scroll;
  z-index: 99;
}

.item-option-date {
  color: #00a6ff;
  cursor: pointer;
}

.box-custom-view {
  position: relative;
}

.content-custom-view {
  display: none;
  padding: 10px;
  position: absolute;
  top: 50px;
  right: 0px;
  min-width: 450px;
  z-index: 5;
}

.content-custom-view .form-check {
  margin: 10px 0px;
}

.content-custom-view .form-check-label {
  font-size: 15px;
  font-weight: 500;
}

.box-warranty-table .item-table-supplier {
  width: 100px;
}

/* END CSS WARRANTY PAGE */

/* STAR CSS FOOTER */
.box-footer {
  width: 100%;
  height: 50px;
  position: fixed;
  bottom: 0px;
  z-index: 92;
  right: 0px;
}

.box-copyright {
  padding-left: 15px;
}

/* END CSS FOOTER */

.hiddenRow {
  padding: 0 !important;
}
.hover-popup-menu {
  background: var(--color-btn-one) !important;
  border: 2px solid var(--color-btn-one) !important;
}
.hover-popup-menu:hover {
  background: var(--color-hover-btn) !important;
  border: 2px solid var(--color-hover-btn) !important;
}
.hover-popup-menu-item:hover {
  background: var(--color-btn-one) !important;
  color: var(--color-text-one) !important;
}
.hover-popup-menu-item {
  color: var(--color-box-two) !important;
}
/* hover left menu */
/* .hover-left-menu-item:hover {
  background: var(--color-btn-one);
}
.hover-left-menu-item > a:hover {
  color: #ffffff;
} */

.no-wrap-text {
  text-wrap: nowrap;
}

/* css item home */
.item-home-one {
  padding: 1rem;
  background-color: #fff3d1;
  border-radius: 8px;
}
.d-grid {
  display: grid;
}
.j-s-right {
  justify-self: right;
}

/* overflow-x: scroll;*/
.table-scroll {
  overflow-y: scroll !important;
  overflow: hidden;
}
.popup-scroll {
  overflow-y: scroll !important;
  overflow: hidden;
  overflow-x: auto;
}
.seri-input {
  width: 100% !important;
  max-width: 100% !important;
  background-color: antiquewhite;
  display: block;
}

.mt-1px {
  margin-top: 1px;
}

.lable-form-detail {
  width: auto !important;
  text-wrap: nowrap;
}

/* quét seri */
.border-l {
  border-left: 1px solid #dddddd;
}
.text-one {
  color: var(--color-text-one);
}

.box-seri {
  background-color: var(--color-box-one) !important;
}
/* sửa lại thẻ th td */

th,
td {
  padding: 5px 2px 5px 2px !important;
}

/* ===css nhúng vào thư viện quest seri=== */
.video_chup_seri {
  max-width: 576px !important;
}
.video_chup_seri > div > video {
  width: 100% !important;
}
/* nhúng bên chụp ảnh */
.video_chup_seri > div > div > div > div > span > select {
  width: 100%;
  text-align: center;
}
.disable-scroll {
  overflow: visible;
}

/* css loading */
.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #2196f3;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.text-lable {
  text-align: right;
}

.drop-zone {
  border: 2px dashed #007bff;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  margin-top: 10px;
}
.drop-zone.dragover {
  background-color: #f0f8ff;
}
