/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
}
.allow-wrap{
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
}
/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 231px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}
.alertHeader{
  position: fixed;
  top: 92px;
  right: 25px;
}
.red{
  color: red;
}
.testgit{
  background-color: blue;
}
.typeProductImages{
  display: flex;
  margin-top: 15px;
  background: #f7f7f7;
  padding: 10px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
}
.typeProductImages .items>label img{
  height: 100px;
  margin-right: 25px;
  cursor: pointer;
}
.typeProductImages .items>img{
  border-radius: 9px;
  max-height: 110px;
}

.listOrder{
  background: #ff00000a;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 5px;
}
.listOrder .baseInfo{
  margin-bottom: 10px;
  font-size: 18px;
}
.listOrder .baseInfo span.t{
  margin-left: 10px;
  font-weight: bold;
  font-size: 17px;
}
.listOrder .detailsInfo span{
  background: #3b5998;
  padding: 5px 10px;
  display: inline-block;
  border-radius: 5px;
  color: #fff;
  margin-right: 5px;
  margin: 5px;
}

.infoPerson{
  background: #0077b50a;
  padding: 20px;
}
.listProductOrder{
  background: #566a7f0a;
  padding: 20px;
  margin-top: 20px;
  border-radius: 5px;
}
.typeProduct{
  display: flex;
  gap: 5px;
  background: #03c3ec1a;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  align-items: center;
}
.typeProduct p{
  margin-bottom: 0;
}
.attibuteBox {
  gap: 8px;
  display: flex;
  margin: 10px 0 0;
}

.attibuteBox span.attItem{
  background: #dd4b39;
  padding: 5px 10px;
  border-radius: 5px;
  color: #fff;
}
.listStore{
  border: 1px dashed #b7b7b79e;
  padding: 5px;
  gap: 10px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  display: grid;
  margin-top: 10px;
}

.listStore .storeItems{
  background: #fff;
    padding: 10px;
    border-radius: 5px;
}
.listStore .storeItems p{
  margin-bottom: 0;
}
table.orderTable {
  padding: 0;
}
table.orderTable tr{
  padding: 0;
}
table.orderTable tr td, table.orderTable tr th{
  padding: 5px;
}
.totalPriceOrder{
  text-align: right;
}

