/* Inventory Items Table Styles */

.inventory-table td {
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  vertical-align: top;
}

.inventory-table .item-name {
  max-width: 300px;
  word-wrap: break-word;
  white-space: normal;
}

.inventory-table .item-description {
  max-width: 400px;
  word-wrap: break-word;
  white-space: normal;
}

/* Fix action buttons styling for Bootstrap 4 */

.inventory-table .btn-group {
  display: flex;
  align-items: center;
}

.inventory-table .btn-group .btn {
  margin: 0 2px;
}

.inventory-table .dropdown-menu {
  min-width: 200px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.inventory-table .dropdown-item {
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.inventory-table .dropdown-item:hover {
  background-color: #f8f9fa;
}

.inventory-table .dropdown-item i {
  margin-right: 0.5rem;
  width: 16px;
  text-align: center;
}

.inventory-table .dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

/* Improve department badge contrast */

.inventory-table .badge {
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
}

.inventory-table .badge.bg-primary {
  background-color: #0d6efd !important;
  color: #ffffff !important;
}

.inventory-table .item-name a {
  transition: color 0.2s ease;
}

.inventory-table .item-name a:hover {
  color: #0056b3 !important;
  text-decoration: underline !important;
}

/* Actions Table Styles */

.actions-table .btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
}

.actions-table .btn-group .btn {
  margin: 0 2px;
}

.actions-table .dropdown-menu {
  min-width: 180px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.actions-table .dropdown-item {
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.actions-table .dropdown-item:hover {
  background-color: #f8f9fa;
}

.actions-table .dropdown-item i {
  margin-right: 0.5rem;
  width: 16px;
  text-align: center;
}

.actions-table .dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

.actions-table .badge {
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
}

.actions-table .badge.bg-info {
  background-color: #17a2b8 !important;
  color: #ffffff !important;
}

/* Inventory Detail Page Styles */

.alu-link {
  transition: all 0.2s ease;
  cursor: pointer;
}

.alu-link:hover {
  background-color: #e9ecef !important;
  color: #0056b3 !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.alu-link:active {
  transform: translateY(0);
}

.inventory-detail .form-label {
  color: #6c757d !important;
  /* Lighter gray for labels */
  font-weight: 600 !important;
  /* Medium weight */
  font-size: 0.875rem !important;
  /* Slightly smaller */
  text-transform: uppercase !important;
  /* Uppercase for distinction */
  letter-spacing: 0.5px !important;
  /* Letter spacing for clarity */
  margin-bottom: 0.25rem !important;
  /* Tighter spacing */
}

.inventory-detail .form-control-plaintext {
  color: #212529 !important;
  /* Darker for values */
  font-weight: 400 !important;
  /* Normal weight */
  font-size: 1rem !important;
  /* Standard size */
  margin-top: 0 !important;
  /* Remove top margin */
}

.inventory-detail .badge {
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  padding: 0.375rem 0.75rem !important;
}

.inventory-detail .badge.bg-primary {
  background-color: #0d6efd !important;
  color: #ffffff !important;
}

