#storage-equipment-notification{
  margin:10px;
  height:80px;
}
#storage-equipment-notification .title{
  font-weight: bold;
  color: var(--s-tabs-text);
}
#storage-equipment-notification .content{
  font-size: 12px;
}
#storage-equipment-location-list{
  min-width: 600px;
  width:fit-content;
  height:630px;
  overflow-y: auto;
  padding:15px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--s-input-border);
}
#storage-equipment-location-list .storage-location{
  display: flex;
  justify-content: start;
  align-items: center;
  width:90%;
  min-height:50px;
  gap: 10px;
  border: 1px solid var(--s-input-border);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 5px;
  flex-wrap: wrap;
}
#storage-equipment-location-list .storage-location .storageLocationIndex{
  width:40px;
  height:100%;
  background-color: #ff8000;
  color:#ffffff;
  text-align: center;
  line-height: 50px;
  flex: 0 0 40px;

}
#storage-equipment-location-list .storage-location .content{
  flex: 1 1 0;
  min-width:150px;
}
#storage-equipment-location-list .storage-location .name{
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#storage-equipment-location-list .storage-location .uuid{
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#storage-equipment-location-list .storage-location .actions {
  display: flex;
  gap: 8px;
  /*opacity: 0;*/
  /*transition: all 0.2s ease;*/
  width: 150px;
  flex: 0 0 150px;
  height:50px;
}

#storage-equipment-location-list .storage-location:hover .actions {
  opacity: 1;
}

#storage-equipment-location-list .storage-location .action-btn {
  padding: 6px 8px;

  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
}

#storage-equipment-library{
  height:85vh;
  overflow-y: auto;
  width:300px;
  border:1px solid var(--s-input-border);
  margin-top: 20px;
  display:none;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  flex-shrink: 0;

}
#stock-transfer-order-library{
  height:85vh;
  overflow-y: auto;
  width:400px;
  border:1px solid var(--s-input-border);
  margin-top: 20px;
  display:none;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  flex-shrink: 0;

}
#DivContent{
  border:1px solid var(--s-input-border)
}


#storage-equipment-library h3,#stock-transfer-order-library h3 {
  padding: 15px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  background: var(--s-scroll-thumb);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width:100%
}

.model-list {
  flex:1 ;
  overflow-y: auto;
  padding: 10px;
  width:100%
}

.model-item {
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 8px;
  background: var(--s-column-header-border);
  border-radius: 8px;
  cursor: grab;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  width:100%
}

.model-item:hover {
  background: var(--s-column-header-border);
  transform: translateX(5px);
}

.model-item:active {
  cursor: grabbing;
}

.model-item.dragging {
  opacity: 0.5;
  transform: scale(0.9);
}
.model-image{
  width: 40px;
  height: 40px;
  /*background: linear-gradient(45deg, #ff6b6b, #4ecdc4);*/
  border-radius: 6px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;

}
.model-image img{
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.model-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 6px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.model-name {
  font-size: 12px;
  font-weight: 500;
}

#layout-header{
  width:100%;
  height:60px;
  display:flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 10px;
}
.layout-header-item{
  width:200px;
  height:60px;
  display:flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap:10px;
  background-color: var(--s-card-bg);
  color: var(--bs-body-color);
  font-family: Google Sans, Roboto, Arial, sans-serif;
  border: 1px solid var(--s-input-border);
  cursor: pointer;
}
.layout-header-item:hover {
  border: 2px solid var(--s-sidebar-icon-active);
  background-color: var(--bs-light);
  color: var(--s-sidebar-icon-active);
}
.layout-header-item-icon{
  width:50px;
  height:50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}