.totalPriceOrder p{
  margin-bottom: 0;
}
.grid {
  display: grid;
}
.grid-1{
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-5{
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.flex{
  display: flex;
}
.text-right{
  text-align: right;
}
.w-10{
  width: 10%;
}
.w-20{
  width: 20%;
}
.w-30{
  width: 30%;
}
.w-40{
  width: 40%;
}
.w-50{
  width: 50%;
}
.w-60{
  width: 60%;
}
.w-70{
  width: 70%;
}
.w-80{
  width: 80%;
}
.w-90{
  width: 90%;
}
.w-100{
  width: 100%;
}
.inline-block{
  display: inline-block;
}
.search-form {
  display: flex; /* Cho phép sử dụng flexbox */
  justify-content: flex-end; /* Căn chỉnh ra bên phải nếu cần */
}

.input-group {
  position: relative; /* Để định vị icon */
}

.search-input {
  padding: 5px 30px 5px 10px; /* Padding bên phải đủ để tạo khoảng trống cho icon */
  border: 1px solid #ccc; 
  width: 400px; /* Điều chỉnh chiều rộng nếu cần */
  color: #646060;
}

.search-button {
  position: absolute; /* Định vị icon */
  right: 5px; /* Căn lề bên phải cho icon */
  top: 50%; /* Đưa icon vào giữa thẻ input */
  transform: translateY(-50%); /* Canh giữa theo chiều dọc */
  background: transparent; /* Không có nền cho nút */
  border: none; /* Không có viền cho nút */
  cursor: pointer; /* Con trỏ khi hover */
  color: #007bff; /* Màu của icon */
}

.search-button i {
  font-size: 18px; /* Kích thước icon */
}
.editPage{
  color: #007bff;
  font-size: 13px;
}
.items-center{
  align-items: center;
}
.boxQuantityType {
  display: flex;
  gap: 1px;
}

.boxQuantityType > div {
  border: 1px solid #ccc;
  border-radius: 8px;
}

.boxQuantityType p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #333;
}

.boxQuantityForm {
  display: flex;
  align-items: center;
  gap: 5px;
}

.boxQuantityInput {
  flex-shrink: 0;
}

.boxQuantityInput input {
  width: 60px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.boxQuantityButton {
  display: flex;
  gap: 1px;
}

.boxQuantityButton button {
  padding: 5px 10px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.boxQuantityButton .btn-increase {
  background-color: #4caf50;
  color: #fff;
}

.boxQuantityButton .btn-decrease {
  background-color: #f44336;
  color: #fff;
}

.boxQuantityButton button:hover {
  opacity: 0.8;
}

.boxQuantity{
  position: relative;
  padding: 25px 5px 5px 5px;
  margin-top: 17px;
}
.boxQuantity p.storeName{

}
.boxQuantity p.quantityNumber{
  position: absolute;
  top: -20%;
  width: 100%;
  text-align: center;
  left: 0;
  background: #fff;
}
.boxQuantity p.quantityNumber span.currentQuantity{
  background: #d94d15;
  font-size: 20px;
  border-radius: 5px;
}
.stockQuantity{
  font-size: 15px !important;
    padding: 2px 10px !important;
    text-transform: uppercase;
    background: #0077b5 !important;
    border-radius: 5px;
}
.empty{
  background: #cdcdcd !important;
}
.infoCartQuantity{
  display: flex;
    gap: 16px;
    align-items: baseline;
}
.hoMenu{
  position: fixed;
  background: #ff8504;
  border-radius: 50%;
  height: 25px;
  width: 25px;
  top: 30px;
}
.hoMenu i{
  font-size: 26px;
  color: #fff;
}
.addMoreItem{
  border: 1px dashed #c7c7c7;
  border-radius: 5px;
  width: 100%;
  display: flex;
  margin: 5px 0;
  padding: 5px;
  text-align: center;
  text-transform: uppercase;
  background: #f3f3f3;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  justify-content: center;
}
.itemLeft{
  border: 1px dashed #349bdf59;
  border-radius: 5px;
  margin-bottom: 20px;
  padding: 10px;
}
.boxAddmoreItem{

}
.boxAddmoreItem input{
  
}
.boxAddmoreItem span{
  background: #349bdf;
    color: #fff;
    padding: 2px 10px;
    display: block;
    text-align: center;
    margin-top: 10px;
    border-radius: 3px;
    cursor: pointer;
}
.imageProduct {
  border: 1px dotted #b9b9b9;
  padding: 10px;
  margin-bottom: 15px;
  margin-top: 25px;
  border-radius: 5px;
  background: #f9f9f9;
}

.customePagination{
  display: flex;
      gap: 10px;
}
.customePagination button{
  border: 1px solid #bdbdbd;
  padding: 5px 20px;
  font-size: 16px;
  font-weight: bold;
  background: #f1f1f1;
}
.customePagination button.active{
  background: #dd4b39;
    color: #fff;
}

.configFilter table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.configFilter th, .configFilter td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.configFilter th {
  background-color: #f4f4f4;
}

.configFilter  .value-item {
  display: flex;
  margin-bottom: 5px;
}

.configFilter  .value-input {
  padding: 5px;
  height: 35px;
}

.configFilter .delete-key, .configFilter .delete-value, .configFilter .add-value {
  cursor: pointer;
  border: none;
  padding: 5px;
  margin-left: 5px;
}

.configFilter .delete-key {
  background-color: red;
  color: white;
  border-radius: 5px;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
}

.configFilter .delete-value {
  background-color: #eb6d07;
  color: white;
  height: 35px;
  width: 35px;
  border-radius: 5px;

}
.configFilter{
  padding: 25px;
}
.updateFilter{
  background: #087c89;
    border: 1px solid #9d9a9a;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 25px;
}