/* Product Types in Roles Module Styles */

#roles-module #productTypesTableBody td {
  vertical-align: middle;
  border-top: 1px solid #dee2e6;
  padding: 12px 8px;
}

#roles-module #productTypesTableBody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

#roles-module .table-striped #productTypesTableBody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.01);
}

#roles-module .table-striped #productTypesTableBody tr:nth-of-type(even) {
  background-color: rgba(0, 0, 0, 0.03);
}

#roles-module .table-striped #productTypesTableBody tr:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

#roles-module #productTypesSearch {
  border: none;
  border-radius: 50px 0 0 50px;
  padding-left: 15px;
}

#roles-module #productTypesSearch:focus {
  border: none;
  box-shadow: none;
}

#roles-module .search-bar #productTypesSearch {
  border: none;
  border-radius: 50px 0 0 50px;
  padding-left: 15px;
}

#roles-module #productTypesTableBody .action-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
}

#roles-module #productTypesTableBody .action-buttons i {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
}

#roles-module #productTypesTableBody .action-buttons i.bi-pencil {
  background-color: #17a2b8;
  color: white;
}

#roles-module #productTypesTableBody .action-buttons i.bi-pencil:hover {
  background-color: #138496;
  transform: translateY(-2px);
}

#roles-module #productTypesTableBody .action-buttons i.bi-trash {
  background-color: #dc3545;
  color: white;
}

#roles-module #productTypesTableBody .action-buttons i.bi-trash:hover {
  background-color: #c82333;
  transform: translateY(-2px);
}

/* Responsive adjustments for product types in roles module */
@media (max-width: 768px) {
  #roles-module #productTypesTableBody td {
    padding: 8px 4px;
    font-size: 0.875rem;
  }
  
  #roles-module #productTypesTableBody .action-buttons i {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  #roles-module #productTypesSearch {
    padding-left: 10px;
    font-size: 0.875rem;
  }
}

@media (max-width: 576px) {
  #roles-module #productTypesTableBody .action-buttons {
    gap: 4px;
  }
  
  #roles-module #productTypesTableBody .action-buttons i {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}