.layout-header-item-name{
  font-size: 12px;
  font-weight: bold;
}
#storage-location-detail{
  z-index: 10;
  position: absolute;
  left:0;
  top:0;
  width:300px;
  height:500px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  border:1px solid var(--s-input-border);
  background-color:var(--s-card-bg);

}
#storage-location-detail h3 {
  padding: 15px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  background: var(--s-scroll-thumb);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width:100%
}
#storage-location-detail-list{
  flex:1 ;
  overflow-y: auto;
  padding: 10px;
  width:100%;

  align-items: start;
}
#storage-location-detail .filter-container{
  width:95%;
  margin:5px auto;
  display: flex;
  justify-content: start;
  align-items: center;
  gap:10px;
}
#storage-location-detail .search-form-group .search-icon {
  position: absolute;
  z-index: 2;
  display: block;
  width: 2.375rem;
  height: 2.375rem;
  line-height: 2.375rem;
  text-align: center;
  pointer-events: none;
  color: #aaa;
}
#storage-location-detail .search-form-group{
  margin:0;
  width:250px
}
#storage-location-detail .search-form-group .search-input {
  padding-left: 2.375rem;
  width:100%
}
.storage-location-detail-item{
  width:95%;
  margin-bottom:8px;
  padding: 12px;
  cursor: pointer;
  background-color:  var(--s-column-header-border);
  border-radius: 8px;
  margin-left:auto;
  margin-right: auto;
}
.storage-location-detail-item-content{
  display: flex;
  justify-content: start;
  align-items: center;
  gap:15px;
}
.storage-location-detail-item-image{
  width:60px;
  height:60px;
  display:flex;
  justify-content: center;
  align-items: center;
  background-color: #384454;
  border-radius: 10px;
}
.storage-location-detail-item-image img{
  max-width: 100%;
  width:auto;
  max-height: 100%;
  height: auto;

}
.storage-location-detail-item-info{
  flex:1
}
.storage-location-detail-item-info .part-number{
  font-size: 14px;
  font-weight: bold;
}
#storage-location-detail .close-btn{
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 12px;
  font-weight: bold;
  outline: none !important;
  box-shadow: none !important;
}

.wms-tooltip {
  position: absolute;
  background: var(--s-input-bg);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #555;
  pointer-events: none;
  z-index: 100;
  min-width: 220px;
}

.wms-tooltip-content {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top:10px;
}

.wms-tooltip-image {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
  border: 2px solid #666;
  flex-shrink: 0;
}

.wms-tooltip-info {
  flex: 1;
}

.wms-tooltip-info h3 {
  margin: 0 0 6px 0;
  font-size: 14px;
  font-weight: bold;
}

.wms-tooltip-info p {
  margin: 3px 0;
  font-size: 11px;
}

.wms-tooltip-info .highlight {
  color: #4ecdc4;
  font-weight: bold;
}
.tooltip-close-btn {
  position: absolute;
  top: 5px;
  right: 8px;
  background: #ff6b6b;
  color: white;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.tooltip-close-btn:hover {
  background: #ff5252;
}
.three-css2d-renderer {
  pointer-events: auto !important; /* allow interaction inside */
}

.three-css2d-renderer > div {
  pointer-events: auto !important; /* ensure children can capture */
}
.countdown-circle {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 24px;   /* smaller */
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;   /* smaller text */
  font-weight: bold;
  color: #333;
}

.countdown-circle svg {
  position: absolute;
  transform: rotate(-90deg);
  width: 24px;
  height: 24px;
}

.countdown-circle circle {
  fill: none;
  stroke: #27dc3c;
  stroke-width: 2;   /* thinner */
  stroke-dasharray: 63; /* circumference for r=10 */
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.countdown-text {
  position: relative;
  z-index: 1;
}
.sto-item{
  width:98%;
  min-height: 150px;
  height: fit-content;
  display: flex;
  justify-content: start;
  align-items: center;
  border: 1px solid var(--s-input-border);
  background-color: var(--s-card-bg);
  padding:10px;
  border-radius: 8px;
  gap:15px;
  flex-wrap: wrap;
}
.sto-item-image{
  width:100px;
  height:100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sto-item-image img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit: contain;
}
.sto-item-content{
  flex:1;
}
.sto-label{
  font-weight: bold;
  color: #2980b9
}
.tooltip-category{
  font-size: 18px;
}