.text-underline-hover {
  text-decoration: none;
  cursor: pointer;
}

.text-underline-hover:hover {
  text-decoration: underline;
}
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.line-clamp-5 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}
.whitespace-pre-line {
  white-space: pre-line;
}
.readonly{
  background-color: #f6f6f6;
}
#listData .table-responsive{
  min-height: 77vh;
}

@media screen and (max-width: 1023px) {
  h6.product-category-title {
    font-size: 12px;
    line-height: 20px;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1199px) {
  h6.product-category-title {
    font-size: 14px;
    line-height: 20px;
  }
}
.card { border-radius: 12px; }
.refresh-btn {
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
}
.refresh-btn:hover {
    transform: rotate(360deg);
    color: #007bff;
}
.loading { animation: spin 1s infinite linear; }
@keyframes spin { 100% { transform: rotate(360deg); } }
th.sortable { cursor: pointer; }
th.sortable .bi {
    margin-left: 5px;
    font-size: 0.8rem;
}
td button { white-space: nowrap; }
#loader-black {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(3px);
}

#loader-black img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  animation: pulse 1.5s ease-in-out infinite;
}

.progress-bar-rounded { 
  background-color: #28a745;
  height: 12px;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0,0,0,0.15);
}
.progress-bg {
  background-color: #e9ecef;
  border-radius: 6px;
}