@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url(/fonts/Inter-Regular.woff?82b33bba13f72a5a5a3759c2802f730b) format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  src: url(/fonts/Inter-Medium.woff?f4d11c8a0b8ff301493a1a28f6e387ff) format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  src: url(/fonts/Inter-SemiBold.woff?b1cdc42ce8d7738cc897ae9483cd5227) format("woff");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url(/fonts/Inter-Bold.woff?722ddb3a25fb7667124d97756800ee74) format("woff");
}
body {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  position: relative;
  -webkit-font-smoothing: antialiased;
  font-size: 0.875rem;
  color: #000;
  overflow-x: hidden;
  background: #f3f3f3;
}
body a {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  transition: 0.1s ease-in-out;
}
body a:hover {
  text-decoration: none;
  color: #000;
}

.fs-13px {
  font-size: 0.8125rem;
}

.container {
  padding: 0;
}

#app {
  min-height: 100vh;
}

.app-head {
  border-bottom: 1px solid #F0F0F0;
}
.app-head .img-user {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.app-head .app-head-wrap {
  height: 40px;
  width: 1px;
  background: #F0F0F0;
}
.app-head .app-search .form-control {
  border-radius: 8px;
  border: 1px solid #F5F5F5;
  background: #F5F5F5;
  height: 40px;
  box-shadow: 0px 0px 6px 0px rgba(252, 193, 51, 0);
  padding: 15px 65px 15px 15px;
  width: 25vw;
  font-size: inherit;
}
.app-head .app-search .form-control::-moz-placeholder {
  color: #8C8C8C;
}
.app-head .app-search .form-control::placeholder {
  color: #8C8C8C;
}
.app-head .app-search .form-control:focus {
  border-color: rgb(252, 193, 51);
  box-shadow: 0px 0px 6px 0px rgba(252, 193, 51, 0.6);
}
.app-head .app-search button {
  width: 50px;
  height: 40px;
}
.app-head .cart-hover .cart-list {
  display: none;
  z-index: 2;
  left: -1rem;
  top: 100%;
}
.app-head .cart-hover .cart-list::before {
  content: "";
  position: absolute;
  left: calc(2rem - 5px);
  top: calc(1rem - 10px);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  filter: drop-shadow(0px -6px 6px rgba(0, 0, 0, 0.16));
}
.app-head .cart-hover .cart-list-main {
  border-radius: 16px;
  background: #FFF;
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.16);
  width: 310px;
}
.app-head .cart-hover .cart-list-main a {
  height: 40px;
  border-radius: 8px;
  background: #FCC133;
}
.app-head .cart-hover .cart-list-main a:hover {
  background: #000;
  color: #FCC133;
}
.app-head .cart-hover hr {
  color: #F0F0F0;
  opacity: 1;
}
.app-head .cart-hover .name-cart-item {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.app-head .cart-hover:hover .cart-list {
  display: block;
}

.app-bar-menu a {
  margin-bottom: 16px;
  height: 44px;
  border-radius: 8px;
  padding: 10px;
}
.app-bar-menu a:last-child {
  margin-bottom: 0;
}
.app-bar-menu a:hover, .app-bar-menu a.active {
  background: #FCC133;
}
.app-bar-menu .btn-logout {
  bottom: 1.5rem;
  left: 1.5rem;
  width: calc(16.66666667% - 3rem);
}

.pagination .page-item .page-link {
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 500;
}
.pagination .page-item.active .page-link {
  border-color: #FCC133;
  background: #FCC133;
}

.table-content thead {
  position: sticky;
  top: 85px; /* 👈 nếu topbar cao 60px, chỉnh số này cho khớp */
  background: #fff;
  z-index: 5; /* cao hơn nội dung bên dưới */
  box-shadow: 0 4px 4px rgba(0,0,0,0.05);
}
.table-content th {
  vertical-align: middle;
  background: #9FCFFB;
  text-align: center;
}
.table-content th:nth-child(1), .table-content th:nth-child(2), .table-content th:nth-child(3) {
  text-align: left;
}
.table-content th:nth-child(1) {
  border-radius: 8px 0 0 0;
}
.table-content th:last-child {
  border-radius: 0 8px 0 0;
}
.table-content td {
  vertical-align: middle;
  text-align: center;
}
.table-content td:nth-child(1), .table-content td:nth-child(2), .table-content td:nth-child(3) {
  text-align: left;
}

.table-content tbody tr:nth-child(odd) {
  background-color: #ffffff; /* trắng */
}

.table-content tbody tr:nth-child(even) {
  background-color: #f8f3ed; /* nâu nhạt */
}




.table-content .form-control {
  border-radius: 8px;
  border: 1px solid #D9D9D9;
  width: 80px;
  height: 34px;
  text-align: center;
  box-shadow: 0px 0px 6px 0px rgba(252, 193, 51, 0);
}
.table-content .form-control:focus {
  border-color: rgb(252, 193, 51);
  box-shadow: 0px 0px 6px 0px rgba(252, 193, 51, 0.6);
}
.table-content .form-check-input {
  box-shadow: none;
  width: 20px;
  height: 20px;
  border-color: #000;
  cursor: pointer;
  background-color: transparent;
}
.table-content .form-check-input:checked {
  background-color: #FCC133;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}
.table-content .btn-table {
  border-radius: 8px;
  background: #FCC133;
  width: 32px;
  height: 32px;
  margin: auto;
}
.table-content .btn-table svg path {
  transition: 0.1s ease-in-out;
}
.table-content .btn-table:hover {
  background: #000;
}
.table-content .btn-table:hover svg path {
  stroke: #FCC133;
}

.modal-delete .modal-body {
  color: #8C8C8C;
  border-radius: 1.5rem 1.5rem 0 0;
}
.modal-delete .modal-footer {
  background: #f3f3f3;
  border-radius: 0 0 1.5rem 1.5rem;
  gap: 1rem;
  flex-wrap: nowrap;
}
.modal-delete .modal-footer .btn {
  height: 40px;
  border-radius: 8px;
  width: calc((100% - 1rem) / 2);
}
.modal-delete .modal-footer .btn-close-modal {
  color: #8C8C8C;
  background: #f3f3f3;
}
.modal-delete .modal-footer .btn-close-modal:hover {
  background: #FCC133;
  color: #000;
}
.modal-delete .modal-footer .btn-delete {
  background: #E81B2B;
  color: #fff;
}
.modal-delete .modal-footer .btn-delete:hover {
  background: #000;
  color: #FCC133;
}
