.warehouse-inventory-panel{
  display:grid;
  gap:18px;
}

.warehouse-inventory-toolbar{
  display:grid;
  grid-template-columns:minmax(210px,260px) minmax(260px,1fr) auto;
  gap:12px;
  align-items:end;
}

.warehouse-inventory-toolbar label{
  display:grid;
  gap:7px;
}

.warehouse-inventory-toolbar label > span{
  color:#9cb1bd;
  font-size:10px;
  font-weight:700;
  letter-spacing:.04em;
}

.warehouse-inventory-toolbar input,
.warehouse-inventory-toolbar select{
  width:100%;
  min-height:44px;
  border:1px solid #49667938;
  border-radius:11px;
  background:#050f17cc;
  color:var(--wq-p-text);
  padding:10px 12px;
  font:inherit;
  outline:none;
}

.warehouse-inventory-toolbar input:focus,
.warehouse-inventory-toolbar select:focus{
  border-color:#48d9c866;
  box-shadow:0 0 0 3px #48d9c80d;
}

.warehouse-inventory-toolbar button{
  min-height:44px;
  padding:10px 16px;
}

.warehouse-inventory-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.warehouse-inventory-summary article{
  min-height:122px;
  padding:15px 16px;
  border:1px solid #4966792b;
  border-radius:15px;
  background:linear-gradient(180deg,#091821dd,#061019c8);
  box-shadow:inset 0 1px 0 #ffffff04;
}

.warehouse-inventory-summary span,
.warehouse-inventory-summary small{
  display:block;
}

.warehouse-inventory-summary span{
  color:#8fa7b4;
  font-size:10px;
  font-weight:700;
  letter-spacing:.05em;
}

.warehouse-inventory-summary strong{
  display:block;
  margin-top:12px;
  color:#e3edf2;
  font-size:24px;
  line-height:1;
  font-weight:800;
}

.warehouse-inventory-summary small{
  margin-top:9px;
  color:#6f8794;
  font-size:9px;
}

.warehouse-inventory-message{
  padding:11px 13px;
  border:1px solid #4966792b;
  border-radius:12px;
  background:#07131db0;
  color:#9cb1bd;
  font-size:10px;
}

.warehouse-inventory-message[data-state="success"]{
  border-color:#48d9c844;
  color:#b9f2ea;
}

.warehouse-inventory-message[data-state="warning"],
.warehouse-inventory-message[data-state="loading"]{
  border-color:#f4c96644;
  color:#f2d99a;
}

.warehouse-inventory-message[data-state="error"]{
  border-color:#ff7c7c44;
  color:#ffc1c1;
}

.warehouse-inventory-table-wrap{
  overflow:auto;
  border:1px solid #4966792b;
  border-radius:15px;
  background:#050f17a8;
}

.warehouse-inventory-table{
  width:100%;
  min-width:1420px;
  border-collapse:collapse;
}

.warehouse-inventory-table th{
  padding:12px 13px;
  border-bottom:1px solid #4966792b;
  color:#7893a1;
  text-align:left;
  font-size:9px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
}

.warehouse-inventory-table td{
  padding:12px 13px;
  border-bottom:1px solid #4966791f;
  color:#b8c8d0;
  font-size:10px;
  vertical-align:middle;
}

.warehouse-inventory-table tbody tr:last-child td{
  border-bottom:0;
}

.warehouse-inventory-table td strong,
.warehouse-inventory-table td small{
  display:block;
}

.warehouse-inventory-table td strong{
  color:#dbe7ec;
  font-size:11px;
}

.warehouse-inventory-table td small{
  margin-top:3px;
  color:#728a97;
  font-size:9px;
}

.warehouse-inventory-quantity{
  color:#e0ecef;
  font-size:12px;
  font-weight:800;
}

.warehouse-inventory-status{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:5px 9px;
  border:1px solid #49667933;
  border-radius:999px;
  background:#ffffff04;
  color:#a9bbc4;
  white-space:nowrap;
}

.warehouse-inventory-utilization{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:135px;
}

.warehouse-inventory-utilization strong{
  min-width:44px;
  font-size:10px;
}

.warehouse-inventory-bar{
  flex:1;
  min-width:72px;
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:#142731;
}

.warehouse-inventory-bar i{
  display:block;
  height:100%;
  min-width:2px;
  border-radius:999px;
  background:#668894;
}

.warehouse-inventory-bar i.healthy{
  background:#48d9c8;
}

.warehouse-inventory-bar i.attention{
  background:#e8ba59;
}

.warehouse-inventory-bar i.critical{
  background:#ef7777;
}

.warehouse-inventory-empty{
  padding:34px 18px;
  text-align:center;
  color:#6f8794;
  font-size:10px;
}

.warehouse-inventory-foot{
  color:#6f8794;
  font-size:9px;
  text-align:right;
}

@media(max-width:900px){
  .warehouse-inventory-toolbar{
    grid-template-columns:1fr 1fr;
  }

  .warehouse-inventory-toolbar button{
    grid-column:1/-1;
    width:100%;
  }

  .warehouse-inventory-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){
  .warehouse-inventory-toolbar{
    grid-template-columns:1fr;
  }

  .warehouse-inventory-toolbar button{
    grid-column:auto;
  }

  .warehouse-inventory-summary{
    grid-template-columns:1fr;
  }

  .warehouse-inventory-summary strong{
    font-size:22px;
  }
}


.warehouse-inventory-stock-state{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:5px 9px;
  border:1px solid #49667933;
  border-radius:999px;
  background:#ffffff04;
  color:#a9bbc4;
  white-space:nowrap;
}

.warehouse-inventory-stock-state.has-stock{
  border-color:#3ecf8e55;
  background:#3ecf8e12;
  color:#76e0ae;
}

.warehouse-inventory-stock-state.is-empty{
  border-color:#49667933;
  background:#ffffff04;
  color:#8ea3ad;
}


.warehouse-inventory-product,
.warehouse-inventory-sku,
.warehouse-inventory-barcode,
.warehouse-inventory-location,
.warehouse-inventory-lot,
.warehouse-inventory-movement{
  min-width:0;
}

.warehouse-inventory-product strong,
.warehouse-inventory-sku strong,
.warehouse-inventory-barcode strong,
.warehouse-inventory-location strong,
.warehouse-inventory-lot strong,
.warehouse-inventory-movement strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.warehouse-inventory-product small,
.warehouse-inventory-sku small,
.warehouse-inventory-barcode small,
.warehouse-inventory-location small,
.warehouse-inventory-lot small,
.warehouse-inventory-movement small{
  display:block;
  margin-top:3px;
  color:#728a97;
  font-size:9px;
  white-space:nowrap;
}

.warehouse-inventory-product{
  min-width:150px;
  max-width:235px;
}

.warehouse-inventory-sku{
  min-width:105px;
  max-width:175px;
}

.warehouse-inventory-barcode{
  min-width:120px;
  max-width:185px;
}

.warehouse-inventory-location{
  min-width:145px;
  max-width:210px;
}

.warehouse-inventory-unit{
  color:#9db2bc;
  font-size:10px;
  font-weight:700;
  white-space:nowrap;
}

.warehouse-inventory-lot{
  min-width:110px;
  max-width:165px;
}

.warehouse-inventory-lot strong{
  color:#c9d9df;
  font-size:10px;
}

.warehouse-inventory-movement{
  min-width:130px;
  max-width:180px;
}

.warehouse-inventory-movement strong{
  font-size:10px;
}

.warehouse-inventory-table td:nth-child(5){
  text-align:right;
}

.warehouse-inventory-table td:nth-child(8),
.warehouse-inventory-table td:nth-child(9){
  text-align:right;
}
